- 'master':
branch: 'master'
mvn-params: '-P spring-boot-2-1'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-params: '-P spring-boot-2-1'
mvn-settings: 'aai-aai-common-settings'
mvn-version: 'mvn35'
build-node: centos7-docker-8c-8g
project: 'aai/babel'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-babel-settings'
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'aai-cacher-settings'
mvn-version: 'mvn35'
files: '**'
build-node: centos7-docker-8c-8g
project: 'aai/data-router'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-data-router-settings'
build-node: centos7-docker-8c-8g
project: 'aai/event-client'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-event-client-settings'
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'aai-graphadmin-settings'
mvn-version: 'mvn35'
files: '**'
build-node: centos7-docker-8c-8g
project: 'aai/logging-service'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-logging-service-settings'
build-node: centos7-docker-8c-8g
project: 'aai/model-loader'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-model-loader-settings'
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'aai-resources-settings'
mvn-version: 'mvn35'
files: '**'
build-node: centos7-docker-8c-8g
project: 'aai/rest-client'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-rest-client-settings'
build-node: centos7-docker-8c-8g
project: 'aai/router-core'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-router-core-settings'
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'aai-schema-service-settings'
mvn-version: 'mvn35'
files: '**'
project: 'aai/search-data-service'
docker-image-name: 'onap/search-data-service'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-search-data-service-settings'
build-node: centos7-docker-8c-8g
project: 'aai/sparky-be'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-sparky-be-settings'
build-node: centos7-docker-8c-8g
project: 'aai/sparky-fe'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-sparky-fe-settings'
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'aai-traversal-settings'
mvn-version: 'mvn35'
files: '**'
build-node: centos7-docker-8c-8g
project: 'aai/validation'
stream:
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
- 'master':
branch: 'master'
mvn-settings: 'aai-validation-settings'
build-node: centos7-builder-2c-1g
jobs:
- gerrit-info-yaml-verify
+
+- project:
+ name: cps-clm
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ jobs:
+ - gerrit-maven-clm
+ nexus-iq-namespace: 'onap-'
+ project: 'cps'
+ project-name: 'cps'
+ branch: 'master'
+ mvn-settings: 'cps-settings'
+ build-node: ubuntu1804-builder-4c-4g
+
+- project:
+ name: cps
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ project-name: 'cps'
+ project: 'cps'
+ jobs:
+ - '{project-name}-{stream}-verify-java'
+ - '{project-name}-{stream}-merge-java'
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ build-node: centos7-builder-4c-4g
+ maven-versions-plugin: true
+ - gerrit-maven-docker-stage:
+ build-node: centos7-docker-8c-8g
+ maven-versions-plugin: true
+ mvn-params: '-P docker'
+ container-public-registry: 'nexus3.onap.org:10001'
+ container-staging-registry: 'nexus3.onap.org:10003'
+ - '{project-name}-gerrit-release-jobs':
+ build-node: centos7-docker-8c-8g
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'cps-settings'
+ files: '**'
+ archive-artifacts: ''
+ build-node: ubuntu1804-builder-4c-4g
+
+- project:
+ name: cps-sonar
+ java-version: openjdk11
+ mvn-version: "mvn36"
+ maven-version: "mvn36"
+ jobs:
+ - gerrit-maven-sonar
+ sonarcloud: true
+ sonarcloud-project-organization: '{sonarcloud_project_organization}'
+ sonarcloud-api-token: '{sonarcloud_api_token}'
+ sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
+ sonar-mvn-goal: '{sonar_mvn_goal}'
+ cron: '@daily'
+ build-node: ubuntu1804-builder-4c-4g
+ project: 'cps'
+ project-name: 'cps'
+ branch: 'master'
+ mvn-settings: 'cps-settings'
+ mvn-goals: 'clean install'
+ mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
artifacts: '{archive-artifacts}'
-
+ - integration-unique-docker-tag:
+ unique-docker-tag: ''
scm:
- gerrit-trigger-scm:
refspec: ''
default: '{terragrunt-version}'
description: 'Terragrunt version to install on minion'
+- parameter:
+ name: integration-unique-docker-tag
+ parameters:
+ - string:
+ name: UNIQUE_DOCKER_TAG
+ default: '{unique-docker-tag}'
+ description: 'Unique docker tag to identify specific version'
+
- builder:
name: integration-install-robotframework
builders:
builders:
- shell: "${WORKSPACE}/run-csit.sh ${TESTPLAN} ${TESTOPTIONS}"
+- builder:
+ name: integration-run-project-test
+ builders:
+ - shell: "${WORKSPACE}/csit/run-project-csit.sh ${TESTPLAN} ${TESTOPTIONS}"
+
- builder:
name: integration-autorelease-fix-relativepaths
builders:
pass-threshold: '{pass-if}'
only-critical: false
+- publisher:
+ name: integration-project-robot
+ publishers:
+ - robot:
+ output-path: 'csit/archives'
+ other-files: ''
+ unstable-threshold: '{unstable-if}'
+ pass-threshold: '{pass-if}'
+ only-critical: false
+
- publisher:
name: integration-docker-compose-logs
publishers:
node: '{build-node}'
recipients: ''
java-version: 'openjdk11'
+ python-version: python3
properties:
- lf-infra-properties:
node: '{build-node}'
recipients: ''
java-version: 'openjdk11'
+ python-version: python3
properties:
- lf-infra-properties:
jobs: '{obj:trigger_jobs}'
builders:
+ - lf-infra-pre-build
- lf-update-java-alternatives:
java-version: '{java-version}'
- integration-install-robotframework
notify-every-unstable-build: false
send-to-individuals: true
+- job-template:
+ name: '{project-name}-{stream}-project-csit-{functionality}'
+ disabled: '{disabled}'
+
+ project-type: freestyle
+ build-node: 'ubuntu1804-docker-8c-8g'
+ node: '{build-node}'
+ recipients: ''
+ java-version: 'openjdk11'
+ python-version: python3
+
+ properties:
+ - lf-infra-properties:
+ project: '{project}'
+ build-days-to-keep: '{build-days-to-keep}'
+
+ parameters:
+ - infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - integration-test-plan:
+ test-plan: 'plans/{functionality}'
+ - integration-test-options:
+ test-options: '{robot-options}'
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+ submodule-recursive: '{submodule-recursive}'
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+
+ builders:
+ - lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: '{java-version}'
+ - integration-install-robotframework
+ - inject:
+ properties-file: 'env.properties'
+ - integration-run-project-test
+
+ publishers:
+ - integration-project-robot:
+ unstable-if: 0.0
+ pass-if: 100.0
+ - lf-infra-publish
+ - email:
+ recipients: '{recipients}'
+ notify-every-unstable-build: false
+ send-to-individuals: true
+
+- job-template:
+ name: '{project-name}-unified-review-{stream}-test'
+ disabled: '{disabled}'
+ project-type: freestyle
+ build-node: 'ubuntu1804-docker-8c-8g'
+ java-version: 'openjdk11'
+
+ properties:
+ - lf-infra-properties:
+ project: '{project}'
+ build-days-to-keep: '{build-days-to-keep}'
+ parameters:
+ - infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ scm:
+ - gerrit-trigger-scm:
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+ submodule-recursive: '{submodule-recursive}'
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+ builders:
+ - lf-infra-pre-build
+ - lf-maven-install:
+ mvn-version: "{mvn-version}"
+ - lf-update-java-alternatives:
+ java-version: "{java-version}"
+ - lf-provide-maven-settings:
+ global-settings-file: "{mvn-global-settings}"
+ settings-file: "{mvn-settings}"
+ - trigger-builds:
+ - project: "{project-name}-{stream}-docker-golang-shell-daily"
+ condition: UNSTABLE_OR_BETTER
+ predefined-parameters: |
+ UNIQUE_DOCKER_TAG=$BUILD_TAG
+ PROJECT=$PROJECT
+ BRANCH=$BRANCH
+ GERRIT_REFSPEC=$GERRIT_REFSPEC
+ block: true
+ - trigger-builds:
+ - project: '{project-name}-{stream}-project-csit-{review-functionality}'
+ condition: UNSTABLE_OR_BETTER
+ predefined-parameters: |
+ UNIQUE_DOCKER_TAG=$BUILD_TAG
+ PROJECT=$PROJECT
+ BRANCH=$BRANCH
+ GERRIT_REFSPEC=$GERRIT_REFSPEC
+ block: true
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ server: '{server-name}'
+ project: '{project}'
+ branch: '{branch}'
+ files: '**'
+ publishers:
+ - lf-infra-publish
+
--- /dev/null
+---
+- project:
+ name: integration-terragrunt-project-view
+ project-name: integration-terragrunt
+ views:
+ - project-view
+
+- project:
+ name: integration-terragrunt-info
+ project: integration/terragrunt
+ project-name: integration-terragrunt
+ build-node: centos7-builder-2c-1g
+ jobs:
+ - gerrit-info-yaml-verify
+
+- project:
+ name: integration-terragrunt-linters
+ project: integration/terragrunt
+ project-name: integration-terragrunt
+ python-version: python3
+ jobs:
+ - integration-linters
+ subproject:
+ - 'yaml':
+ tox-dir: '.'
+ tox-envs: 'yaml'
+ pattern: '**/*.yaml'
+ - 'yml':
+ tox-dir: '.'
+ tox-envs: 'yaml'
+ pattern: '**/*.yml'
+ - 'json':
+ tox-dir: '.'
+ tox-envs: 'json'
+ pattern: '**/*.json'
+ - 'python':
+ tox-dir: '.'
+ tox-envs: 'py'
+ pattern: '**/*.py'
+ - 'md':
+ tox-dir: '.'
+ tox-envs: 'md'
+ pattern: '**/*.md'
+ stream:
+ - 'master':
+ branch: 'master'
- 'frankfurt':
branch: 'frankfurt'
files: ''
+ - 'guilin':
+ branch: 'guilin'
+ files: ''
+ - 'develop':
+ branch: 'develop'
+ files: ''
docker-root: '$WORKSPACE'
mvn-settings: 'integration-settings'
build-node: ubuntu1804-docker-8c-8g
#!/bin/bash
echo '============== CALLING SCRIPT TO BUILD DOCKER IMAGES ================='
+echo "============== Unique docker tag: ${UNIQUE_DOCKER_TAG}"
CURRENTDIR="$(pwd)"
echo $CURRENTDIR
chmod 755 ./deployment/*.sh
cd ./deployment
-./docker-build.sh
+./docker-build.sh ${UNIQUE_DOCKER_TAG}
- project:
name: music-distributed-kv-store-csit
jobs:
- - '{project-name}-{stream}-verify-csit-{functionality}'
- - '{project-name}-{stream}-csit-{functionality}'
- project-name: 'music'
- disabled: true
+ - '{project-name}-{stream}-project-csit-{functionality}'
+ - '{project-name}-unified-review-{stream}-test'
+ project-name: 'music-distributed-kv-store'
+ project: 'music/distributed-kv-store'
stream: 'master'
+ java-version: openjdk11
+ mvn-version: 'mvn36'
+ mvn-settings: 'music-distributed-kv-store-settings'
+ mvn-global-settings: global-settings
functionality:
- - 'music-distributed-kv-store-test-plan':
- trigger_jobs: 'music-distributed-kv-store-master-docker-golang-shell-daily'
+ - 'music-distributed-kv-store-test-plan'
+ review-functionality: 'music-distributed-kv-store-test-plan'
robot-options: ''
branch: 'master'
---
- job-template:
name: '{project-name}-{stream}-image-verify'
- project-type: freestyle
- path: '$WORKSPACE'
concurrent: true
+ branch: master
+ submodule-recursive: true
+
+ build_script: ''
+ git-url: '$GIT_URL/$PROJECT'
+ post_build_script: ''
+ pre_build_script: ''
+ submodule-disable: false
+ submodule-timeout: 10
+ build-timeout: 180
+
+ project-type: freestyle
+ node: '{build-node}'
+
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+
+ parameters:
+ - lf-infra-parameters:
+ branch: '{branch}'
+ project: '{project}'
+ stream: '{stream}'
+ lftools-version: '{lftools-version}'
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+
+ publishers:
+ - lf-infra-publish
scm:
- gerrit-trigger-scm:
builders:
- lf-infra-pre-build
- - shell: 'make check-for-staging-images | true'
-
- publishers:
- - infra-shiplogs:
+ - shell: 'cd kubernetes; make check-for-staging-images 2>&1'
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'optf-cmso-settings'
java-version: openjdk11
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'optf-cmso-settings'
java-version: openjdk11
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'optf-has-settings'
subproject:
- 'conductor':
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'optf-has-settings'
- project:
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'optf-osdf-settings'
subproject:
- 'osdf':
stream:
- 'master':
branch: 'master'
- - 'frankfurt':
- branch: 'frankfurt'
+ - 'guilin':
+ branch: 'guilin'
mvn-settings: 'optf-osdf-settings'
- project:
container-public-registry: 'nexus3.onap.org:10001'
container-staging-registry: 'nexus3.onap.org:10003'
mvn-params: '-Dmaven.test.skip=true -P docker'
- maven-version: "mvn35"
+ maven-versions-plugin: true
cron: '@daily'
- '{project-name}-gerrit-release-jobs':
build-node: centos7-docker-8c-8g
deployAtEnd=true
files: '**'
archive-artifacts: ''
- maven-version: "mvn35"
+ maven-version: "mvn36"
build-node: ubuntu1804-builder-4c-4g
mvn-snapshot-id: 'ecomp-snapshots'
nexus-snapshot-repo: 'snapshots'
mvn-settings: 'sdnc-apps-settings'
mvn-goals: 'clean install'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- maven-version: "mvn35"
+ maven-version: "mvn36"
#
#- project: