From 0b41fc4bce94367facf10129cbf19cf0db0d0be6 Mon Sep 17 00:00:00 2001 From: Tucker Siegel <tgsiegel@terpmail.umd.edu> Date: Tue, 11 Oct 2022 13:26:51 -0400 Subject: [PATCH] update manager --- dawn-manager/staging | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/dawn-manager/staging b/dawn-manager/staging index fcb3ad8..689b438 100644 --- a/dawn-manager/staging +++ b/dawn-manager/staging @@ -25,28 +25,11 @@ pipeline { stage('deploy') { steps { - sh 'whoami' - sh 'pwd' - sh ''' - cd /home/ - pwd - ls -l - ''' - sh ''' - cd /home/kube - pwd - ls -l - ''' - // sh 'echo $HOSTNAME' - // dir('/') { - // sh 'ls- l' - // } - - // dir('/home/kube/staging') { - // sh 'git pull' - // sh 'kubectl delete -f dawn-manager' - // sh 'kubectl apply -f dawn-manager' - // } + dir('/home/kube/staging') { + sh 'git pull' + sh 'kubectl delete -f dawn-manager' + sh 'kubectl apply -f dawn-manager' + } } } } -- GitLab