Skip to content

Commit 011e3a6

Browse files
authored
ci: Allow all sources to be triggered for E2E tests (#8081)
1 parent eca9ed4 commit 011e3a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/e2e.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,12 @@ jobs:
191191
elif [[ "$SOURCE" == 'upstream' ]]; then
192192
FOCUS="$SUITE" GIT_REF="$(git rev-parse HEAD)" \
193193
CLUSTER_NAME="${{ steps.generate-cluster-name.outputs.CLUSTER_NAME }}" make upstream-e2etests
194+
elif [[ "$SOURCE" == 'all' ]]; then
195+
TEST_SUITE="$SUITE" ENABLE_METRICS=$ENABLE_METRICS METRICS_REGION=${{ vars.TIMESTREAM_REGION }} GIT_REF="$(git rev-parse HEAD)" \
196+
CLUSTER_NAME="${{ steps.generate-cluster-name.outputs.CLUSTER_NAME }}" CLUSTER_ENDPOINT="$(aws eks describe-cluster --name ${{ steps.generate-cluster-name.outputs.CLUSTER_NAME }} --query "cluster.endpoint" --output text)" \
197+
INTERRUPTION_QUEUE="${{ steps.generate-cluster-name.outputs.CLUSTER_NAME }}" make e2etests
198+
FOCUS="$SUITE" GIT_REF="$(git rev-parse HEAD)" \
199+
CLUSTER_NAME="${{ steps.generate-cluster-name.outputs.CLUSTER_NAME }}" make upstream-e2etests
194200
fi
195201
- name: notify slack of success or failure
196202
uses: ./.github/actions/e2e/slack/notify

0 commit comments

Comments
 (0)