All checks were successful
dustin/k8s-reboot-coordinator/pipeline/head This commit looks good
The new `kubeRolloutRestart` function works similarly to the `kubeRestartDeployment` function, but supports any kind of pod controller, including DaemonSet.
20 lines
353 B
Groovy
20 lines
353 B
Groovy
@Library('containerimages')
|
|
@Library('dch')
|
|
_
|
|
|
|
buildContainerImage2(
|
|
project: 'packages',
|
|
archlist: ['amd64', 'arm64'],
|
|
defaultBranch: 'master',
|
|
resources: [
|
|
cpu: 4,
|
|
memory: '2Gi',
|
|
],
|
|
)
|
|
|
|
stage('Deploy') {
|
|
when(env.BRANCH_NAME == "master") {
|
|
kubeRolloutRestart(kind: 'daemonset', namespace: 'default')
|
|
}
|
|
}
|