Skip to content

Commit

Permalink
build(deps): bump helm/kind-action from 1.9.0 to 1.10.0 (#3949)
Browse files Browse the repository at this point in the history
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](helm/kind-action@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored and zbb88888 committed Apr 25, 2024
1 parent e5e1b99 commit a76520a
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 34 deletions.
154 changes: 138 additions & 16 deletions .github/workflows/build-x86-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -596,7 +596,7 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -732,7 +732,7 @@ jobs:
fi
- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -887,7 +887,7 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -982,6 +982,128 @@ jobs:
- name: Cleanup
run: sh -x dist/images/cleanup.sh

multus-conformance-e2e:
name: Multus Conformance E2E
needs:
- build-kube-ovn
- build-e2e-binaries
runs-on: ubuntu-22.04
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
ip-family:
- ipv4
- ipv6
- dual
steps:
- uses: jlumbroso/[email protected]
with:
android: true
dotnet: true
haskell: true
docker-images: false
large-packages: false
tool-cache: false
swap-storage: false

- uses: actions/checkout@v4

- name: Create the default branch directory
if: (github.base_ref || github.ref_name) != github.event.repository.default_branch
run: mkdir -p test/e2e/source

- name: Check out the default branch
if: (github.base_ref || github.ref_name) != github.event.repository.default_branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.repository.default_branch }}
fetch-depth: 1
path: test/e2e/source

- name: Export E2E directory
run: |
if [ '${{ github.base_ref || github.ref_name }}' = '${{ github.event.repository.default_branch }}' ]; then
echo "E2E_DIR=." >> "$GITHUB_ENV"
else
echo "E2E_DIR=test/e2e/source" >> "$GITHUB_ENV"
fi
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION || '' }}
go-version-file: ${{ env.E2E_DIR }}/go.mod
check-latest: true
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-${{ hashFiles(format('{0}/**/go.sum', env.E2E_DIR)) }}
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/[email protected]
with:
version: ${{ env.KIND_VERSION }}
install_only: true

- name: Install ginkgo
working-directory: ${{ env.E2E_DIR }}
run: go install -v -mod=mod github.com/onsi/ginkgo/v2/ginkgo

- name: Download kube-ovn image
uses: actions/download-artifact@v4
with:
name: kube-ovn

- name: Load images
run: docker load -i kube-ovn.tar

- name: Create kind cluster
run: |
sudo pip3 install j2cli
sudo pip3 install "j2cli[yaml]"
sudo PATH=~/.local/bin:$PATH make kind-init-${{ matrix.ip-family }}
sudo cp -r /root/.kube/ ~/.kube/
sudo chown -R $(id -un). ~/.kube/
- name: Install Kube-OVN
run: make kind-install-${{ matrix.ip-family }}

- name: Install Multus
run: make kind-install-multus

- name: Run E2E
working-directory: ${{ env.E2E_DIR }}
env:
E2E_BRANCH: ${{ github.base_ref || github.ref_name }}
E2E_IP_FAMILY: ${{ matrix.ip-family }}
run: make kube-ovn-multus-conformance-e2e

- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
make kubectl-ko-log
mv kubectl-ko-log.tar.gz multus-conformance-e2e-${{ matrix.ip-family }}-ko-log.tar.gz
- name: upload kubectl ko log
uses: actions/upload-artifact@v4
if: failure()
with:
name: multus-conformance-e2e-${{ matrix.ip-family }}-ko-log
path: multus-conformance-e2e-${{ matrix.ip-family }}-ko-log.tar.gz

chart-test:
name: Chart Installation/Uninstallation Test
needs: build-kube-ovn
Expand All @@ -1007,7 +1129,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1059,7 +1181,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1109,7 +1231,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1161,7 +1283,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1255,7 +1377,7 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1360,7 +1482,7 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1431,7 +1553,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1550,7 +1672,7 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1679,7 +1801,7 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1780,7 +1902,7 @@ jobs:
fi
- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -1895,7 +2017,7 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down Expand Up @@ -2013,7 +2135,7 @@ jobs:
restore-keys: ${{ runner.os }}-e2e-${{ env.GO_FULL_VER }}-x86-

- name: Install kind
uses: helm/kind-action@v1.9.0
uses: helm/kind-action@v1.10.0
with:
version: ${{ env.KIND_VERSION }}
install_only: true
Expand Down
Loading

0 comments on commit a76520a

Please sign in to comment.