Skip to content

Commit

Permalink
Support configuring galaxy-importer
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Jun 28, 2022
1 parent be9d213 commit 350ea22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion playbooks/ansible-galaxy-importer/run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
include_vars:
file: '{{ _fetch.dest }}'
name: galaxy_info

- 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; ./tools/validate-collection.sh ~/downloads/{{ galaxy_info.namespace}}-{{ galaxy_info.name }}-*.tar.gz"
shell: "source .tox/venv/bin/activate ; ls /home/zuul/src/github.com/ansible-collections ; cat ${GALAXY_IMPORTER_CONFIG} ; ./tools/validate-collection.sh ~/downloads/{{ galaxy_info.namespace}}-{{ galaxy_info.name }}-*.tar.gz"
environment:
GALAXY_IMPORTER_CONFIG: "/home/zuul/{{ zuul.project.src_dir }}/tests/galaxy-importer.cfg"

0 comments on commit 350ea22

Please sign in to comment.