diff options
author | 2017-07-17 20:47:04 +0200 | |
---|---|---|
committer | 2017-07-17 20:53:03 +0200 | |
commit | 8f0e845255585fde306a46be8011c6bf06bd2137 (patch) | |
tree | 9f1b23f9f5dfd76fab8b22caf15e0a68dfa3ac1b /jjb/armband | |
parent | c6cb6fae1560345d44a457e990f009b350835a1e (diff) |
armband-deploy.sh: sudo ci/deploy.sh
New MCP deploy scripts have a hard requirement on running as root.
Bring back sudo for the `ci/deploy.sh` invocation, aligning with
Fuel@OPNFV.
NOTE: This can be later avoided/reverted if we can guarantee the
"jenkins" user has sudo rights, even without a tty present.
Change-Id: Ibec7b14e9174a7f482609890e5e68912931a8d05
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'jjb/armband')
-rwxr-xr-x | jjb/armband/armband-deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/armband/armband-deploy.sh b/jjb/armband/armband-deploy.sh index 9964ed5cc..29c04fd3d 100755 --- a/jjb/armband/armband-deploy.sh +++ b/jjb/armband/armband-deploy.sh @@ -93,7 +93,7 @@ else fi # construct the command -DEPLOY_COMMAND="$WORKSPACE/ci/deploy.sh -b ${LAB_CONFIG_URL} \ +DEPLOY_COMMAND="sudo $WORKSPACE/ci/deploy.sh -b ${LAB_CONFIG_URL} \ -l $LAB_NAME -p $POD_NAME -s $DEPLOY_SCENARIO -i file://${ISO_FILE} \ -H -B ${DEFAULT_BRIDGE:-pxebr} -S $TMPDIR -L $WORKSPACE/$FUEL_LOG_FILENAME \ ${DEPLOY_CACHE}" |