Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: separate updatecli to its own pipeline #343

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Jenkinsfile_k8s
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ parallel(
}
}
},
'docker-and-updatecli': {
parallelDockerUpdatecli([imageName: 'openvpn'])
'Build and publish docker image': {
buildDockerAndPublishImage('openvpn')
},
)
4 changes: 4 additions & 0 deletions Jenkinsfile_updatecli
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
updatecli(action: 'diff')
if (env.BRANCH_IS_PRIMARY) {
updatecli(action: 'apply', cronTriggerExpression: '@weekly')
}
5 changes: 3 additions & 2 deletions updatecli/values.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down