Adjust readiness and liveness probes timeout #9950
Workflow file for this run
This file contains hidden or 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: KinD e2e tests | |
| on: | |
| pull_request: | |
| branches: [ 'main', 'release-*' ] | |
| defaults: | |
| run: | |
| shell: bash | |
| working-directory: ./src/knative.dev/net-kourier | |
| jobs: | |
| e2e-tests: | |
| name: e2e tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false # Keep running if one leg fails. | |
| matrix: | |
| k8s-version: | |
| - v1.32.x | |
| - v1.33.x | |
| gateway: | |
| - docker.io/envoyproxy/envoy:v1.34-latest | |
| - docker.io/envoyproxy/envoy:v1.35-latest | |
| - docker.io/envoyproxy/envoy:v1.36-latest | |
| upstream-tls: | |
| - plain | |
| - tls | |
| env: | |
| GOPATH: ${{ github.workspace }} | |
| KO_DOCKER_REPO: kind.local | |
| # Use a semi-random cluster suffix, but somewhat predictable | |
| # so reruns don't just give us a completely new value. | |
| CLUSTER_SUFFIX: c${{ github.run_id }}.local | |
| steps: | |
| - name: setup-go | |
| uses: knative/actions/setup-go@main | |
| - uses: ko-build/[email protected] | |
| - name: Check out code onto GOPATH | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ./src/knative.dev/net-kourier | |
| - name: Setup KinD | |
| uses: chainguard-dev/actions/setup-kind@main | |
| with: | |
| k8s-version: ${{ matrix.k8s-version }} | |
| kind-worker-count: 1 | |
| cluster-suffix: "${CLUSTER_SUFFIX}" | |
| - name: Deploy certificates for upstream traffic | |
| if: matrix.upstream-tls == 'tls' | |
| run: | | |
| set -o pipefail | |
| echo ">> Deploy certificate for upstream traffic" | |
| ./test/generate-upstream-cert.sh | |
| - name: Install Knative net-kourier | |
| run: | | |
| set -o pipefail | |
| # Build and Publish our containers to the docker daemon (including test assets) | |
| ko resolve -f test/config/ -f config/ | \ | |
| sed "s|docker.io/envoyproxy/envoy:.*|${{ matrix.gateway }}|" | \ | |
| kubectl apply -f - | |
| - name: Wait for Ready | |
| run: | | |
| echo Waiting for Pods to become ready. | |
| # # TODO: Find a good way to do this with chaos enabled. | |
| # kubectl wait pod --for=condition=Ready -n ${GATEWAY_NAMESPACE_OVERRIDE} -l '!job-name' | |
| kubectl wait pod --timeout 300s --for=condition=Ready -n knative-serving -l '!job-name' | |
| # For debugging. | |
| kubectl get pods --all-namespaces | |
| - name: Run e2e Tests | |
| run: | | |
| ./test/e2e-kind.sh | |
| # Collect debug logs on failure | |
| - uses: chainguard-dev/actions/kind-diag@main | |
| if: ${{ failure() }} | |
| with: | |
| cluster-resources: nodes,namespaces,crds | |
| namespace-resources: configmaps,pods,svc,king | |
| artifact-name: logs-${{ matrix.k8s-version}}-${{ matrix.gateway }}-${{ matrix.upstream-tls }} |