feat: add copybara-base job
Change-Id: I0b5aa5b72d00612d3444cc714fb8ad1d983ace72
diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml
index 7cbf599..33046a5 100644
--- a/zuul.d/jobs.yaml
+++ b/zuul.d/jobs.yaml
@@ -24,3 +24,25 @@
secrets:
- name: s3_config
secret: s3-secrets
+
+- job:
+ name: copybara-base
+ parent: base
+ description: |
+ Base job for jobs which deal with Copybara.
+
+ It sets up the git credentials for the Copybara bot.
+ pre-run:
+ - playbooks/copybara-base/pre.yaml
+ cleanup-run:
+ - playbooks/copybara-base/cleanup.yaml
+ roles:
+ - zuul: zuul/jobs
+ post-review: true
+ nodeset:
+ nodes:
+ - name: copybara
+ label: copybara
+ secrets:
+ - name: copybara_secrets
+ secret: copybara-secrets