aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/README.adoc
diff options
context:
space:
mode:
authorAndré Boddenberg <dr.blobb@gmail.com>2017-09-12 13:16:33 +0200
committerAndré Boddenberg <dr.blobb@gmail.com>2017-09-19 16:05:38 +0000
commit6c401be0957e47f58789bfbd9397813410f5fa4f (patch)
tree2f7f46e6e32ccf1f12d6f7a7dd94b469805532ac /jobs/README.adoc
parentb258f0cfc897d66e8d46478a6d6920a527f969b5 (diff)
Gerrit verification jobs as Jenkins Job Builder YAML [1] file.
All jobs are in jobs/ directory and will be automatically verified and deployed in a follow-up commit. Note: osmocom-nightly-nitb-split.yml has been moved to jobs/ dir. [1] https://docs.openstack.org/infra/jenkins-job-builder/ Change-Id: I04387367a6e2d737bfb50423c81a8908d3c2a89f
Diffstat (limited to 'jobs/README.adoc')
-rw-r--r--jobs/README.adoc31
1 files changed, 31 insertions, 0 deletions
diff --git a/jobs/README.adoc b/jobs/README.adoc
new file mode 100644
index 0000000..b8c8164
--- /dev/null
+++ b/jobs/README.adoc
@@ -0,0 +1,31 @@
+This "jobs" folder holds
+https://docs.openstack.org/infra/jenkins-job-builder/index.html[Jenkins Job Builder]
+YAML files, which define jenkins' jobs.
+
+One can declare a single job per file or create a job-template to declare several jobs of the same kind.
+The gerrit-verifications.yaml file for example holds all gerrit verification jobs.
+
+'''
+*WIP:* Furthermore, we're planning to automatically deploy merged changes by having two jobs based on gerrit events:
+
+pre-merge:
+
+- test generation of XML
+
+post-merge:
+
+- test generation of XML
+- deploy jobs
+
+'''
+The XML test generation is done by:
+
+ jenkins-jobs test jobs/
+
+
+The deployment will be done by:
+
+ jenkins-jobs --conf "$JJB_CONFIGFILE" update jobs/
+
+but it is not clear *yet* how we want to store/inject the `"$JJB_CONFIGFILE"` part.
+