Validation jobs for repo manifests
Change-Id: I4c8656be00e1847ceb291fc6142d5bf24e3ffae0
diff --git a/jjb/release.yaml b/jjb/release.yaml
new file mode 100644
index 0000000..d3bcff7
--- /dev/null
+++ b/jjb/release.yaml
@@ -0,0 +1,47 @@
+---
+# release and repo manifest related jobs
+
+- job-template:
+ id: verify-repo-manifest
+ name: 'verify_{project}_repo-manifest'
+ description: |
+ <!-- Managed by Jenkins Job Builder -->
+ Created by verify-repo-manifest job-template from ci-management/jjb/release.yaml
+
+ triggers:
+ - cord-infra-gerrit-trigger-patchset:
+ gerrit-server-name: '{gerrit-server-name}'
+ project-regexp: '^{project}$'
+ branch-regexp: '{branch-regexp}'
+ file-include-regexp: '{all-files-regexp}'
+ dependency-jobs: '{dependency-jobs}'
+
+ properties:
+ - cord-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+ artifact-num-to-keep: '{artifact-num-to-keep}'
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+
+ scm:
+ - lf-infra-gerrit-scm:
+ git-url: '$GIT_URL/$GERRIT_PROJECT'
+ refspec: '$GERRIT_REFSPEC'
+ branch: '$GERRIT_BRANCH'
+ submodule-recursive: 'false'
+ choosing-strategy: gerrit
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+
+ node: '{build-node}'
+ project-type: freestyle
+ concurrent: true
+
+ builders:
+ - shell: |
+ #/usr/bin/env bash
+ set -eu -o pipefail
+ ./validate_manifest.sh
+
diff --git a/jjb/verify/manifest.yaml b/jjb/verify/manifest.yaml
new file mode 100644
index 0000000..e5cdd15
--- /dev/null
+++ b/jjb/verify/manifest.yaml
@@ -0,0 +1,17 @@
+---
+# verification jobs for 'manifest' repo
+
+- project:
+ name: manifest
+ project: '{name}'
+
+ jobs:
+ - 'verify-manifest-jobs':
+ branch-regexp: '{supported-branches-regexp}'
+
+- job-group:
+ name: 'verify-manifest-jobs'
+ jobs:
+ - 'verify-repo-manifest'
+
+
diff --git a/jjb/verify/qa-manifest.yaml b/jjb/verify/qa-manifest.yaml
new file mode 100644
index 0000000..09bfbc9
--- /dev/null
+++ b/jjb/verify/qa-manifest.yaml
@@ -0,0 +1,16 @@
+---
+# verification jobs for 'qa-manifest' repo
+
+- project:
+ name: qa-manifest
+ project: '{name}'
+
+ jobs:
+ - 'verify-qa-manifest-jobs':
+ branch-regexp: '{supported-branches-regexp}'
+
+- job-group:
+ name: 'verify-qa-manifest-jobs'
+ jobs:
+ - 'verify-repo-manifest'
+