-
Notifications
You must be signed in to change notification settings - Fork 39
68 lines (61 loc) · 2.14 KB
/
kind-e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: e2e
on:
pull_request:
branches: [ 'main', 'release-*' ]
defaults:
run:
shell: bash
env:
# https://github.com/google/go-containerregistry/pull/125 allows insecure registry for
# '*.local' hostnames. This works both for `ko` and our own tag-to-digest resolution logic,
# thus allowing us to test without bypassing tag-to-digest resolution.
KIND_VERSION: 0.14.0
KNATIVE_VERSION: 1.6.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: skip test
# see https://github.com/knative-sandbox/kn-plugin-quickstart/issues/392
run: |
echo "github action runner broke this test"
# - name: Set up Go 1.18.x
# uses: actions/setup-go@v3
# with:
# go-version: 1.18.x
#
# - name: Build quickstart plugin
# run: |
# set -x
# ./hack/build.sh
# sudo mv kn-quickstart /usr/local/bin
#
# - name: Install Dependencies
# run: |
# set -x
# echo "::group:: install kind ${KIND_VERSION}"
# curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/v${KIND_VERSION}/kind-linux-amd64
# chmod +x ./kind
# sudo mv kind /usr/local/bin
# echo "::endgroup::"
#
# echo "::group:: install kn client ${KNATIVE_VERSION}"
# curl -Lo ./kn https://github.com/knative/client/releases/download/knative-v${KNATIVE_VERSION}/kn-linux-amd64
# chmod +x ./kn
# sudo mv kn /usr/local/bin
# echo "::endgroup::"
#
# - name: Serving e2e Test
# run: |
# kn quickstart kind --install-serving
# source ./vendor/knative.dev/hack/e2e-tests.sh
# ./test/serving-e2e-test.sh || fail_test
#
# - uses: chainguard-dev/actions/kind-diag@main
# # Only upload logs on failure.
# if: ${{ failure() }}
# with:
# cluster-resources: nodes,${{ matrix.cluster-resources || '' }}
# namespace-resources: pods,svc,ksvc,route,configuration,revision,king,${{ matrix.namespace-resources || '' }}
# artifact-name: logs-${{ matrix.k8s-version}}-${{ matrix.ingress }}-${{ matrix.test-suite }}