ci: Restart production deployment after build
dustin/k8s-reboot-coordinator/pipeline/head This commit looks good Details

master
Dustin 2025-09-27 09:46:05 -05:00
parent 2596864c8c
commit 93c86f0fe3
1 changed files with 10 additions and 1 deletions

11
ci/Jenkinsfile vendored
View File

@ -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')
}
}