diff --git a/Jenkinsfile_k8s b/Jenkinsfile_k8s index 218edac..611aaf0 100644 --- a/Jenkinsfile_k8s +++ b/Jenkinsfile_k8s @@ -1 +1 @@ -parallelDockerUpdatecli([imageName: 'rsyncd', rebuildImageOnPeriodicJob: false, buildDockerConfig : [targetplatforms: 'linux/amd64,linux/arm64']]) +buildDockerAndPublishImage('rsyncd', [targetplatforms: 'linux/amd64,linux/arm64']) 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 2083e79..f57295c 100644 --- a/updatecli/values.yaml +++ b/updatecli/values.yaml @@ -1,7 +1,7 @@ +--- github: - user: "Jenkins Infra Bot (updatecli)" - email: "60776566+jenkins-infra-bot@users.noreply.github.com" - username: "jenkins-infra-bot" + user: "jenkins-infra-updatecli" + email: "178728+jenkins-infra-updatecli[bot]@users.noreply.github.com" token: "UPDATECLI_GITHUB_TOKEN" branch: "main" owner: "jenkins-infra"