Skip to content

Commit b17f0eb

Browse files
committed
more updates
Signed-off-by: NilashishC <nchakrab@redhat.com>
1 parent 7b50812 commit b17f0eb

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/collection.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,13 @@ jobs:
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

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
7874
collection-test: collection-install
7975
cd /tmp/collections/ansible_collections/ansible/platform && \

0 commit comments

Comments
 (0)