Auto-update dependencies (#61)

Produced via:
  `dep ensure -update github.com/knative/test-infra knative.dev/pkg`
/assign @mattmoor
This commit is contained in:
mattmoor-sockpuppet 2019-07-30 07:18:50 -07:00 committed by Knative Prow Robot
parent 32acd0c37e
commit b230142e60
4 changed files with 14 additions and 11 deletions

8
Gopkg.lock generated
View File

@ -262,14 +262,14 @@
[[projects]]
branch = "master"
digest = "1:c5fcddf864b41dd694b4348b06406904ba8b2e403a3a1bb1a565104beb2b4092"
digest = "1:68050b4ce26531655bac0f6e109d04eb0a4550ead73e320119ed3c628ced4a0a"
name = "github.com/knative/test-infra"
packages = [
"scripts",
"tools/dep-collector",
]
pruneopts = "UT"
revision = "88caf452c91594b30b06b2b62c1ece171d77415c"
revision = "0cc427ae355abc72227fc2effaf017c9ded669b4"
[[projects]]
digest = "1:5985ef4caf91ece5d54817c11ea25f182697534f8ae6521eadcd628c142ac4b6"
@ -938,7 +938,7 @@
[[projects]]
branch = "master"
digest = "1:552f31c039d33d163776e7ef843513f599b1ceefcee7a3e4245c910f60904387"
digest = "1:d9a4741d0a142181930dd2fad6c2e73171358ffb4b30dcc1908ee8cb6af7e3ff"
name = "knative.dev/pkg"
packages = [
"apis",
@ -957,7 +957,7 @@
"metrics/metricskey",
]
pruneopts = "T"
revision = "cb7014ea6ef60a6dfe23f5506703f84dd6310e15"
revision = "4f3cebba76819617ca08fbfb64c31ce2cd16058d"
[solve-meta]
analyzer-name = "dep"

View File

@ -81,7 +81,7 @@ skipped.
### Sample presubmit test script
```bash
source vendor/github.com/knative/test-infra/scripts/presubmit-tests.sh
source vendor/knative.dev/test-infra/scripts/presubmit-tests.sh
function post_build_tests() {
echo "Cleaning up after build tests"
@ -197,7 +197,7 @@ test cluster is created in a specific region, `us-west2`.
# This test requires a cluster in LA
E2E_CLUSTER_REGION=us-west2
source vendor/github.com/knative/test-infra/scripts/e2e-tests.sh
source vendor/knative.dev/test-infra/scripts/e2e-tests.sh
function knative_setup() {
start_latest_knative_serving
@ -281,7 +281,7 @@ This is a helper script for Knative release scripts. To use it:
### Sample release script
```bash
source vendor/github.com/knative/test-infra/scripts/release.sh
source vendor/knative.dev/test-infra/scripts/release.sh
function build_release() {
# config/ contains the manifests

View File

@ -320,7 +320,10 @@ function create_junit_xml() {
local failure=""
if [[ "$3" != "" ]]; then
# Transform newlines into HTML code.
local msg="$(echo -n "$3" | sed 's/$/\
/g' | tr -d '\n')"
# Also escape `<` and `>` as here: https://github.com/golang/go/blob/50bd1c4d4eb4fac8ddeb5f063c099daccfb71b26/src/encoding/json/encode.go#L48,
# this is temporary solution for fixing https://github.com/knative/test-infra/issues/1204,
# which should be obsolete once Test-infra 2.0 is in place
local msg="$(echo -n "$3" | sed 's/$/\&#xA;/g' | sed 's/</\\u003c/' | sed 's/>/\\u003e/' | tr -d '\n')"
failure="<failure message=\"Failed\" type=\"\">${msg}</failure>"
fi
cat << EOF > "${xml}"
@ -417,7 +420,7 @@ function update_licenses() {
cd ${REPO_ROOT_DIR} || return 1
local dst=$1
shift
run_go_tool github.com/knative/test-infra/tools/dep-collector dep-collector $@ > ./${dst}
run_go_tool knative.dev/test-infra/tools/dep-collector dep-collector $@ > ./${dst}
}
# Run dep-collector to check for forbidden liceses.
@ -427,7 +430,7 @@ function check_licenses() {
rm -fr ${GOPATH}/src/github.com/google/licenseclassifier
go get -u github.com/google/licenseclassifier
# Check that we don't have any forbidden licenses in our images.
run_go_tool github.com/knative/test-infra/tools/dep-collector dep-collector -check $@
run_go_tool knative.dev/test-infra/tools/dep-collector dep-collector -check $@
}
# Run the given linter on the given files, checking it exists first.

View File

@ -166,7 +166,7 @@ func (s *UntypedStore) OnConfigChanged(c *corev1.ConfigMap) {
return
}
s.logger.Infof("%s config %q config was added or updated: %v", s.name, name, result)
s.logger.Infof("%s config %q config was added or updated: %#v", s.name, name, result)
storage.Store(result)
go func() {