Skip to content

Commit 91ea261

Browse files
committed
fix testuser password
1 parent 5f0c4fe commit 91ea261

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/stackhpc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,11 @@ jobs:
8787
. environments/${{ matrix.cloud }}/activate
8888
ansible all -m wait_for_connection
8989
ansible-playbook ansible/adhoc/generate-passwords.yml
90-
echo test_user_password: "$TEST_USER_PASSWORD" > $APPLIANCES_ENVIRONMENT_ROOT/inventory/group_vars/basic_users/defaults.yml
90+
echo vault_testuser_password: "$TEST_USER_PASSWORD" > $APPLIANCES_ENVIRONMENT_ROOT/inventory/group_vars/basic_users/defaults.yml
9191
ansible-playbook -v ansible/site.yml
9292
ansible-playbook -v ansible/ci/check_slurm.yml
93+
env:
94+
TEST_USER_PASSWORD: ${{ secrets.TEST_USER_PASSWORD }}
9395

9496
- name: Run MPI-based tests
9597
run: |
@@ -133,7 +135,7 @@ jobs:
133135
run: |
134136
. venv/bin/activate
135137
. environments/${{ matrix.cloud }}/activate
136-
echo test_user_password: "$TEST_USER_PASSWORD" > $APPLIANCES_ENVIRONMENT_ROOT/inventory/group_vars/basic_users/defaults.yml
138+
echo vault_testuser_password: "$TEST_USER_PASSWORD" > $APPLIANCES_ENVIRONMENT_ROOT/inventory/group_vars/basic_users/defaults.yml
137139
cd packer/
138140
PACKER_LOG=1 packer build -on-error=ask -var-file=$PKR_VAR_environment_root/builder.pkrvars.hcl openstack.pkr.hcl
139141
../dev/output_manifest.py packer-manifest.json # Sets NEW_{COMPUTE,CONTROL,LOGIN}_IMAGE_ID outputs

0 commit comments

Comments
 (0)