Skip to content

Commit

Permalink
Enable Helm mode matrix for multicluster tests
Browse files Browse the repository at this point in the history
Enables a matrix for "classic" and "helm" mode for multicluster tests
using GKE. The recently added parameter for "cilium_cli_mode" in the
cilium-cli-test-job-chart is used.

Signed-off-by: Andrew Sauber <[email protected]>
  • Loading branch information
asauber committed Apr 21, 2023
1 parent 373f014 commit 6c4aa3d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/multicluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,18 @@ jobs:
if: ${{ github.repository == 'cilium/cilium-cli' }}
runs-on: ubuntu-22.04
timeout-minutes: 45
strategy:
matrix:
mode: ["classic", "helm"]
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab

- name: Set cluster names
run: |
echo "clusterName1=${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}-${{ matrix.mode }}-mesh-1" >> $GITHUB_ENV
echo "clusterName2=${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}-${{ matrix.mode }}-mesh-2" >> $GITHUB_ENV
- name: Install kubectl
run: |
curl -sLO "https://dl.k8s.io/release/${{ env.kubectl_version }}/bin/linux/amd64/kubectl"
Expand Down Expand Up @@ -168,6 +176,7 @@ jobs:
--set test_script_cm=cilium-cli-test-script \
--set cluster_name_1=${{ env.clusterName1 }} \
--set cluster_name_2=${{ env.clusterName2 }} \
--set cilium_cli_mode=${{ matrix.mode }}
- name: Wait for test job
env:
Expand Down

0 comments on commit 6c4aa3d

Please sign in to comment.