deps: update module github.com/grpc-ecosystem/go-grpc-middleware to v2 #516
Workflow file for this run
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: Run e2e tests | |
on: | |
pull_request: {} | |
push: | |
branches: [main] | |
concurrency: ci-${{ github.ref }} | |
jobs: | |
test-kubernetes: | |
name: k3s ${{ matrix.k3s }} | |
permissions: | |
id-token: write | |
runs-on: ubuntu-latest | |
strategy: | |
# The e2e tests are flaky and often one of the jobs fails. The default setting | |
# causes all other currently running jobs to abort and all need to be restarted. | |
fail-fast: false | |
matrix: | |
include: | |
- k3s: v1.25 | |
k8s-test: v1.25.13 | |
- k3s: v1.26 | |
k8s-test: v1.26.8 | |
- k3s: v1.27 | |
k8s-test: v1.27.5 | |
- k3s: v1.28 | |
k8s-test: v1.28.1 | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: hetznercloud/tps-action@main | |
with: | |
token: ${{ secrets.HCLOUD_TOKEN }} | |
- uses: 3bit/setup-hcloud@v2 | |
- uses: yokawasa/[email protected] | |
with: | |
setup-tools: | | |
helm | |
kubectl | |
skaffold | |
helm: v3.11.2 | |
kubectl: v1.28.1 | |
skaffold: v2.3.0 | |
- name: Run tests | |
env: | |
K3S_CHANNEL: ${{ matrix.k3s }} | |
K8S_TEST_VERSION: ${{ matrix.k8s-test }} | |
SCOPE: gha-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.k3s }} | |
run: | | |
curl -sLS https://get.k3sup.dev | sh | |
trap "hack/dev-down.sh" EXIT | |
source <(hack/dev-up.sh) | |
skaffold build --tag="e2e-${GITHUB_RUN_ID}-${GITHUB_RUN_NUMBER}" | |
tag=$(skaffold build --tag="e2e-${GITHUB_RUN_ID}-${GITHUB_RUN_NUMBER}" --quiet --output="{{ (index .Builds 0).Tag }}") | |
skaffold deploy --images=hetznercloud/hcloud-csi-driver=$tag | |
test/e2e/kubernetes/run-e2e-tests.sh |