[main] Upgrade to latest dependencies #9890
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: e2e | |
on: | |
pull_request: | |
branches: [ 'main' ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
kind: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false # Keep running if one leg fails. | |
matrix: | |
k8s-version: | |
- v1.28.x | |
- v1.29.x | |
env: | |
KO_DOCKER_REPO: registry.local:5000/knative # registry setup by setup-kind | |
# Use a semi-random cluster suffix, but somewhat predictable | |
# so reruns don't just give us a completely new value. | |
CLUSTER_DOMAIN: c${{ github.run_id }}.local | |
steps: | |
- uses: knative/actions/setup-go@main | |
- uses: ko-build/[email protected] | |
- uses: chainguard-dev/actions/setup-kind@main | |
with: | |
k8s-version: ${{ matrix.k8s-version }} | |
kind-worker-count: 3 | |
cluster-suffix: ${{ env.CLUSTER_DOMAIN }} | |
- uses: actions/checkout@v4 | |
- name: test | |
run: | | |
./test/e2e-tests.sh \ | |
--run-tests \ | |
--kind \ | |
--skip-dump-on-failure | |
- uses: chainguard-dev/actions/kind-diag@main | |
if: ${{ failure() }} | |
with: | |
cluster-resources: nodes,namespaces,crds | |
namespace-resources: pods,svc,king,httpproxy | |
artifact-name: logs-${{ matrix.k8s-version }} |