Skip to content

Commit

Permalink
Merge pull request #390 from networkservicemesh/check-env
Browse files Browse the repository at this point in the history
Make KUBERNETES_VERSION env consistent across all jobs
  • Loading branch information
denis-tingaikin authored Dec 27, 2024
2 parents 0ec387e + b1d625a commit 2d2190c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
with:
config: ${{ github.repository }}/kind-cluster-config.yaml
version: v0.20.0
node_image: kindest/node:v1.28.0
node_image: kindest/node:${{ vars.NSM_KUBERNETES_VERSION }}

- name: Check kind
run: |
Expand Down Expand Up @@ -160,14 +160,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PROJECT_ID: 383890d0-f5d1-4de1-881a-4d1ede549d18
NODE_OS: ubuntu_20_04
KUBERNETES_VERSION: "v1.27.1"
KUBERNETES_VERSION: ${{ vars.NSM_KUBERNETES_VERSION }}
CNI: ${{ matrix.config.CNI }}
CONTROLPLANE_NODE_TYPE: ${{ matrix.config.node_type }}
WORKER_NODE_TYPE: ${{ matrix.config.node_type }}

- name: Integration tests
run: |
export KUBECONFIG=$HOME/.kube/config_packet
kubectl version
if [[ "${{ matrix.config.CNI }}" == "calico-vpp" ]]; then
go test -count 1 -timeout 1h50m -race -v ./test/${{ matrix.config.CNI }} -parallel 4 || true
elif [ "${SRIOV_ENABLED}" == true ]; then
Expand Down

0 comments on commit 2d2190c

Please sign in to comment.