Skip to content

Commit 9b16514

Browse files
authored
CLOUDP-325901: Fix selectable e2e2 labels after nightly change (#2404)
Signed-off-by: jose.vazquez <jose.vazquez@mongodb.com>
1 parent 1cb7dfa commit 9b16514

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/tests-e2e2.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ jobs:
7474
E2E2_LABELS: ${{ env.e2e2_labels }}
7575
USE_JSON: true
7676
run: |
77-
PR_LABELS=${{ env.PR_LABELS }}
7877
# Nightly runs all tests, overriding PR labels as '["test/e2e2/*"]'
7978
if [ "${{ github.ref }}" == "refs/heads/main" ];then
8079
PR_LABELS='["test/e2e2/*"]'
@@ -83,14 +82,13 @@ jobs:
8382
echo PR_LABELS=${{ env.PR_LABELS }}
8483
echo E2E2_LABELS=${{ env.E2E2_LABELS }}
8584
if [ "${PR_LABELS}" == '["test/e2e2/*"]' ]; then
86-
echo "["all-e2e2-tests"]" > result.json
85+
echo '{"e2e2":["all-e2e2-tests"]}' > result.json
8786
else
8887
make compute-labels
8988
./bin/ginkgo-labels > result.json
9089
fi
9190
echo "E2E2 tests to execute $(cat result.json | jq -c .e2e2)"
9291
echo "e2e2_matrix=$(cat result.json | jq -c .e2e2)" >> $GITHUB_OUTPUT
93-
9492
compute:
9593
needs: detect-tests
9694
name: "Compute test matrix for k8s versions"

0 commit comments

Comments
 (0)