Skip to content

Commit

Permalink
Take the container name from the environment (if there)
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
  • Loading branch information
robhoes committed Apr 26, 2016
1 parent 78f773c commit df4eef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/travis-build-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

set -eux

CONTAINER=build-env
CONTAINER_NAME=${CONTAINER_NAME:-build-env}
BUILDENV_USER=${BUILDENV_USER:-xenserver}
BUILDENV_BRANCH=${BUILDENV_BRANCH:-master}

Expand All @@ -43,7 +43,7 @@ REPO_BUILD_CMD=${REPO_BUILD_CMD-make}
REPO_TEST_CMD=${REPO_TEST_CMD-make test}
REPO_DOC_CMD=${REPO_DOC_CMD-}

python run.py -p $REPO_PACKAGE_NAME --name ${CONTAINER} \
python run.py -p $REPO_PACKAGE_NAME --name ${CONTAINER_NAME} \
-e "REPO_CONFIGURE_CMD=$REPO_CONFIGURE_CMD" \
-e "REPO_BUILD_CMD=$REPO_BUILD_CMD" \
-e "REPO_TEST_CMD=$REPO_TEST_CMD" \
Expand Down

0 comments on commit df4eef4

Please sign in to comment.