Skip to content

Commit

Permalink
[feat] add multimaster configuration for e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kirill Kramorov <kirill.kramorov@flant.com>
  • Loading branch information
Kirill Kramorov committed Sep 16, 2024
1 parent 4fd0fef commit b3cf30e
Show file tree
Hide file tree
Showing 11 changed files with 63 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .github/ci_templates/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ check_e2e_labels:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: {!{ coll.Has $ctx "manualRun" | conv.ToString | strings.Quote }!}
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -802,7 +802,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1288,7 +1288,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1774,7 +1774,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2260,7 +2260,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2746,7 +2746,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -810,7 +810,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1304,7 +1304,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1798,7 +1798,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2292,7 +2292,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2786,7 +2786,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/e2e-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "false"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -693,7 +693,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "false"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1158,7 +1158,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "false"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1611,7 +1611,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "false"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2072,7 +2072,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "false"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2525,7 +2525,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "false"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2982,7 +2982,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "false"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -3451,7 +3451,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "false"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -843,7 +843,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1370,7 +1370,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1897,7 +1897,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2424,7 +2424,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2951,7 +2951,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -798,7 +798,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1280,7 +1280,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1762,7 +1762,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2244,7 +2244,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2726,7 +2726,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-openstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -798,7 +798,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1280,7 +1280,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -1762,7 +1762,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2244,7 +2244,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down Expand Up @@ -2726,7 +2726,7 @@ jobs:
REF_FULL: ${{needs.git_info.outputs.ref_full}}
INITIAL_REF_SLUG: ${{ github.event.inputs.initial_ref_slug }}
MANUAL_RUN: "true"
MULTIMASTER: ${{ check_e2e_labels.outputs.multimaster }}
MULTIMASTER: ${{ needs.check_e2e_labels.outputs.multimaster }}
run: |
# Calculate unique prefix for e2e test.
# GITHUB_RUN_ID is a unique number for each workflow run.
Expand Down
Loading

0 comments on commit b3cf30e

Please sign in to comment.