diff options
Diffstat (limited to 'jjb/oom')
-rw-r--r-- | jjb/oom/offline-installer.yaml | 2 | ||||
-rw-r--r-- | jjb/oom/oom-helm.yaml | 2 | ||||
-rw-r--r-- | jjb/oom/oom-oneclick-config.yaml | 2 | ||||
-rw-r--r-- | jjb/oom/oom-readiness.yaml | 61 | ||||
-rw-r--r-- | jjb/oom/oom-registrator.yaml | 15 | ||||
-rw-r--r-- | jjb/oom/oom-templates.yaml | 55 |
6 files changed, 128 insertions, 9 deletions
diff --git a/jjb/oom/offline-installer.yaml b/jjb/oom/offline-installer.yaml index 29d9422ad..5e96e1856 100644 --- a/jjb/oom/offline-installer.yaml +++ b/jjb/oom/offline-installer.yaml @@ -2,7 +2,7 @@ - project: name: offline-installer project-name: 'offline-installer' - build-node: 'ubuntu1604-docker-8c-8g' + build-node: 'ubuntu1804-docker-8c-8g' offline_review_bootstrap: !include-raw-escape: offline-installer-review-bootstrap.sh stream: diff --git a/jjb/oom/oom-helm.yaml b/jjb/oom/oom-helm.yaml index 5868f9fa1..4b0803c06 100644 --- a/jjb/oom/oom-helm.yaml +++ b/jjb/oom/oom-helm.yaml @@ -35,6 +35,8 @@ stream: - 'master': branch: 'master' + - 'frankfurt': + branch: 'frankfurt' - 'dublin': branch: 'dublin' - 'casablanca': diff --git a/jjb/oom/oom-oneclick-config.yaml b/jjb/oom/oom-oneclick-config.yaml index 1455f7f2f..8defb44ab 100644 --- a/jjb/oom/oom-oneclick-config.yaml +++ b/jjb/oom/oom-oneclick-config.yaml @@ -13,7 +13,7 @@ files: '**' archive-artifacts: '' build-timeout: 60 - build-node: ubuntu1604-docker-8c-8g + build-node: ubuntu1804-docker-8c-8g submodule-recursive: true jobs: diff --git a/jjb/oom/oom-readiness.yaml b/jjb/oom/oom-readiness.yaml new file mode 100644 index 000000000..b43b4a063 --- /dev/null +++ b/jjb/oom/oom-readiness.yaml @@ -0,0 +1,61 @@ +--- +- project: + name: oom-readiness-info + project-name: oom-readiness + jobs: + - gerrit-info-yaml-verify + build-node: centos7-builder-2c-1g + project: oom/readiness + branch: master + +- project: + name: oom-readiness-linters + project: oom/readiness + project-name: oom-readiness + python-version: python3 + jobs: + - oom-linters + subproject: + - 'yaml': + tox-dir: '.' + tox-envs: 'yaml' + pattern: '**/*.yaml' + - 'yml': + tox-dir: '.' + tox-envs: 'yaml' + pattern: '**/*.yml' + - 'py': + tox-dir: '.' + tox-envs: 'python' + pattern: '**/*.python' + stream: + - 'master': + branch: 'master' + - 'frankfurt': + branch: 'frankfurt' + +- project: + name: oom-readiness-release + project-name: oom-readiness + project: oom/readiness + mvn-settings: 'oom-settings' + jobs: + - '{project-name}-gerrit-release-jobs': + build-node: centos7-docker-8c-8g + +- project: + name: 'oom-readiness-docker' + jobs: + - gerrit-docker-verify + - gerrit-docker-merge + project-name: 'oom-readiness' + project: 'oom/readiness' + stream: + - 'master': + branch: 'master' + files: '' + docker-name: 'onap/oom/readiness' + docker-build-args: '-f ./Dockerfile' + docker-root: '$WORKSPACE' + mvn-settings: 'oom-settings' + build-node: ubuntu1804-docker-8c-8g diff --git a/jjb/oom/oom-registrator.yaml b/jjb/oom/oom-registrator.yaml index d625aba44..93fabe716 100644 --- a/jjb/oom/oom-registrator.yaml +++ b/jjb/oom/oom-registrator.yaml @@ -10,12 +10,13 @@ build-node: centos7-builder-4c-4g maven-versions-plugin: true - '{project-name}-{stream}-release-version-java-daily' - - '{project-name}-{stream}-docker-java-version-shell-daily': - docker-pom: 'pom.xml' - mvn-goals: 'install' - script: - !include-raw-escape: 'build-registrator-docker-image.sh' - build-node: ubuntu1604-docker-8c-8g + - gerrit-maven-docker-stage: + build-node: ubuntu1804-docker-8c-8g + maven-versions-plugin: true + mvn-pom: 'pom.xml' + container-public-registry: 'nexus3.onap.org:10001' + container-staging-registry: 'nexus3.onap.org:10003' + mvn-params: '-f pom.xml -Dmaven.test.skip=true -P linux,docker' - '{project-name}-gerrit-release-jobs': build-node: centos7-docker-8c-8g project: 'oom/registrator' @@ -25,7 +26,7 @@ mvn-settings: 'oom-registrator-settings' files: '**' archive-artifacts: '' - build-node: ubuntu1604-builder-4c-4g + build-node: ubuntu1804-builder-4c-4g - project: name: oom-registrator-clm diff --git a/jjb/oom/oom-templates.yaml b/jjb/oom/oom-templates.yaml new file mode 100644 index 000000000..3134bef03 --- /dev/null +++ b/jjb/oom/oom-templates.yaml @@ -0,0 +1,55 @@ +--- +- job-template: + # Job template for running linters against specific file formats + # + # Required Variables: + # python-version: Python version to deploy in venv + # tox-env: Tox environments to run + # tox-dir: Directory containing the project's tox.ini + # pattern: List of file patterns to scan + + name: '{project-name}-{stream}-{subproject}-lint' + id: oom-linters + project-type: freestyle + description: 'Job intended for running linters with Tox and Coala' + build-node: ubuntu1804-builder-4c-4g + node: '{build-node}' + + parameters: + - lf-infra-parameters: + project: '{project}' + stream: '{stream}' + branch: '{branch}' + - lf-infra-tox-parameters: + tox-dir: '{tox-dir}' + tox-envs: '{tox-envs}' + + properties: + - infra-properties: + build-days-to-keep: '{build-days-to-keep}' + + scm: + - gerrit-trigger-scm: + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + submodule-recursive: '{submodule-recursive}' + + wrappers: + - infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit-trigger-patch-submitted: + server: '{server-name}' + project: '{project}' + branch: '{branch}' + files: '{pattern}' + + builders: + - lf-infra-tox-install: + python-version: '{python-version}' + - lf-infra-tox-run: + parallel: 'false' + + publishers: + - lf-infra-publish |