ci: Restart production deployment after build
All checks were successful
dustin/k8s-reboot-coordinator/pipeline/head This commit looks good
All checks were successful
dustin/k8s-reboot-coordinator/pipeline/head This commit looks good
This commit is contained in:
11
ci/Jenkinsfile
vendored
11
ci/Jenkinsfile
vendored
@@ -1,4 +1,7 @@
|
||||
@Library('containerimages')_
|
||||
@Library('containerimages')
|
||||
@Library('dch')
|
||||
_
|
||||
|
||||
buildContainerImage2(
|
||||
project: 'packages',
|
||||
archlist: ['amd64', 'arm64'],
|
||||
@@ -8,3 +11,9 @@ buildContainerImage2(
|
||||
memory: '2Gi',
|
||||
],
|
||||
)
|
||||
|
||||
stage('Deploy') {
|
||||
when(env.BRANCH_NAME == "master") {
|
||||
kubeRestartDeployment(namespace: 'default')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user