File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
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
37+
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+
4044
4145 - uses : actions/checkout@v3
4246
Original file line number Diff line number Diff line change @@ -70,10 +70,6 @@ collection-lint: collection-install
7070 # ansible-lint gets its settings from ansible_platform_collection/.ansible-lint
7171 ansible-lint --profile=production
7272
73- set-gateway_password :
74- echo ' gateway_password: $(ADMIN_PW)' > \
75- /tmp/collections/ansible_collections/ansible/platform/tests/integration/integration_config.yml
76-
7773# # Run the collection tests
7874collection-test : collection-install
7975 cd /tmp/collections/ansible_collections/ansible/platform && \
You can’t perform that action at this time.
0 commit comments