Skip to content

Commit

Permalink
[hotfix][ci] Trigger AWS E2E tests when creds are present
Browse files Browse the repository at this point in the history
  • Loading branch information
hlteoh37 committed Oct 4, 2023
1 parent e6ad92c commit 691dc01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
MVN_VALIDATION_DIR: "/tmp/flink-validation-deployment"
FLINK_AWS_USER: ${{ secrets.FLINK_AWS_USER }}
FLINK_AWS_PASSWORD: ${{ secrets.FLINK_AWS_PASSWORD }}
HAS_AWS_CREDS: ${{ secrets.FLINK_AWS_USER != '' && secrets.FLINK_AWS_PASSWORD != '' }}
steps:
- run: echo "Running CI pipeline for JDK version ${{ matrix.jdk }}"

Expand Down Expand Up @@ -115,7 +116,7 @@ jobs:
mvn clean
- name: Run AWS e2e tests
if: ${{ github.event_name == 'push' }}
if: ${{ env.HAS_AWS_CREDS }}
run: |
set -o pipefail
Expand Down

0 comments on commit 691dc01

Please sign in to comment.