Add .zuul.yaml
Adds a .zuul.yaml to setup a job for image-diff.
This allows us to customise things without having
to do this in the zuul/config repo.
We also change what artifact we save and also
don’t run bazel tests as we don’t have it defined.
Doing that fixes the job, hence why we are doing
it in this repo as it’s a custom job.
Change-Id: If9af4729fce7529d7d972bc83a4a25e9f8ade802
diff --git a/.zuul.yaml b/.zuul.yaml
new file mode 100644
index 0000000..d21fdc6
--- /dev/null
+++ b/.zuul.yaml
@@ -0,0 +1,14 @@
+- job:
+ name: plugins-image-diff-build
+ parent: gerrit-plugin-build
+ vars:
+ bazelisk_artifacts:
+ - "bazel-bin/plugins/{{ gerrit_plugin }}/{{ gerrit_plugin }}.js"
+ bazelisk_test_targets: ""
+
+- project:
+ description: |
+ Build the plugin in check.
+ check:
+ jobs:
+ - plugins-image-diff-build