summaryrefslogtreecommitdiffstats
path: root/jjb/pharos
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-01-12 14:15:21 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-01-12 14:36:09 -0800
commit069444d49b28115720386a60e3eb26b8a41be953 (patch)
tree99ac67bd848047a7ac67b50b63c41719d71c59f2 /jjb/pharos
parentae8038cc86d14f56001127fd0b503444071ab402 (diff)
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 <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/pharos')
-rw-r--r--jjb/pharos/pharos.yml4
1 files changed, 3 insertions, 1 deletions
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 \