Skip to content
Snippets Groups Projects
Commit 6bc82fca authored by Tucker Gary Siegel's avatar Tucker Gary Siegel
Browse files

u

parent af8265e8
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,8 @@ pipeline { ...@@ -13,8 +13,8 @@ pipeline {
stage('build') { stage('build') {
steps { steps {
git branch: 'main', git branch: 'main',
credentialsId: 'tucker-gitlab-login', credentialsId: 'tucker-gitlab-ssh',
url: 'https://gitlab.cs.umd.edu/dawn/go-backend/dawn-manager.git' url: 'git@gitlab.cs.umd.edu:dawn/go-backend/dawn-manager.git'
sh ''' sh '''
sudo docker build -t docker.registry.dawn.int:5000/dawn/dawn-manager:latest . -f Dockerfile sudo docker build -t docker.registry.dawn.int:5000/dawn/dawn-manager:latest . -f Dockerfile
...@@ -25,11 +25,7 @@ pipeline { ...@@ -25,11 +25,7 @@ pipeline {
stage('deploy') { stage('deploy') {
steps { steps {
dir('/home/kube/staging') { upgradeKubernetes('dawn-manager', 'staging')
sh 'git pull'
sh 'kubectl delete -f dawn-manager'
sh 'kubectl apply -f dawn-manager'
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment