@ -38,7 +38,7 @@ jobs:
with:
fetch-depth : '0'
- name : Set up Go
uses : actions/setup-go@ f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
uses : actions/setup-go@ 0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
with:
go-version : ${{ inputs.go-version }}
cache : false
@ -53,7 +53,7 @@ jobs:
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
echo "go-bin=$(go env GOPATH)/bin" >> "$GITHUB_OUTPUT"
- name : Set up Go modules cache
uses : actions/cache@ 1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses : actions/cache@ 5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path : |
${{ steps.go-cache-paths.outputs.go-build }}
@ -110,12 +110,12 @@ jobs:
- name : Checkout
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name : Set up Go
uses : actions/setup-go@ f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3 .0
uses : actions/setup-go@ 0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
with:
go-version : ${{ inputs.go-version }}
cache : false
- name : Set up Go modules cache
uses : actions/cache@ 1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses : actions/cache@ 5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path : |
${{ needs.setup.outputs.cache-go-build }}
@ -133,7 +133,7 @@ jobs:
terraform_wrapper : false
- name : Import GPG key for Boundary pass keystore
id : import_gpg
uses : crazy-max/ghaction-import-gpg@ cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2 .0
uses : crazy-max/ghaction-import-gpg@ e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3 .0
with:
gpg_private_key : ${{ secrets.ENOS_GPG_PRIVATE_KEY }}
passphrase : ${{ secrets.ENOS_GPG_PASSPHRASE }}
@ -144,7 +144,7 @@ jobs:
echo "trusted-key ${{ secrets.ENOS_GPG_UID }}" >> ~/.gnupg/gpg.conf
cat ~/.gnupg/gpg.conf
- name : Configure AWS credentials
uses : aws-actions/configure-aws-credentials@e 3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
uses : aws-actions/configure-aws-credentials@e cecac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
with:
aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID_CI }}
aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY_CI }}
@ -155,14 +155,14 @@ jobs:
- name : Configure GCP credentials
if : contains(matrix.filter, 'gcp')
id : gcp_auth
uses : google-github-actions/auth@ 6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7
uses : google-github-actions/auth@ 71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8
with:
credentials_json : ${{ secrets.GCP_CREDENTIALS }}
access_token_lifetime : '3600s'
project_id : ${{ secrets.GCP_PROJECT_ID_CI }}
- name : 'Set up GCP Cloud SDK'
if : contains(matrix.filter, 'gcp')
uses : google-github-actions/setup-gcloud@ 6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2
uses : google-github-actions/setup-gcloud@ 77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4
- name : Set up Enos
uses: hashicorp/action-setup-enos@v1 # TSCCR: loading action configs: failed to query HEAD reference: failed to get advertised references : authorization failed
with:
@ -176,7 +176,7 @@ jobs:
echo "debug_data_artifact_name=enos-debug-data_$(echo ${{ matrix.filter }} | sed -e 's/ /_/g' | sed -e 's/:/=/g')" >> "$GITHUB_OUTPUT"
- name : Set up dependency cache
id : dep-cache
uses : actions/cache@ 1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
uses : actions/cache@ 5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path : /tmp/test-deps
key : enos-test-deps-password-store-1.7.4-vault-1.12.2
@ -214,7 +214,7 @@ jobs:
ssh -V
- name : Download Boundary Linux AMD64 bundle
id : download
uses : actions/download-artifact@ fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
uses : actions/download-artifact@ 95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
with:
name : ${{ inputs.artifact-name }}
path : ./enos/support/downloads
@ -224,7 +224,7 @@ jobs:
mv ${{steps.download.outputs.download-path}}/*.zip enos/support/boundary.zip
- name : Download Boundary Linux AMD64 docker image
if : contains(matrix.filter, 'e2e_docker')
uses : actions/download-artifact@ fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
uses : actions/download-artifact@ 95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
id : download-docker
with:
name : ${{ inputs.docker-image-file }}
@ -234,7 +234,7 @@ jobs:
run : |
mv ${{ steps.download-docker.outputs.download-path }}/*.tar enos/support/boundary_docker_image.tar
- name : Set up Node.js
uses : actions/setup-node@ 1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2 .0
uses : actions/setup-node@ cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3 .0
if : contains(matrix.filter, 'e2e_ui')
with:
node-version : '16.x'
@ -282,7 +282,7 @@ jobs:
SCENARIO=$(echo "${{ matrix.filter }}" | cut -d' ' -f1,3 | sed 's/:/_/g')
echo fragment="${SCENARIO}" >> "$GITHUB_OUTPUT"
- name : Upload e2e tests output
uses : actions/upload-artifact@ 65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses : actions/upload-artifact@ ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name : test-${{ steps.split.outputs.fragment }}
path : enos/*.log
@ -295,7 +295,7 @@ jobs:
docker logs database
- name : Upload e2e UI tests debug info
if : contains(matrix.filter, 'e2e_ui') && steps.run.outcome == 'failure'
uses : actions/upload-artifact@ 65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses : actions/upload-artifact@ ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name : test-e2e-ui-debug
path : enos/support/src/boundary-ui/ui/admin/tests/e2e/artifacts/test-failures
@ -308,7 +308,7 @@ jobs:
enos scenario launch --timeout 60m0s --chdir ./enos ${{ matrix.filter }}
- name : Upload Debug Data
if : ${{ always() && steps.run_retry.outcome == 'failure' }}
uses : actions/upload-artifact@ 65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
uses : actions/upload-artifact@ ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
# The name of the artifact is the same as the matrix scenario name with the spaces replaced with underscores and colons replaced by equals.
name : ${{ steps.prepare_scenario.outputs.debug_data_artifact_name }}