fix(deps): update kubernetes packages to v0.31.4 #12967
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upgrade Testing | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- '**.svg' | |
- '**.drawio' | |
- '.spelling' | |
pull_request: | |
branches: | |
- master | |
# The specific activity types are listed here to include "labeled" and "unlabeled" | |
# (which are not included by default for the "pull_request" trigger). | |
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | |
paths-ignore: | |
- '**.md' | |
- '**.svg' | |
- '**.drawio' | |
- '.spelling' | |
permissions: | |
contents: read | |
jobs: | |
skip-check: | |
runs-on: ubuntu-latest | |
name: Skip the job? | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- id: skip_check | |
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5.3.1 | |
with: | |
skip_after_successful_duplicate: 'true' | |
do_not_skip: '["workflow_dispatch", "schedule"]' | |
upgrade-testing: | |
runs-on: ubuntu-24.04 | |
needs: skip-check | |
if: ${{ needs.skip-check.outputs.should_skip != 'true' }} && !contains( github.event.pull_request.labels.*.name, 'renovate') | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: 1.23.3 | |
- name: Build artifacts | |
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0 | |
with: | |
version: v1.9.2 | |
args: release --rm-dist --skip-publish --skip-validate --snapshot --skip-sbom --skip-sign | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create edgeDNS k3s Cluster | |
uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 | |
with: | |
cluster-name: "edgedns" | |
args: -c k3d/edge-dns.yaml | |
- name: Create 1st k3s Cluster | |
uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 | |
with: | |
cluster-name: "test-gslb1" | |
args: -c k3d/test-gslb1.yaml | |
- name: Create 2nd k3s Cluster | |
uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 | |
with: | |
cluster-name: "test-gslb2" | |
args: -c k3d/test-gslb2.yaml | |
- name: K8GB deploy stable version | |
run: make deploy-stable-version list-running-pods | |
- name: K8GB deploy test version | |
run: make deploy-test-version list-running-pods | |
- name: Run Terratest | |
run: | | |
mkdir -p ${{ github.workspace }}/tmp/terratest | |
set -o pipefail | |
make terratest | tee ${{ github.workspace }}/tmp/terratest/all.log | |
echo "::endgroup::" | |
- name: Print debug info | |
if: always() | |
uses: ./.github/actions/print-debug | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
if: always() | |
with: | |
name: terratest-logs | |
path: ${{ github.workspace }}/tmp/terratest |