diff --git a/dawn-gdd/staging b/dawn-gdd/staging index f68f811ff574e6a87fb70ee92b55e81269211cd6..3a6966aa3bccdfcf51142a7c1fddf294f08c1b5e 100644 --- a/dawn-gdd/staging +++ b/dawn-gdd/staging @@ -1,46 +1 @@ -pipeline { - agent any - tools { - go 'go-1.16' - } - options { - buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '', numToKeepStr: '5') - } - stages { - - stage('checkout') { - steps { - git branch: 'staging', - credentialsId: 'tucker-gitlab-login', - url: 'https://gitlab.cs.umd.edu/dawn/go-backend/dawn-gdd.git' - } - } - - // stage('test') { - // steps { - // sh """ - // dawn-cli test - // """ - // } - // } - - stage('build') { - steps { - sh """ - dawn-cli build-image -p . - """ - } - } - - stage('update backend services') { - steps { - git branch: 'main', - credentialsId: 'tucker-gitlab-login', - url: 'https://gitlab.cs.umd.edu/dawn/go-backend/dawn-cli' - sh """ - dawn-cli deploy - """ - } - } - } -} \ No newline at end of file +backendServicePipeline "https://gitlab.cs.umd.edu/dawn/go-backend/dawn-gdd.git", "staging" \ No newline at end of file