Skip to content

Commit a8c8016

Browse files
committed
hack: add quick and dirty check that nothing under staging imports from origin
1 parent 05f2552 commit a8c8016

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: hack/verify-imports.sh

+3
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ os::cmd::expect_success "import-verifier ${OS_ROOT}/hack/import-restrictions.jso
2020
# quick and dirty check that nothing under vendored kubernetes imports something from origin
2121
os::cmd::expect_failure "egrep -r '\"github.com/openshift/origin/[^\"]+\"$' vendor/k8s.io/kubernetes"
2222

23+
# quick and dirty check that nothing under origin staging imports from openshift/origin
24+
os::cmd::expect_failure "go list -deps -test ./staging/src/github.com/openshift/... | grep 'openshift/origin/pkg'"
25+
2326
os::test::junit::declare_suite_end

0 commit comments

Comments
 (0)