Skip to content

Commit

Permalink
Try copying file remotely again
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Jun 28, 2022
1 parent 576d096 commit c44dad6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion playbooks/ansible-galaxy-importer/run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@
file: '{{ _fetch.dest }}'
name: galaxy_info

- name: Copy galaxy-importer.cfg to downloads dir
copy:
src: "{{ zuul.project.src_dir }}/tests/galaxy-importer.cfg"
dest: "~/downloads/galaxy-importer.cfg"
ignore_errors: true

- name: Confirm collection can be imported into galaxy
args:
chdir: "~/{{ zuul.projects['github.com/ansible-network/releases'].src_dir }}"
shell: "source .tox/venv/bin/activate; cat ${GALAXY_IMPORTER_CONFIG}; ./tools/validate-collection.sh ~/downloads/{{ galaxy_info.namespace}}-{{ galaxy_info.name }}-*.tar.gz"
environment:
GALAXY_IMPORTER_CONFIG: "~/{{ zuul.project.src_dir }}/tests/galaxy-importer.cfg"
GALAXY_IMPORTER_CONFIG: "~/downloads/galaxy-importer.cfg"

0 comments on commit c44dad6

Please sign in to comment.