Skip to content

Commit

Permalink
ci: e2e tests clean up and put aws execution link to the action summary
Browse files Browse the repository at this point in the history
  • Loading branch information
necipallef committed Sep 24, 2024
1 parent ab6ed16 commit 49be83d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 70 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/cleanup_old_e2e_tasks.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/e2e_test_for_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,13 @@ jobs:
exit 1
fi
done
- name: Output Pipeline Link
if: always()
run: |
region=${{ vars.AWS_E2E_REGION }}
pipeline_name=${{ vars.AWS_E2E_TOPIC_BRANCH_CODEPIPELINE_NAME }}
execution_id=${{ env.codepipeline_execution_id }}
pipeline_url="https://${region}.console.aws.amazon.com/codesuite/codepipeline/pipelines/${pipeline_name}/executions/${execution_id}?region=${region}"
echo "AWS CodePipeline Execution URL: $pipeline_url"
echo "## AWS CodePipeline Execution Link" >> $GITHUB_STEP_SUMMARY
echo "[$pipeline_url]($pipeline_url)" >> $GITHUB_STEP_SUMMARY
18 changes: 0 additions & 18 deletions .github/workflows/serialize_job_info.js

This file was deleted.

2 changes: 0 additions & 2 deletions buildspec-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ phases:
nodejs: 20
commands:
- npm i -g pnpm
- export COMMIT_SHA=$(git rev-parse HEAD)
- echo $COMMIT_SHA
- echo $CODEBUILD_BUILD_ID
- echo $CODEBUILD_PUBLIC_BUILD_URL
- ls -a
Expand Down
4 changes: 0 additions & 4 deletions buildspec-mock-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ phases:
nodejs: 20
commands:
- npm i -g pnpm
- export COMMIT_SHA=$(git rev-parse HEAD)
- export VERSION=$(cat package.json | jq -r '.version')
- echo $COMMIT_SHA
- echo $VERSION
- echo $CODEBUILD_BUILD_ID
- echo $CODEBUILD_PUBLIC_BUILD_URL
- ls -a
Expand Down

0 comments on commit 49be83d

Please sign in to comment.