diff --git a/hack/jenkins/job-configs/jenkins-gcloud-update.yaml b/hack/jenkins/job-configs/jenkins-gcloud-update.yaml new file mode 100644 index 00000000000..f7103b6895e --- /dev/null +++ b/hack/jenkins/job-configs/jenkins-gcloud-update.yaml @@ -0,0 +1,62 @@ +- job: + name: 'jenkins-gcloud-update' + description: 'Run gcloud components update. Test owner: spxtr.' + logrotate: + numToKeep: 200 + builders: + - shell: | + # Once updates are removed elsewhere, remove the flock (#18846) + sudo chown jenkins:jenkins /var/run/lock/gcloud-components.lock + sudo chown -R jenkins:jenkins /usr/local/share/google + ( + flock -x -w 60 9 + gcloud components update + gcloud components update alpha + gcloud components update beta + ) 9> /var/run/lock/gcloud-components.lock + +- job: + name: 'jenkins-gcloud-update-all' + description: 'Update gcloud components on all nodes. Test owner: spxtr.' + logrotate: + numToKeep: 200 + builders: + # Run jenkins-gcloud-update on all nodes. + - raw: + xml: | + + + + + + + + jenkins-gcloud-update + ALWAYS + false + + + FAILURE + 2 + RED + true + + + UNSTABLE + 1 + YELLOW + true + + + FAILURE + 2 + RED + true + + + false + + + + triggers: + - timed: '@daily'