From 6e4e72a5e3a859a3a3ae0b338977fed327224b83 Mon Sep 17 00:00:00 2001 From: chaodaiG <45011425+chaodaiG@users.noreply.github.com> Date: Wed, 31 Jul 2019 20:03:43 -0700 Subject: [PATCH] Use knative.dev/test-infra (#62) --- Gopkg.lock | 26 +++++++++---------- Gopkg.toml | 6 ++--- hack/update-deps.sh | 2 +- test/presubmit-tests.sh | 2 +- .../test-infra/LICENSE | 0 .../test-infra/scripts/README.md | 0 .../test-infra/scripts/dummy.go | 0 .../test-infra/scripts/e2e-tests.sh | 0 .../test-infra/scripts/library.sh | 0 .../scripts/markdown-link-check-config.rc | 0 .../scripts/markdown-lint-config.rc | 0 .../test-infra/scripts/presubmit-tests.sh | 0 .../test-infra/scripts/release.sh | 0 .../test-infra/tools/dep-collector/README.md | 0 .../test-infra/tools/dep-collector/imports.go | 0 .../tools/dep-collector/licenses.go | 0 .../test-infra/tools/dep-collector/main.go | 0 17 files changed, 18 insertions(+), 18 deletions(-) rename vendor/{github.com/knative => knative.dev}/test-infra/LICENSE (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/scripts/README.md (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/scripts/dummy.go (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/scripts/e2e-tests.sh (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/scripts/library.sh (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/scripts/markdown-link-check-config.rc (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/scripts/markdown-lint-config.rc (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/scripts/presubmit-tests.sh (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/scripts/release.sh (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/tools/dep-collector/README.md (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/tools/dep-collector/imports.go (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/tools/dep-collector/licenses.go (100%) rename vendor/{github.com/knative => knative.dev}/test-infra/tools/dep-collector/main.go (100%) diff --git a/Gopkg.lock b/Gopkg.lock index 8b11ecfe..2b6609df 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -260,17 +260,6 @@ pruneopts = "NUT" revision = "f2b4162afba35581b6d4a50d3b8f34e33c144682" -[[projects]] - branch = "master" - digest = "1:68050b4ce26531655bac0f6e109d04eb0a4550ead73e320119ed3c628ced4a0a" - name = "github.com/knative/test-infra" - packages = [ - "scripts", - "tools/dep-collector", - ] - pruneopts = "UT" - revision = "17f2331e80ad0d3e170ea2bae45c3922744f83af" - [[projects]] digest = "1:5985ef4caf91ece5d54817c11ea25f182697534f8ae6521eadcd628c142ac4b6" name = "github.com/matttproud/golang_protobuf_extensions" @@ -959,13 +948,22 @@ pruneopts = "T" revision = "972acd413fb96750dc6a4b98e4ba344c594a385b" +[[projects]] + branch = "master" + digest = "1:68050b4ce26531655bac0f6e109d04eb0a4550ead73e320119ed3c628ced4a0a" + name = "knative.dev/test-infra" + packages = [ + "scripts", + "tools/dep-collector", + ] + pruneopts = "UT" + revision = "17f2331e80ad0d3e170ea2bae45c3922744f83af" + [solve-meta] analyzer-name = "dep" analyzer-version = 1 input-imports = [ "github.com/google/go-cmp/cmp", - "github.com/knative/test-infra/scripts", - "github.com/knative/test-infra/tools/dep-collector", "k8s.io/api/core/v1", "k8s.io/apimachinery/pkg/api/equality", "k8s.io/apimachinery/pkg/api/errors", @@ -995,6 +993,8 @@ "knative.dev/pkg/injection", "knative.dev/pkg/kmeta", "knative.dev/pkg/logging", + "knative.dev/test-infra/scripts", + "knative.dev/test-infra/tools/dep-collector", ] solver-name = "gps-cdcl" solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml index 083e2719..4b1745ed 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -9,8 +9,8 @@ required = [ "k8s.io/code-generator/cmd/lister-gen", "k8s.io/code-generator/cmd/informer-gen", "knative.dev/pkg/codegen/cmd/injection-gen", - "github.com/knative/test-infra/scripts", - "github.com/knative/test-infra/tools/dep-collector", + "knative.dev/test-infra/scripts", + "knative.dev/test-infra/tools/dep-collector", ] [[override]] @@ -76,7 +76,7 @@ required = [ non-go = false [[prune.project]] - name = "github.com/knative/test-infra" + name = "knative.dev/test-infra" non-go = false [[prune.project]] diff --git a/hack/update-deps.sh b/hack/update-deps.sh index 4d947990..69dbd94f 100755 --- a/hack/update-deps.sh +++ b/hack/update-deps.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -source $(dirname $0)/../vendor/github.com/knative/test-infra/scripts/library.sh +source $(dirname $0)/../vendor/knative.dev/test-infra/scripts/library.sh set -o errexit set -o nounset diff --git a/test/presubmit-tests.sh b/test/presubmit-tests.sh index d5d89132..5885df9f 100755 --- a/test/presubmit-tests.sh +++ b/test/presubmit-tests.sh @@ -21,7 +21,7 @@ # Use the flags --build-tests, --unit-tests and --integration-tests # to run a specific set of tests. -source $(dirname $0)/../vendor/github.com/knative/test-infra/scripts/presubmit-tests.sh +source $(dirname $0)/../vendor/knative.dev/test-infra/scripts/presubmit-tests.sh # TODO(mattmoor): integration tests diff --git a/vendor/github.com/knative/test-infra/LICENSE b/vendor/knative.dev/test-infra/LICENSE similarity index 100% rename from vendor/github.com/knative/test-infra/LICENSE rename to vendor/knative.dev/test-infra/LICENSE diff --git a/vendor/github.com/knative/test-infra/scripts/README.md b/vendor/knative.dev/test-infra/scripts/README.md similarity index 100% rename from vendor/github.com/knative/test-infra/scripts/README.md rename to vendor/knative.dev/test-infra/scripts/README.md diff --git a/vendor/github.com/knative/test-infra/scripts/dummy.go b/vendor/knative.dev/test-infra/scripts/dummy.go similarity index 100% rename from vendor/github.com/knative/test-infra/scripts/dummy.go rename to vendor/knative.dev/test-infra/scripts/dummy.go diff --git a/vendor/github.com/knative/test-infra/scripts/e2e-tests.sh b/vendor/knative.dev/test-infra/scripts/e2e-tests.sh similarity index 100% rename from vendor/github.com/knative/test-infra/scripts/e2e-tests.sh rename to vendor/knative.dev/test-infra/scripts/e2e-tests.sh diff --git a/vendor/github.com/knative/test-infra/scripts/library.sh b/vendor/knative.dev/test-infra/scripts/library.sh similarity index 100% rename from vendor/github.com/knative/test-infra/scripts/library.sh rename to vendor/knative.dev/test-infra/scripts/library.sh diff --git a/vendor/github.com/knative/test-infra/scripts/markdown-link-check-config.rc b/vendor/knative.dev/test-infra/scripts/markdown-link-check-config.rc similarity index 100% rename from vendor/github.com/knative/test-infra/scripts/markdown-link-check-config.rc rename to vendor/knative.dev/test-infra/scripts/markdown-link-check-config.rc diff --git a/vendor/github.com/knative/test-infra/scripts/markdown-lint-config.rc b/vendor/knative.dev/test-infra/scripts/markdown-lint-config.rc similarity index 100% rename from vendor/github.com/knative/test-infra/scripts/markdown-lint-config.rc rename to vendor/knative.dev/test-infra/scripts/markdown-lint-config.rc diff --git a/vendor/github.com/knative/test-infra/scripts/presubmit-tests.sh b/vendor/knative.dev/test-infra/scripts/presubmit-tests.sh similarity index 100% rename from vendor/github.com/knative/test-infra/scripts/presubmit-tests.sh rename to vendor/knative.dev/test-infra/scripts/presubmit-tests.sh diff --git a/vendor/github.com/knative/test-infra/scripts/release.sh b/vendor/knative.dev/test-infra/scripts/release.sh similarity index 100% rename from vendor/github.com/knative/test-infra/scripts/release.sh rename to vendor/knative.dev/test-infra/scripts/release.sh diff --git a/vendor/github.com/knative/test-infra/tools/dep-collector/README.md b/vendor/knative.dev/test-infra/tools/dep-collector/README.md similarity index 100% rename from vendor/github.com/knative/test-infra/tools/dep-collector/README.md rename to vendor/knative.dev/test-infra/tools/dep-collector/README.md diff --git a/vendor/github.com/knative/test-infra/tools/dep-collector/imports.go b/vendor/knative.dev/test-infra/tools/dep-collector/imports.go similarity index 100% rename from vendor/github.com/knative/test-infra/tools/dep-collector/imports.go rename to vendor/knative.dev/test-infra/tools/dep-collector/imports.go diff --git a/vendor/github.com/knative/test-infra/tools/dep-collector/licenses.go b/vendor/knative.dev/test-infra/tools/dep-collector/licenses.go similarity index 100% rename from vendor/github.com/knative/test-infra/tools/dep-collector/licenses.go rename to vendor/knative.dev/test-infra/tools/dep-collector/licenses.go diff --git a/vendor/github.com/knative/test-infra/tools/dep-collector/main.go b/vendor/knative.dev/test-infra/tools/dep-collector/main.go similarity index 100% rename from vendor/github.com/knative/test-infra/tools/dep-collector/main.go rename to vendor/knative.dev/test-infra/tools/dep-collector/main.go