Result of tsccr-helper -log-level=info gha update -latest . (#4757)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
7256957127
commit
1c6065d811
17 files changed
+47
-47
No files matched your search
@@ -34,7 +34,7 @@ jobs:
|
||||
go-cache-key: ${{ steps.go-cache-key.outputs.key }}
|
||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Set up Go
|
||||
@@ -104,7 +104,7 @@ jobs:
|
||||
ENOS_VAR_go_version: ${{ inputs.go-version }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
|
||||
with:
|
||||
@@ -224,7 +224,7 @@ jobs:
|
||||
with:
|
||||
node-version: '16.x'
|
||||
- name: Checkout boundary-ui
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
||||
if: contains(matrix.filter, 'e2e_ui')
|
||||
with:
|
||||
repository: hashicorp/boundary-ui
|
||||
@@ -267,7 +267,7 @@ jobs:
|
||||
SCENARIO=$(echo "${{ matrix.filter }}" | cut -d' ' -f1)
|
||||
echo fragment="${SCENARIO}" >> "$GITHUB_OUTPUT"
|
||||
- name: Upload e2e tests output
|
||||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
||||
with:
|
||||
name: test-${{ steps.split.outputs.fragment }}
|
||||
path: enos/*.log
|
||||
@@ -280,7 +280,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@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
||||
with:
|
||||
name: test-e2e-ui-debug
|
||||
path: enos/support/src/boundary-ui/ui/admin/tests/e2e/artifacts/test-failures
|
||||
@@ -293,7 +293,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@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
||||
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 }}
|
||||
@@ -328,7 +328,7 @@ jobs:
|
||||
env
|
||||
find ./enos -name "scenario.tf" -exec cat {} \;
|
||||
- name: Send Slack message if Run and Retry fails (or if something else went wrong)
|
||||
uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
|
||||
uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
|
||||
# steps.run.outcome reports as failure when there is an error in `Run Enos scenario`
|
||||
# failure() captures errors before `Run Enos scenario`
|
||||
# failure() does not capture errors in `Run Enos scenario` due to continue-on-error
|
||||
@@ -342,7 +342,7 @@ jobs:
|
||||
env:
|
||||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOUNDARY_TEST_BOT_TOKEN }}
|
||||
- name: Send Slack message if Run but Retry passes
|
||||
uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0
|
||||
uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
|
||||
if: ${{ steps.run.outcome == 'failure' && steps.run_retry.outcome != 'failure' }}
|
||||
with:
|
||||
channel-id: ${{ secrets.SLACK_BOUNDARY_TEST_BOT_CHANNEL_ID }}
|
||||
|
||||
Reference in new issue
Block a user