1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Allow to override repository organization

Given the repository is build and about-to-be tested under openshift organization
we need to change the kubernetes-incubator into openshift. Yet, keeping both repos still in sync.
This commit is contained in:
Jan Chaloupka
2018-03-29 16:31:43 +02:00
parent d26cd4b317
commit e41ef8cca3
4 changed files with 6 additions and 4 deletions

View File

@@ -15,5 +15,6 @@
#!/bin/bash
# This just run unit-tests. Ignoring the current directory so as to avoid running e2e tests.
go test $(go list github.com/kubernetes-incubator/descheduler/... | grep -v github.com/kubernetes-incubator/descheduler/vendor/| grep -v github.com/kubernetes-incubator/descheduler/test/)
PRJ_PREFIX="github.com/${REPO_ORG:-kubernetes-incubator}/descheduler"
go test $(go list ${PRJ_PREFIX}/... | grep -v ${PRJ_PREFIX}/vendor/| grep -v ${PRJ_PREFIX}/test/)