diff options
Diffstat (limited to 'jjb/oom')
-rwxr-xr-x | jjb/oom/include-yaml-check.sh | 14 | ||||
-rw-r--r-- | jjb/oom/offline-installer.yaml | 14 | ||||
-rw-r--r-- | jjb/oom/oom-jobs.yaml | 34 | ||||
-rw-r--r-- | jjb/oom/oom-oneclick-config.yaml | 8 | ||||
-rw-r--r-- | jjb/oom/oom-registrator.yaml | 8 |
5 files changed, 78 insertions, 0 deletions
diff --git a/jjb/oom/include-yaml-check.sh b/jjb/oom/include-yaml-check.sh new file mode 100755 index 000000000..27359e597 --- /dev/null +++ b/jjb/oom/include-yaml-check.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# setting-up bash flags +set -x -e -o pipefail + +# remove old ansible - current centos build minion +# is quite old and using incompatible ansible 2.4.x +sudo yum -y remove ansible +sudo pip install ansible ansible-lint + +# perform check +ansible --version +ansible-lint --version +ansible-lint ./ansible/site.yml -vvv diff --git a/jjb/oom/offline-installer.yaml b/jjb/oom/offline-installer.yaml new file mode 100644 index 000000000..ca2f15fc9 --- /dev/null +++ b/jjb/oom/offline-installer.yaml @@ -0,0 +1,14 @@ +--- +- project: + name: offline-installer + project-name: 'offline-installer' + build-node: centos7-builder-2c-1g + offline_build_script: !include-raw-escape: include-yaml-check.sh + + stream: + - 'master': + branch: 'master' + + jobs: + - '{project-name}-{stream}-yaml-lint': + build_script: '{offline_build_script}' diff --git a/jjb/oom/oom-jobs.yaml b/jjb/oom/oom-jobs.yaml new file mode 100644 index 000000000..02eae3fe3 --- /dev/null +++ b/jjb/oom/oom-jobs.yaml @@ -0,0 +1,34 @@ +--- +- job-template: + name: '{project-name}-{stream}-yaml-lint' + node: '{build-node}' + type: freestyle + build_script: '' + pattern: '**' + + parameters: + - lf-infra-parameters: + branch: '{branch}' + project: 'oom/{project-name}' + stream: '{stream}' + lftools-version: '{lftools-version}' + + scm: + - gerrit-trigger-scm: + refspec: '$GERRIT_REFSPEC' + submodule-recursive: '{submodule-recursive}' + choosing-strategy: 'gerrit' + + triggers: + - gerrit-trigger-patch-submitted: + server: '{server-name}' + project: 'oom/{project-name}' + branch: '{branch}' + files: '{obj:pattern}' + + builders: + - shell: '{obj:build_script}' + + publishers: + - lf-infra-publish + diff --git a/jjb/oom/oom-oneclick-config.yaml b/jjb/oom/oom-oneclick-config.yaml index 8e4b001b0..2daca91e2 100644 --- a/jjb/oom/oom-oneclick-config.yaml +++ b/jjb/oom/oom-oneclick-config.yaml @@ -47,3 +47,11 @@ - shell: !include-raw-escape: oneclick-config-make-tar.sh - shell: !include-raw-escape: oneclick-config-build-docker-image.sh - shell: !include-raw-escape: ../include-docker-push.sh + +- project: + name: oomconfig-info + project-name: oomconfig + jobs: + - gerrit-info-yaml-verify + project: oom + branch: master diff --git a/jjb/oom/oom-registrator.yaml b/jjb/oom/oom-registrator.yaml index 818d0100b..08380da9d 100644 --- a/jjb/oom/oom-registrator.yaml +++ b/jjb/oom/oom-registrator.yaml @@ -30,3 +30,11 @@ project-name: 'oom-registrator' branch: 'master' mvn-settings: 'oom-registrator-settings' + +- project: + name: oom-registrator-info + project-name: oom-registrator + jobs: + - gerrit-info-yaml-verify + project: oom/registrator + branch: master |