File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3434
3535 - name : Cleanup services
3636 run : make cleanup-services
37+
38+ - name : Set Gateway Password
39+ run : make set-gateway_password
3740
3841 - uses : actions/checkout@v3
3942
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ PYTHON := $(notdir $(shell for i in python3.11 python3; do command -v $$i; done|
55RM ?= /bin/rm
66UID := $(shell id -u)
77WORKSPACE := $(if $(GITHUB_WORKSPACE ) ,$(GITHUB_WORKSPACE ) ,$(shell pwd) )
8+ ADMIN_PW := $(shell awk '/gateway_admin_password/{print $$2}' container-startup.yml | xargs echo)
89ANSIBLE_CONFIG ?= tools/ansible/ansible.cfg
910export ANSIBLE_CONFIG
1011
@@ -69,10 +70,11 @@ collection-lint: collection-install
6970 # ansible-lint gets its settings from ansible_platform_collection/.ansible-lint
7071 ansible-lint --profile=production
7172
72- # # Run the collection tests
73- collection-test : collection-install
74- $(eval ADMIN_PW=$(shell awk '/gateway_admin_password/{print $$2}' $(WORKSPACE ) /aap-gateway/container-startup.yml | xargs echo) )
73+ set-gateway_password :
7574 echo ' gateway_password: $(ADMIN_PW)' > \
7675 /tmp/collections/ansible_collections/ansible/platform/tests/integration/integration_config.yml
76+
77+ # # Run the collection tests
78+ collection-test : collection-install
7779 cd /tmp/collections/ansible_collections/ansible/platform && \
7880 ansible-test integration --venv --requirements --coverage
You can’t perform that action at this time.
0 commit comments