Download Enos test artifact only for CRT runs (#17603)
Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com> Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>
This commit is contained in:
parent
46cd8069be
commit
0285dccfd1
|
@ -82,15 +82,19 @@ jobs:
|
|||
echo "${{ secrets.ENOS_CI_SSH_KEY }}" > ./enos/support/private_key.pem
|
||||
chmod 600 ./enos/support/private_key.pem
|
||||
- name: Download Linux AMD64 Vault bundle
|
||||
if: ${{ env.ARTIFACT_SOURCE == 'crt' }}
|
||||
id: download
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: ${{ inputs.artifact-name }}
|
||||
path: ./enos/support/downloads
|
||||
- name: Prepare for scenario execution
|
||||
- name: unzip Downloaded Vault bundle
|
||||
if: ${{ env.ARTIFACT_SOURCE == 'crt' }}
|
||||
run: |
|
||||
unzip ${{steps.download.outputs.download-path}}/*.zip -d enos/support
|
||||
mv ${{steps.download.outputs.download-path}}/*.zip enos/support/vault.zip
|
||||
- name: Prepare for scenario execution
|
||||
run: |
|
||||
mkdir -p enos/support/terraform-plugin-cache
|
||||
[[ ${{ env.ARTIFACT_NAME }} == *"ent"* ]] && echo "${{ secrets.VAULT_LICENSE }}" > ./enos/support/vault.hclic || true
|
||||
- name: Run Enos scenario
|
||||
|
|
Loading…
Reference in New Issue