mirror of https://github.com/knative/client.git
Update test-infra (#529)
Major changes: * fix monitoring install function * fix build tests not failing on module updates
This commit is contained in:
parent
339232b795
commit
556f457e06
2
go.mod
2
go.mod
|
|
@ -21,7 +21,7 @@ require (
|
|||
knative.dev/eventing v0.10.0
|
||||
knative.dev/pkg v0.0.0-20191107185656-884d50f09454
|
||||
knative.dev/serving v0.10.0
|
||||
knative.dev/test-infra v0.0.0-20191113204928-e381f11dc722
|
||||
knative.dev/test-infra v0.0.0-20191203152035-98a7b3bbed2d
|
||||
sigs.k8s.io/yaml v1.1.0
|
||||
)
|
||||
|
||||
|
|
|
|||
4
go.sum
4
go.sum
|
|
@ -534,8 +534,8 @@ knative.dev/pkg v0.0.0-20191107185656-884d50f09454 h1:nkslWFyRWaJp3nPDm+GSQOSvN8
|
|||
knative.dev/pkg v0.0.0-20191107185656-884d50f09454/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q=
|
||||
knative.dev/serving v0.10.0 h1:T1csznAQrc/DvCE4KROz4NqOtJ24mnU9eF9RMeeYaCc=
|
||||
knative.dev/serving v0.10.0/go.mod h1:x2n255JS2XBI39tmjZ8CwTxIf9EKNMCrkVuiOttLRm0=
|
||||
knative.dev/test-infra v0.0.0-20191113204928-e381f11dc722 h1:MnOoRxxPk7Hs8NIBhuUinJGgP8gCqKJKQQJWa+rZgao=
|
||||
knative.dev/test-infra v0.0.0-20191113204928-e381f11dc722/go.mod h1:xcdUkMJrLlBswIZqL5zCuBFOC22WIPMQoVX1L35i0vQ=
|
||||
knative.dev/test-infra v0.0.0-20191203152035-98a7b3bbed2d h1:g6tN3ufvEsQ3NxhsHQRi6q+q3xBDCwbSMUUIrCnQeRU=
|
||||
knative.dev/test-infra v0.0.0-20191203152035-98a7b3bbed2d/go.mod h1:xcdUkMJrLlBswIZqL5zCuBFOC22WIPMQoVX1L35i0vQ=
|
||||
modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw=
|
||||
modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
|
||||
modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=
|
||||
|
|
|
|||
|
|
@ -426,9 +426,7 @@ function start_knative_monitoring() {
|
|||
# mentioned in
|
||||
# https://github.com/knative/serving/blob/4202efc0dc12052edc0630515b101cbf8068a609/config/monitoring/tracing/zipkin/100-zipkin.yaml#L21
|
||||
kubectl create namespace istio-system 2>/dev/null
|
||||
echo "Installing Monitoring CRDs from $1"
|
||||
kubectl apply --selector knative.dev/crd-install=true -f "$1" || return 1
|
||||
echo "Installing the rest of monitoring components from $1"
|
||||
echo "Installing Monitoring from $1"
|
||||
kubectl apply -f "$1" || return 1
|
||||
wait_until_pods_running knative-monitoring || return 1
|
||||
wait_until_pods_running istio-system || return 1
|
||||
|
|
|
|||
|
|
@ -156,8 +156,10 @@ function default_build_test_runner() {
|
|||
markdown_build_tests || failed=1
|
||||
# For documentation PRs, just check the md files
|
||||
(( IS_DOCUMENTATION_PR )) && return ${failed}
|
||||
# Don't merge these two lines, or return code will always be 0.
|
||||
local go_pkg_dirs
|
||||
go_pkg_dirs="$(go list ./...)" || return 1
|
||||
# Skip build test if there is no go code
|
||||
local go_pkg_dirs="$(go list ./...)"
|
||||
[[ -z "${go_pkg_dirs}" ]] && return ${failed}
|
||||
# Ensure all the code builds
|
||||
subheader "Checking that go code builds"
|
||||
|
|
|
|||
|
|
@ -668,7 +668,7 @@ knative.dev/serving/pkg/apis/serving/v1
|
|||
knative.dev/serving/pkg/apis/serving/v1beta1
|
||||
knative.dev/serving/pkg/gc
|
||||
knative.dev/serving/pkg/network
|
||||
# knative.dev/test-infra v0.0.0-20191113204928-e381f11dc722
|
||||
# knative.dev/test-infra v0.0.0-20191203152035-98a7b3bbed2d
|
||||
knative.dev/test-infra/scripts
|
||||
# sigs.k8s.io/kustomize v2.0.3+incompatible
|
||||
sigs.k8s.io/kustomize/pkg/fs
|
||||
|
|
|
|||
Loading…
Reference in New Issue