From 069444d49b28115720386a60e3eb26b8a41be953 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 12 Jan 2018 14:15:21 -0800 Subject: 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 --- jjb/pharos/pharos.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- cgit 1.2.3-korg