From: Trevor Bramwell Date: Fri, 12 Jan 2018 22:15:21 +0000 (-0800) Subject: Disable Interactivity for and enable Pharos Backup X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F50533%2F1;p=releng.git Disable Interactivity for and enable Pharos Backup When running docker commands from an interactive shell the '-it' flags are needed. Since the backup isn't running any interactive command, these flags aren't needed and failing the job due to a tty not being allocated to the Jenkins user. Change-Id: I9bd81faaf548b3247ee1992f6db9c0258ebfc1fb Signed-off-by: Trevor Bramwell --- diff --git a/jjb/pharos/pharos.yml b/jjb/pharos/pharos.yml index c721c8d87..d0db6a488 100644 --- a/jjb/pharos/pharos.yml +++ b/jjb/pharos/pharos.yml @@ -6,6 +6,8 @@ - '{name}' - '{name}-tools' + disabled: false + jobs: - '{project}-verify-basic' - 'backup-pharos-dashboard' @@ -28,7 +30,7 @@ mkdir -p $BACKUP_DIR echo "-- $(date +%Y%m%d) --" echo "Backing up Pharos Dashboard data..." - sudo docker run -it --rm \ + sudo docker run --rm \ -v pharos-data:/pharos-data:ro \ -v $TMP_DIR:/backup \ alpine \