aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-08-25 00:43:56 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-08-25 01:32:51 +0200
commit977c33e3d964c681bfa92c7dd520ac07e1ba0a28 (patch)
treeb05ebbb21c1c466f26bc9cfac93df44bcc593948
parentb5d8fe099d866e0774dfcaac24917e83de993028 (diff)
[build.sh] Use pipenv run instead of shell
JIRA: FUEL-383 Change-Id: Ia1b58f9e7eefd9f3efc4b5241ec496c545ccee25 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rwxr-xr-xci/build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/ci/build.sh b/ci/build.sh
index 3c8a5e7e9..a51a1358f 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -70,16 +70,16 @@ pushd "${DOCKER_DIR}" > /dev/null
pipenv --two
pipenv install
-pipenv shell \
- "invoke build saltmaster-reclass \
+pipenv install invoke
+pipenv run \
+ invoke build saltmaster-reclass \
--require 'salt salt-formulas opnfv reclass tini-saltmaster' \
--dist=ubuntu \
--dist-rel=xenial \
--formula-rev=nightly \
--opnfv-tag='${DOCKER_TAG}' \
--salt='stable 2017.7' \
- ${DOCKER_PUSH}; \
- exit"
+ ${DOCKER_PUSH}
popd > /dev/null