|
84 | 84 |
|
85 | 85 | - name: Install terraform
|
86 | 86 | uses: hashicorp/setup-terraform@v2
|
| 87 | + with: |
| 88 | + terraform_wrapper: false |
87 | 89 |
|
88 | 90 | - name: Initialise terraform
|
89 | 91 | run: terraform init
|
@@ -181,17 +183,17 @@ jobs:
|
181 | 183 | sed -i 's/"//g' registry.txt
|
182 | 184 | cat registry.txt
|
183 | 185 |
|
184 |
| - - name: Sleep to debug (cancel workflow to clean up) |
185 |
| - if: ${{ inputs.deployment_type == 'Test' }} |
186 |
| - run: | |
187 |
| - # ssh rocky@$(cat registry.txt) -i default.pem -o StrictHostKeyChecking=no |
188 |
| - # echo '${BAS_PWD}' | sudo passwd --stdin ${LAB_IMAGE_USER} |
189 |
| - # sudo echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config.d/50-cloud-init.conf |
190 |
| - # sudo systemctl restart sshd |
191 |
| - sleep 7h |
192 |
| - env: |
193 |
| - LAB_IMAGE_USER: ${{ inputs.os_image == 'Ubuntu' && 'ubuntu' || inputs.os_image == 'Rocky9' && 'rocky' }} |
194 |
| - BAS_PWD: ${{ inputs.bas_pwd == '' && secrets.BASTION_TEST_PASSWORD || inputs.bas_pwd }} |
| 186 | + # - name: Sleep to debug (cancel workflow to clean up) |
| 187 | + # if: ${{ inputs.deployment_type == 'Test' }} |
| 188 | + # run: | |
| 189 | + # # ssh rocky@$(cat registry.txt) -i default.pem -o StrictHostKeyChecking=no |
| 190 | + # # echo '${BAS_PWD}' | sudo passwd --stdin ${LAB_IMAGE_USER} |
| 191 | + # # sudo echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config.d/50-cloud-init.conf |
| 192 | + # # sudo systemctl restart sshd |
| 193 | + # sleep 7h |
| 194 | + # env: |
| 195 | + # LAB_IMAGE_USER: ${{ inputs.os_image == 'Ubuntu' && 'ubuntu' || inputs.os_image == 'Rocky9' && 'rocky' }} |
| 196 | + # BAS_PWD: ${{ inputs.bas_pwd == '' && secrets.BASTION_TEST_PASSWORD || inputs.bas_pwd }} |
195 | 197 |
|
196 | 198 | - name: Run tests on Lab VMs (Test)
|
197 | 199 | if: ${{ inputs.deployment_type == 'Test' }}
|
|
0 commit comments