Skip to content

Commit ede878f

Browse files
VIA-653 AJ remove hydrating content cache requiring a tag
- also based on suggestion from Simon, removing grouping of E2E tests log output
1 parent 8f62902 commit ede878f

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

.github/actions/run-e2e-tests/action.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@ runs:
8484
shell: bash
8585
working-directory: "./code-for-e2e-tests"
8686
run: |
87-
echo "::group::Run Playwright tests"
8887
npm run e2e
89-
EXIT_STATUS=$?
90-
echo "::endgroup::"
91-
exit $EXIT_STATUS
9288
9389
- name: Run Playwright tests (cross browser)
9490
if: ${{ inputs.cross_browser == 'true' }}

.github/workflows/cicd-7-hydrate-content-cache.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
hydrate:
17-
name: "Hydrate content-cache in (${{inputs.environment}})"
17+
name: "Hydrate in (${{inputs.environment}})"
1818
runs-on: ubuntu-latest
1919
environment:
2020
name: ${{ inputs.environment }}
@@ -23,18 +23,13 @@ jobs:
2323
id-token: write
2424
contents: read
2525
steps:
26-
- name: "Check ref:${{github.ref}} is a tag"
27-
run: |
28-
if ${{ !startsWith(github.ref, 'refs/tags/') }}; then
29-
echo "❌ Only tagged deployments allowed."
30-
exit 1
31-
fi
3226
- name: "Configure AWS credentials"
3327
uses: aws-actions/configure-aws-credentials@v5
3428
with:
3529
role-session-name: GitHubActionsSession
3630
role-to-assume: ${{ secrets.IAM_ROLE }}
3731
aws-region: ${{ env.AWS_REGION }}
32+
3833
- name: "Run content-cache-hydrator"
3934
run: |
4035
aws lambda invoke --function-name ${AWS_CONTENT_CACHE_HYDRATOR_LAMBDA} response.json || {

0 commit comments

Comments
 (0)