File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 3535 - name : Cleanup services
3636 run : make cleanup-services
3737
38- - name : Extract gateway_admin_password and write to config
39- run : |
40- ADMIN_PW=$(awk '/gateway_admin_password/{print $2}' container-startup.yml | xargs echo) &&
41- echo "gateway_password: $ADMIN_PW" > \
42- /tmp/collections/ansible_collections/ansible/platform/tests/integration/integration_config.yml
43-
4438 - name : Validate that password is set
4539 run : |
4640 cat /tmp/collections/ansible_collections/ansible/platform/tests/integration/integration_config.yml
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ collection-lint: collection-install
7070 ansible-lint --profile=production
7171
7272# # Run the collection tests
73- collection-test : collection-install
73+ collection-test : collection-install
74+ $(eval ADMIN_PW=$(shell awk '/gateway_admin_password/{print $$2}' $(GITHUB_WORKSPACE)/ansible.platform/aap-gateway/container-startup.yml | xargs echo))
75+ echo 'gateway_password: $(ADMIN_PW)' > \
76+ /tmp/collections/ansible_collections/ansible/platform/tests/integration/integration_config.yml
7477 cd /tmp/collections/ansible_collections/ansible/platform && \
7578 ansible-test integration --venv --requirements --coverage
You can’t perform that action at this time.
0 commit comments