Ansible job definitions for Zuul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yaml 581B

123456789101112131415161718192021
  1. - name: Install required gems
  2. gem:
  3. name: "{{ item }}"
  4. with_items:
  5. - rake
  6. - puppetlabs_spec_helper
  7. - puppet-blacksmith
  8. - name: Install new Rakefile
  9. copy:
  10. content: "require 'puppet_blacksmith/rake_tasks'"
  11. dest: "{{ puppet_module_dir }}/Rakefile"
  12. - name: Publish puppet module
  13. command: "rake module:push"
  14. args:
  15. chdir: "{{ puppet_module_dir }}"
  16. environment:
  17. BLACKSMITH_FORGE_URL: "{{ blacksmith_forge_url }}"
  18. BLACKSMITH_FORGE_USERNAME: "{{ blacksmith_forge_username }}"
  19. BLACKSMITH_FORGE_PASSWORD: "{{ blacksmith_forge_password }}"