diff --git a/Jenkinsfile_k8s b/Jenkinsfile_k8s index b85f3ca..f78c419 100644 --- a/Jenkinsfile_k8s +++ b/Jenkinsfile_k8s @@ -10,7 +10,7 @@ parallel( } } }, - 'docker-and-updatecli': { - parallelDockerUpdatecli([imageName: 'openvpn']) + 'Build and publish docker image': { + buildDockerAndPublishImage('openvpn') }, ) diff --git a/Jenkinsfile_updatecli b/Jenkinsfile_updatecli new file mode 100644 index 0000000..b02dbaa --- /dev/null +++ b/Jenkinsfile_updatecli @@ -0,0 +1,4 @@ +updatecli(action: 'diff') +if (env.BRANCH_IS_PRIMARY) { + updatecli(action: 'apply', cronTriggerExpression: '@weekly') +} diff --git a/updatecli/values.yaml b/updatecli/values.yaml index 06c39bc..79b3d4c 100644 --- a/updatecli/values.yaml +++ b/updatecli/values.yaml @@ -1,6 +1,7 @@ +--- github: - user: "Jenkins Infra Bot (updatecli)" - email: "60776566+jenkins-infra-bot@users.noreply.github.com" + user: "jenkins-infra-updatecli" + email: "178728+jenkins-infra-updatecli[bot]@users.noreply.github.com" token: "UPDATECLI_GITHUB_TOKEN" branch: "main" owner: "jenkins-infra"