Actually fix the CentOS-CI builds (I hope)
It would be great to figure out how to get them to build a branch, so as to avoid disrupting git master. Sorry!
This commit is contained in:
@@ -12,7 +12,7 @@ import subprocess
|
|||||||
|
|
||||||
# static argv to be used if running script inline
|
# static argv to be used if running script inline
|
||||||
argv = [
|
argv = [
|
||||||
#'https://github.com/purpleidea/oh-my-vagrant', # giturl
|
#'https://github.com/purpleidea/mgmt', # giturl
|
||||||
#'master',
|
#'master',
|
||||||
#'make test',
|
#'make test',
|
||||||
]
|
]
|
||||||
@@ -35,7 +35,7 @@ if len(argv) <= 1:
|
|||||||
git_url = argv[1]
|
git_url = argv[1]
|
||||||
branch = 'master'
|
branch = 'master'
|
||||||
if len(argv) > 2: branch = argv[2]
|
if len(argv) > 2: branch = argv[2]
|
||||||
folder = os.path.splitext(os.path.basename(__file__))[0]
|
folder = os.path.basename(git_url) # should be project name
|
||||||
run = 'make vtest' # the omv vtest cmd is a good option to run from this target
|
run = 'make vtest' # the omv vtest cmd is a good option to run from this target
|
||||||
if len(argv) > 3: run = ' '.join(argv[3:])
|
if len(argv) > 3: run = ' '.join(argv[3:])
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" # dir!
|
|||||||
cd "$DIR" >/dev/null # work from main mgmt directory
|
cd "$DIR" >/dev/null # work from main mgmt directory
|
||||||
make build
|
make build
|
||||||
MGMT="$DIR/test/shell/mgmt"
|
MGMT="$DIR/test/shell/mgmt"
|
||||||
cp -a "$DIR/mgmt" "$MGMT" || cp -a "$GOBIN/mgmt" "$MGMT" # put a copy there
|
cp -a "$DIR/mgmt" "$MGMT" # put a copy there
|
||||||
failures=""
|
failures=""
|
||||||
count=0
|
count=0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user