Added tagging/versioning/publishing job templates
- Uses the CORD-style versioning workflow described here:
https://guide.opencord.org/developer/test_release_software.html#versioning-projects
but with refactoring and renaming for clarification.
- Added trellis-docs test/publish jobs using these templates
- Cleanup of defaults.yaml file
- Added rsync and virtualenv to ubuntu basebuild
Change-Id: I03692460a5b6eee6b8f131f0fbcc9c5957819ddd
diff --git a/jjb/repos/trellis-docs.yaml b/jjb/repos/trellis-docs.yaml
new file mode 100644
index 0000000..f9e5851
--- /dev/null
+++ b/jjb/repos/trellis-docs.yaml
@@ -0,0 +1,32 @@
+---
+# jobs for 'trellis-docs' repo
+
+- project:
+ name: trellis-docs
+ project: '{name}'
+
+ jobs:
+ - 'verify-trellis-docs-jobs':
+ branch-regexp: '{supported-branches-regexp}'
+ - 'publish-trellis-docs-jobs':
+ branch-regexp: '{supported-branches-regexp}'
+
+- job-group:
+ name: 'verify-trellis-docs-jobs'
+ jobs:
+ - 'verify-licensed'
+ - 'tag-check':
+ dependency-jobs: 'license-check_trellis-docs'
+ - 'make-test':
+ junit-allow-empty-results: true
+
+- job-group:
+ name: 'publish-trellis-docs-jobs'
+ jobs:
+ - 'version-tag'
+ - 'sync-dir':
+ dependency-jobs: 'version-tag_trellis-docs'
+ build-command: 'make html'
+ build-output-path: 'build/html'
+ sync-target-server: 'guide.opencord.org'
+ sync-target-path: '/var/www/trellis-docs/'