Skip to content

Commit

Permalink
ci: remove branch name related logic from e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
necipallef committed Sep 23, 2024
1 parent 3d845a6 commit 0260a3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/e2e_test_for_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
with:
role-to-assume: ${{secrets.AWS_E2E_ROLE_ARN}}
aws-region: ${{vars.AWS_E2E_REGION}}
# - name: Store BRANCH_NAME in Parameter Store
# run: |
# aws ssm put-parameter --name "/cloudfront-integration-e2e/branch_name" --value "${{github.head_ref}}" --type "String" --overwrite
- name: Trigger AWS CodePipeline
run: |
git_hash=${{ github.event.pull_request.head.sha }}
Expand Down
4 changes: 1 addition & 3 deletions buildspec-e2e-pr-join-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ phases:
build:
commands:
- ls -la $CODEBUILD_SRC_DIR # rc branch, also called as primary source
- ls -la $CODEBUILD_SRC_DIR_SourceArtifact # source that will be used for topic branch
- ls -la $CODEBUILD_SRC_DIR_SourceArtifact # topic branch
- cd $CODEBUILD_SRC_DIR_SourceArtifact
- echo $BRANCH_NAME
- git switch $BRANCH_NAME # check out topic branch
- git status
- cp $CODEBUILD_SRC_DIR/buildspec-e2e.yml buildspec-e2e.yml
- cp $CODEBUILD_SRC_DIR/buildspec-mock-e2e.yml buildspec-mock-e2e.yml
Expand Down

0 comments on commit 0260a3d

Please sign in to comment.