From 350ea22af56a34d3fb944cadcabe7718924325ec Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Tue, 28 Jun 2022 12:21:28 +0200 Subject: [PATCH] Support configuring galaxy-importer --- playbooks/ansible-galaxy-importer/run.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playbooks/ansible-galaxy-importer/run.yaml b/playbooks/ansible-galaxy-importer/run.yaml index dccbd3cd0..cc02d67a2 100644 --- a/playbooks/ansible-galaxy-importer/run.yaml +++ b/playbooks/ansible-galaxy-importer/run.yaml @@ -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"