diff options
75 files changed, 931 insertions, 68 deletions
diff --git a/jjb/aaf/aaf-authz.yaml b/jjb/aaf/aaf-authz.yaml new file mode 100644 index 000000000..a1dd7a479 --- /dev/null +++ b/jjb/aaf/aaf-authz.yaml @@ -0,0 +1,22 @@ +--- +- project: + name: aaf-authz + project-name: 'aaf-authz' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'aaf/authz/pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + mvn-goals: 'clean install' + project: 'aaf/authz' + stream: + - 'master': + branch: 'master' + - 'release-1.0.0': + branch: 'release-1.0.0' + mvn-settings: 'aaf-authz-settings' + files: '**' + archive-artifacts: ''
\ No newline at end of file diff --git a/jjb/aaf/aaf-cadi.yaml b/jjb/aaf/aaf-cadi.yaml new file mode 100644 index 000000000..f10fc82b8 --- /dev/null +++ b/jjb/aaf/aaf-cadi.yaml @@ -0,0 +1,22 @@ +--- +- project: + name: aaf-cadi + project-name: 'aaf-cadi' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'aaf/cadi/pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + mvn-goals: 'clean install' + project: 'aaf/cadi' + stream: + - 'master': + branch: 'master' + - 'release-1.0.0': + branch: 'release-1.0.0' + mvn-settings: 'aaf-cadi-settings' + files: '**' + archive-artifacts: ''
\ No newline at end of file diff --git a/jjb/aaf/aaf-inno.yaml b/jjb/aaf/aaf-inno.yaml new file mode 100644 index 000000000..b3bfbd669 --- /dev/null +++ b/jjb/aaf/aaf-inno.yaml @@ -0,0 +1,22 @@ +--- +- project: + name: aaf-inno + project-name: 'aaf-inno' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'aaf/inno/pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + mvn-goals: 'clean install' + project: 'aaf/inno' + stream: + - 'master': + branch: 'master' + - 'release-1.0.0': + branch: 'release-1.0.0' + mvn-settings: 'aaf-inno-settings' + files: '**' + archive-artifacts: ''
\ No newline at end of file diff --git a/jjb/aai/aai-champ.yaml b/jjb/aai/aai-champ.yaml new file mode 100644 index 000000000..666d79395 --- /dev/null +++ b/jjb/aai/aai-champ.yaml @@ -0,0 +1,21 @@ +--- +- project: + name: aai-champ + project-name: 'aai-champ' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'aai/champ' + stream: + - 'master': + branch: 'master' + mvn-settings: 'aai-champ-settings' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/aai/aai-csit.yaml b/jjb/aai/aai-csit.yaml new file mode 100644 index 000000000..41a6805f6 --- /dev/null +++ b/jjb/aai/aai-csit.yaml @@ -0,0 +1,13 @@ +--- +- project: + name: aai-csit + jobs: + - '{project-name}-{stream}-verify-csit-{functionality}' + - '{project-name}-{stream}-csit-{functionality}' + project-name: 'aai' + stream: 'master' + functionality: + - 'search-data-service': + trigger_jobs: + robot-options: '' + branch: 'master' diff --git a/jjb/aai/aai-esr-gui.yaml b/jjb/aai/aai-esr-gui.yaml new file mode 100644 index 000000000..f62a5a063 --- /dev/null +++ b/jjb/aai/aai-esr-gui.yaml @@ -0,0 +1,21 @@ +--- +- project: + name: aai-esr-gui + project-name: 'aai-esr-gui' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'aai/esr-gui' + stream: + - 'master': + branch: 'master' + mvn-settings: 'aai-esr-gui-settings' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/aai/aai-esr-server.yaml b/jjb/aai/aai-esr-server.yaml new file mode 100644 index 000000000..762df8528 --- /dev/null +++ b/jjb/aai/aai-esr-server.yaml @@ -0,0 +1,21 @@ +--- +- project: + name: aai-esr-server + project-name: 'aai-esr-server' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'aai/esr-server' + stream: + - 'master': + branch: 'master' + mvn-settings: 'aai-esr-server-settings' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/ccsdk/dashboard.yaml b/jjb/ccsdk/dashboard.yaml new file mode 100644 index 000000000..6fc991f0f --- /dev/null +++ b/jjb/ccsdk/dashboard.yaml @@ -0,0 +1,25 @@ +--- +- project: + name: ccsdk-dashboard + project-name: 'ccsdk-dashboard' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'ccsdk/dashboard' + stream: + - 'master': + branch: 'master' + mvn-settings: 'ccsdk-dashboard-settings' + # due to a strange macro / variable translation problem this needs to be + # passed as a string block to properly get the properties correctly defined + # in the job + maven-deploy-properties: | + deployAtEnd=true + files: '**' + archive-artifacts: '' diff --git a/jjb/ccsdk/distribution.yaml b/jjb/ccsdk/distribution.yaml new file mode 100644 index 000000000..8ed8716fd --- /dev/null +++ b/jjb/ccsdk/distribution.yaml @@ -0,0 +1,23 @@ +--- +- project: + name: ccsdk-distribution + project-name: 'ccsdk-distribution' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-docker-java-daily' + - '{project-name}-{stream}-docker-version-java-daily' + - '{project-name}-docker-image-blessing' + + project: 'ccsdk/distribution' + stream: + - 'master': + branch: 'master' + mvn-settings: 'ccsdk-distribution-settings' + files: '**' + archive-artifacts: '' + docker-pom: 'pom.xml' + mvn-profile: docker + build-node: ubuntu1604-docker-8c-8g diff --git a/jjb/ccsdk/parent.yaml b/jjb/ccsdk/parent.yaml index 3cc952de6..e8a667d17 100644 --- a/jjb/ccsdk/parent.yaml +++ b/jjb/ccsdk/parent.yaml @@ -15,8 +15,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'ccsdk-parent-settings' # due to a strange macro / variable translation problem this needs to be # passed as a string block to properly get the properties correctly defined diff --git a/jjb/ccsdk/platform-blueprints.yaml b/jjb/ccsdk/platform-blueprints.yaml new file mode 100644 index 000000000..969d30ef7 --- /dev/null +++ b/jjb/ccsdk/platform-blueprints.yaml @@ -0,0 +1,25 @@ +--- +- project: + name: ccsdk-platform-blueprints + project-name: 'ccsdk-platform-blueprints' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'ccsdk/platform/blueprints' + stream: + - 'master': + branch: 'master' + mvn-settings: 'ccsdk-platform-blueprints-settings' + # due to a strange macro / variable translation problem this needs to be + # passed as a string block to properly get the properties correctly defined + # in the job + maven-deploy-properties: | + deployAtEnd=true + files: '**' + archive-artifacts: '' diff --git a/jjb/ccsdk/platform-nbapi.yaml b/jjb/ccsdk/platform-nbapi.yaml new file mode 100644 index 000000000..cf7e85cd6 --- /dev/null +++ b/jjb/ccsdk/platform-nbapi.yaml @@ -0,0 +1,25 @@ +--- +- project: + name: ccsdk-platform-nbapi + project-name: 'ccsdk-platform-nbapi' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'ccsdk/platform/nbapi' + stream: + - 'master': + branch: 'master' + mvn-settings: 'ccsdk-platform-nbapi-settings' + # due to a strange macro / variable translation problem this needs to be + # passed as a string block to properly get the properties correctly defined + # in the job + maven-deploy-properties: | + deployAtEnd=true + files: '**' + archive-artifacts: '' diff --git a/jjb/ccsdk/platform-plugins.yaml b/jjb/ccsdk/platform-plugins.yaml new file mode 100644 index 000000000..b21580115 --- /dev/null +++ b/jjb/ccsdk/platform-plugins.yaml @@ -0,0 +1,25 @@ +--- +- project: + name: ccsdk-platform-plugins + project-name: 'ccsdk-platform-plugins' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'ccsdk/platform/plugins' + stream: + - 'master': + branch: 'master' + mvn-settings: 'ccsdk-platform-plugins-settings' + # due to a strange macro / variable translation problem this needs to be + # passed as a string block to properly get the properties correctly defined + # in the job + maven-deploy-properties: | + deployAtEnd=true + files: '**' + archive-artifacts: '' diff --git a/jjb/ccsdk/sli-adaptors.yaml b/jjb/ccsdk/sli-adaptors.yaml index d2440fff3..8f41b5d9e 100644 --- a/jjb/ccsdk/sli-adaptors.yaml +++ b/jjb/ccsdk/sli-adaptors.yaml @@ -15,8 +15,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'ccsdk-sli-adaptors-settings' # due to a strange macro / variable translation problem this needs to be # passed as a string block to properly get the properties correctly defined diff --git a/jjb/ccsdk/sli-core.yaml b/jjb/ccsdk/sli-core.yaml index 548eaeb00..ed24c5aa7 100644 --- a/jjb/ccsdk/sli-core.yaml +++ b/jjb/ccsdk/sli-core.yaml @@ -15,8 +15,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'ccsdk-sli-core-settings' # due to a strange macro / variable translation problem this needs to be # passed as a string block to properly get the properties correctly defined diff --git a/jjb/ccsdk/sli-northbound.yaml b/jjb/ccsdk/sli-northbound.yaml index 4e3306f3f..1e505f64d 100644 --- a/jjb/ccsdk/sli-northbound.yaml +++ b/jjb/ccsdk/sli-northbound.yaml @@ -15,8 +15,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'ccsdk-sli-northbound-settings' # due to a strange macro / variable translation problem this needs to be # passed as a string block to properly get the properties correctly defined diff --git a/jjb/ccsdk/sli-plugins.yaml b/jjb/ccsdk/sli-plugins.yaml index f6d75ea91..be14584e0 100644 --- a/jjb/ccsdk/sli-plugins.yaml +++ b/jjb/ccsdk/sli-plugins.yaml @@ -15,8 +15,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'ccsdk-sli-plugins-settings' # due to a strange macro / variable translation problem this needs to be # passed as a string block to properly get the properties correctly defined diff --git a/jjb/ccsdk/storage-esaas.yaml b/jjb/ccsdk/storage-esaas.yaml index 5c91767aa..49a957233 100644 --- a/jjb/ccsdk/storage-esaas.yaml +++ b/jjb/ccsdk/storage-esaas.yaml @@ -15,8 +15,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'ccsdk-storage-esaas-settings' # due to a strange macro / variable translation problem this needs to be # passed as a string block to properly get the properties correctly defined diff --git a/jjb/ccsdk/storage-pgaas.yaml b/jjb/ccsdk/storage-pgaas.yaml index e24f67fd2..e1831e539 100644 --- a/jjb/ccsdk/storage-pgaas.yaml +++ b/jjb/ccsdk/storage-pgaas.yaml @@ -15,8 +15,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'ccsdk-storage-pgaas-settings' # due to a strange macro / variable translation problem this needs to be # passed as a string block to properly get the properties correctly defined diff --git a/jjb/ccsdk/utils.yaml b/jjb/ccsdk/utils.yaml new file mode 100644 index 000000000..191aa049a --- /dev/null +++ b/jjb/ccsdk/utils.yaml @@ -0,0 +1,25 @@ +--- +- project: + name: ccsdk-utils + project-name: 'ccsdk-utils' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'ccsdk/utils' + stream: + - 'master': + branch: 'master' + mvn-settings: 'ccsdk-utils-settings' + # due to a strange macro / variable translation problem this needs to be + # passed as a string block to properly get the properties correctly defined + # in the job + maven-deploy-properties: | + deployAtEnd=true + files: '**' + archive-artifacts: '' diff --git a/jjb/ci-management/ci-management.yaml b/jjb/ci-management/ci-management.yaml index 39d57188d..141731bc4 100644 --- a/jjb/ci-management/ci-management.yaml +++ b/jjb/ci-management/ci-management.yaml @@ -19,6 +19,7 @@ templates: - basebuild - docker + - redis exclude: # only build the docker image on ubuntu at present diff --git a/jjb/clamp/clamp.yaml b/jjb/clamp/clamp.yaml index 1004a2c9c..d5b04fecb 100644 --- a/jjb/clamp/clamp.yaml +++ b/jjb/clamp/clamp.yaml @@ -6,12 +6,14 @@ jobs: - '{project-name}-{stream}-verify-java-checkstyle' - '{project-name}-{stream}-merge-properties-java': - maven-properties: | - docker.pull.registry=nexus3.onap.org:10001 - docker.push.registry=nexus3.onap.org:10003 + mvn_properties: + - docker.pull.registry=nexus3.onap.org:10001 + - docker.push.registry=nexus3.onap.org:10003 - '{project-name}-{stream}-release-java-daily-checkstyle': - maven-deploy-properties: | - skipDockerBuild + mvn_properties: + - skipDockerBuild=true + - skipDockerTag=true + - skipDockerPush=true - '{project-name}-{stream}-docker-java-properties-daily': docker-pom: 'pom.xml' mvn-profile: 'docker' diff --git a/jjb/cli/cli.yaml b/jjb/cli/cli.yaml index 66e707b35..d7685b963 100644 --- a/jjb/cli/cli.yaml +++ b/jjb/cli/cli.yaml @@ -11,13 +11,18 @@ - '{project-name}-{stream}-stage-site-java': site-pom: 'pom.xml' trigger-job: '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-docker-version-java-daily': + docker-pom: 'pom.xml' + mvn-profile: 'docker' + maven-properties: | + skip.docker.build=false + skip.docker.tag=false + skip.docker.push=false project: 'cli' stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'cli-settings' files: '**' archive-artifacts: '' diff --git a/jjb/dcaegen2/dcaegen2-platform-configbinding.yaml b/jjb/dcaegen2/dcaegen2-platform-configbinding.yaml new file mode 100644 index 000000000..df4ba7a17 --- /dev/null +++ b/jjb/dcaegen2/dcaegen2-platform-configbinding.yaml @@ -0,0 +1,19 @@ +--- +- project: + name: dcaegen2-platform-configbinding + project-name: 'dcaegen2-platform-configbinding' + subproject: + - platform-configbinding: + path: '.' + pattern: '**' + jobs: + - '{project-name}-{stream}-{subproject}-verify-python' + + project: 'dcaegen2/platform/configbinding' + + stream: + - 'master': + branch: 'master' + - 'release-1.0.0': + branch: 'release-1.0.0' + mvn-settings: 'dcaegen2-platform-configbinding-settings' diff --git a/jjb/dmaap/dmaap-datarouter.yaml b/jjb/dmaap/dmaap-datarouter.yaml new file mode 100644 index 000000000..4589c4f4c --- /dev/null +++ b/jjb/dmaap/dmaap-datarouter.yaml @@ -0,0 +1,23 @@ +--- +- project: + name: dmaap-datarouter + project-name: 'dmaap-datarouter' + project: 'dmaap/datarouter' + stream: + - 'master': + branch: 'master' + mvn-settings: 'dmaap-datarouter-settings' + subproject: + - 'datarouter-prov': + pom: 'datarouter-prov/pom.xml' + pattern: 'datarouter-prov/**' + mvn-goals: 'clean install' + - 'datarouter-node': + pom: 'datarouter-node/pom.xml' + pattern: 'datarouter-node/**' + mvn-goals: 'clean install' + jobs: + - '{project-name}-{stream}-{subproject}-verify-java' + - '{project-name}-{stream}-{subproject}-merge-java' + files: '**' + archive-artifacts: ''
\ No newline at end of file diff --git a/jjb/dmaap/dmaap-messagerouter.yaml b/jjb/dmaap/dmaap-messagerouter.yaml new file mode 100644 index 000000000..a0c806e00 --- /dev/null +++ b/jjb/dmaap/dmaap-messagerouter.yaml @@ -0,0 +1,27 @@ +--- +- project: + name: dmaap-messagerouter + project-name: 'dmaap-messagerouter' + project: 'dmaap/messagerouter' + stream: + - 'master': + branch: 'master' + mvn-settings: 'dmaap-messagerouter-settings' + subproject: + - 'Msgrtr': + pom: 'Msgrtr/pom.xml' + pattern: 'Msgrtr/**' + mvn-goals: 'clean install' + - 'dmaap': + pom: 'dmaap/pom.xml' + pattern: 'dmaap/**' + mvn-goals: 'clean install' + - 'dmaapClient': + pom: 'dmaapClient/pom.xml' + pattern: 'dmaapClient/**' + mvn-goals: 'clean install' + jobs: + - '{project-name}-{stream}-{subproject}-verify-java' + - '{project-name}-{stream}-{subproject}-merge-java' + files: '**' + archive-artifacts: ''
\ No newline at end of file diff --git a/jjb/doc/doc-post-rtd.sh b/jjb/doc/doc-post-rtd.sh new file mode 100644 index 000000000..5c8d8c52f --- /dev/null +++ b/jjb/doc/doc-post-rtd.sh @@ -0,0 +1,9 @@ +#!/bin/bash +if [ "$GERRIT_BRANCH" == "master" ]; then + RTD_BUILD_VERSION=latest +else + RTD_BUILD_VERSION="${{GERRIT_BRANCH/\//-}}" +fi + +# shellcheck disable=SC1083 +curl -X POST --data "version_slug=$RTD_BUILD_VERSION" https://readthedocs.org/build/{rtdproject} diff --git a/jjb/doc/doc-templates-rtd.yaml b/jjb/doc/doc-templates-rtd.yaml new file mode 100644 index 000000000..4f54322cd --- /dev/null +++ b/jjb/doc/doc-templates-rtd.yaml @@ -0,0 +1,143 @@ +--- +- job-template: + # Job template for verifying Sphinx/Restructured Text for RTD + # + # The purpose of this job template is verify documentation source + # + # Required Variables: + # branch: git branch + # Optional Variables: + # path: directory containing the project's tox.ini relative to + # the workspace. The default is the project root. + # pattern: ant file-path pattern relative to the workspace used to + # trigger the job + + name: '{project-name}-{stream}-verify-rtd' + path: '$WORKSPACE' + + project-type: freestyle + concurrent: true + node: '{build-node}' + + properties: + - infra-properties: + build-days-to-keep: '{build-days-to-keep}' + + parameters: + - infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + - maven-exec: + maven-version: '{maven-version}' + + 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: '**' + branch: '{branch}' + files: 'docs/**/*.rst' + - timed: 'H H * * *' + + builders: + - shell: | + if [ "$GERRIT_PROJECT" != "doc" ]; then + cd docs/submodules/$GERRIT_PROJECT + git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD + else + git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD + fi + - shell: | + #!/bin/bash + virtualenv $WORKSPACE/venv-tox + source $WORKSPACE/venv-tox/bin/activate + pip install --upgrade pip + pip install --upgrade tox argparse + pip freeze + cd $WORKSPACE/{path} + tox + + publishers: + - infra-shiplogs: + maven-version: '{maven-version}' + +- job-template: + # Job template for merging/publishing Sphinx/Restructured Text at RTD + # + # The purpose of this job template is to trigger updates after + # a merge of documentation source in gerrit + # + # Required Variables: + # branch: git branch + # rtdproject: name of a project at readthedocs.io + # Optional Variables: + # path: directory containing the project's tox.ini relative to + # the workspace. The default is the project root. + # pattern: ant file-path pattern relative to the workspace used to + # trigger the job + + name: '{project-name}-{stream}-merge-rtd' + path: '$WORKSPACE' + + project-type: freestyle + concurrent: false + node: '{build-node}' + + properties: + - infra-properties: + build-days-to-keep: '{build-days-to-keep}' + + parameters: + - infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + - maven-exec: + maven-version: '{maven-version}' + + scm: + - gerrit-trigger-scm: + refspec: '$GERRIT_REFSPEC' + choosing-strategy: 'gerrit' + submodule-recursive: '{submodule-recursive}' + + wrappers: + - infra-wrappers: + build-timeout: '{build-timeout}' + + triggers: + - gerrit: + server-name: '{server-name}' + trigger-on: + - change-merged-event + - comment-added-contains-event: + comment-contains-value: 'remerge' + projects: + - project-compare-type: 'ANT' + project-pattern: '**' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + file-paths: + - compare-type: ANT + pattern: docs/**/*.rst + + builders: + - shell: !include-raw: doc-post-rtd.sh + + publishers: + - infra-shiplogs: + maven-version: '{maven-version}' + diff --git a/jjb/doc/doc.yaml b/jjb/doc/doc.yaml new file mode 100644 index 000000000..40d592240 --- /dev/null +++ b/jjb/doc/doc.yaml @@ -0,0 +1,17 @@ +--- +- project: + name: doc + project-name: 'doc' + + jobs: + - '{project-name}-{stream}-verify-rtd': + build-node: centos7-basebuild-4c-4g + - '{project-name}-{stream}-merge-rtd' + + project: 'doc' + + rtdproject: 'onap' + + stream: + - master: + branch: 'master' diff --git a/jjb/global-jjb b/jjb/global-jjb -Subproject 3c27640062efeefe36adb116d65f5b59c1e6671 +Subproject 409ce6156aa5e7b6c24eaac6dc414c0f013983b diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml index c5803dcb8..21a227b27 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -423,6 +423,8 @@ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' properties: - '{maven-deploy-properties}' + java-opts: + - '-Xmx4096m -XX:MaxPermSize=512m' settings: '{mvn-settings}' settings-type: cfp global-settings: 'global-settings' @@ -479,8 +481,7 @@ maven-version: '{maven-version}' goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' - properties: - - '{maven-deploy-properties}' + properties: '{obj:mvn_properties}' settings: '{mvn-settings}' settings-type: cfp global-settings: 'global-settings' @@ -701,6 +702,8 @@ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' properties: - '{maven-deploy-properties}' + java-opts: + - '-Xmx4096m -XX:MaxPermSize=512m' settings: '{mvn-settings}' settings-type: cfp global-settings: 'global-settings' @@ -826,7 +829,7 @@ settings-type: cfp global-settings: 'global-settings' global-settings-type: cfp - properties: '{maven-properties}' + properties: '{obj:mvn_properties}' publishers: - infra-shiplogs: diff --git a/jjb/holmes/holmes-common.yaml b/jjb/holmes/holmes-common.yaml index 797fb76b5..ebd8ef381 100644 --- a/jjb/holmes/holmes-common.yaml +++ b/jjb/holmes/holmes-common.yaml @@ -6,10 +6,6 @@ - '{project-name}-{stream}-clm' - '{project-name}-{stream}-verify-java' - '{project-name}-{stream}-merge-java' - - '{project-name}-{stream}-release-version-java-daily' - - '{project-name}-{stream}-stage-site-java': - site-pom: 'pom.xml' - trigger-job: '{project-name}-{stream}-release-version-java-daily' project: 'holmes/common' stream: diff --git a/jjb/holmes/holmes-dsa.yaml b/jjb/holmes/holmes-dsa.yaml index 46400d815..f795f324c 100644 --- a/jjb/holmes/holmes-dsa.yaml +++ b/jjb/holmes/holmes-dsa.yaml @@ -6,10 +6,6 @@ - '{project-name}-{stream}-clm' - '{project-name}-{stream}-verify-java' - '{project-name}-{stream}-merge-java' - - '{project-name}-{stream}-release-version-java-daily' - - '{project-name}-{stream}-stage-site-java': - site-pom: 'pom.xml' - trigger-job: '{project-name}-{stream}-release-version-java-daily' project: 'holmes/dsa' stream: diff --git a/jjb/holmes/holmes-engine-mgt.yaml b/jjb/holmes/holmes-engine-mgt.yaml index 74d2ce5cd..3b18f85da 100644 --- a/jjb/holmes/holmes-engine-mgt.yaml +++ b/jjb/holmes/holmes-engine-mgt.yaml @@ -6,10 +6,6 @@ - '{project-name}-{stream}-clm' - '{project-name}-{stream}-verify-java' - '{project-name}-{stream}-merge-java' - - '{project-name}-{stream}-release-version-java-daily' - - '{project-name}-{stream}-stage-site-java': - site-pom: 'pom.xml' - trigger-job: '{project-name}-{stream}-release-version-java-daily' project: 'holmes/engine-management' stream: diff --git a/jjb/holmes/holmes-rule-mgt.yaml b/jjb/holmes/holmes-rule-mgt.yaml index d71940271..01f553c23 100644 --- a/jjb/holmes/holmes-rule-mgt.yaml +++ b/jjb/holmes/holmes-rule-mgt.yaml @@ -6,10 +6,6 @@ - '{project-name}-{stream}-clm' - '{project-name}-{stream}-verify-java' - '{project-name}-{stream}-merge-java' - - '{project-name}-{stream}-release-version-java-daily' - - '{project-name}-{stream}-stage-site-java': - site-pom: 'pom.xml' - trigger-job: '{project-name}-{stream}-release-version-java-daily' project: 'holmes/rule-management' stream: diff --git a/jjb/integration/integration-templates-csit.yaml b/jjb/integration/integration-templates-csit.yaml index f12bcfbec..4018309d9 100644 --- a/jjb/integration/integration-templates-csit.yaml +++ b/jjb/integration/integration-templates-csit.yaml @@ -9,12 +9,12 @@ properties: - lf-infra-properties: - project: '{project-name}' + project: 'integration' build-days-to-keep: '{build-days-to-keep}' parameters: - infra-parameters: - project: '{project-name}' + project: 'integration' branch: '{branch}' refspec: 'refs/heads/{branch}' artifacts: '{archive-artifacts}' @@ -63,12 +63,12 @@ properties: - lf-infra-properties: - project: '{project-name}' + project: 'integration' build-days-to-keep: '{build-days-to-keep}' parameters: - infra-parameters: - project: '{project-name}' + project: 'integration' branch: '{branch}' refspec: 'refs/heads/{branch}' artifacts: '{archive-artifacts}' diff --git a/jjb/msb/msb-java-sdk.yaml b/jjb/msb/msb-java-sdk.yaml new file mode 100644 index 000000000..3f3544031 --- /dev/null +++ b/jjb/msb/msb-java-sdk.yaml @@ -0,0 +1,16 @@ +--- +- project: + name: msb-java-sdk + project-name: 'msb-java-sdk' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + project: 'msb/java-sdk' + stream: + - 'master': + branch: 'master' + mvn-settings: 'msb-java-sdk-settings' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/multicloud/multicloud-framework-java.yaml b/jjb/multicloud/multicloud-framework-java.yaml new file mode 100644 index 000000000..4e2f160a7 --- /dev/null +++ b/jjb/multicloud/multicloud-framework-java.yaml @@ -0,0 +1,19 @@ +--- +- project: + name: multicloud-framework-java + project-name: 'multicloud-framework' + project: 'multicloud/framework' + stream: + - 'master': + branch: 'master' + mvn-settings: 'multicloud-framework-settings' + subproject: + - 'multivimbroker': + pom: 'multivimbroker/pom.xml' + pattern: 'multivimbroker/**' + jobs: + - '{project-name}-{stream}-{subproject}-verify-java' + - '{project-name}-{stream}-{subproject}-merge-java' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/multicloud/multicloud-framework-python.yaml b/jjb/multicloud/multicloud-framework-python.yaml new file mode 100644 index 000000000..4fcad3e3d --- /dev/null +++ b/jjb/multicloud/multicloud-framework-python.yaml @@ -0,0 +1,16 @@ +--- +- project: + name: multicloud-framework-python + project-name: 'multicloud-framework' + project: 'multicloud/framework' + stream: + - 'master': + branch: 'master' + mvn-settings: 'multicloud-framework-settings' + build-node: 'ubuntu1604-basebuild-4c-4g' + subproject: + - 'multivimbroker': + path: 'multivimbroker' + pattern: 'multivimbroker/**' + jobs: + - '{project-name}-{stream}-{subproject}-verify-python' diff --git a/jjb/multicloud/multicloud-openstack-vmware-java.yaml b/jjb/multicloud/multicloud-openstack-vmware-java.yaml new file mode 100644 index 000000000..d60aba345 --- /dev/null +++ b/jjb/multicloud/multicloud-openstack-vmware-java.yaml @@ -0,0 +1,19 @@ +--- +- project: + name: multicloud-openstack-vmware-java + project-name: 'multicloud-openstack-vmware' + project: 'multicloud/openstack/vmware' + stream: + - 'master': + branch: 'master' + mvn-settings: 'multicloud-openstack-vmware-settings' + subproject: + - 'vio': + pom: 'vio/pom.xml' + pattern: 'vio/**' + jobs: + - '{project-name}-{stream}-{subproject}-verify-java' + - '{project-name}-{stream}-{subproject}-merge-java' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/multicloud/multicloud-openstack-vmware-python.yaml b/jjb/multicloud/multicloud-openstack-vmware-python.yaml new file mode 100644 index 000000000..62e52f244 --- /dev/null +++ b/jjb/multicloud/multicloud-openstack-vmware-python.yaml @@ -0,0 +1,16 @@ +--- +- project: + name: multicloud-openstack-vmware-python + project-name: 'multicloud-openstack-vmware' + project: 'multicloud/openstack/vmware' + stream: + - 'master': + branch: 'master' + mvn-settings: 'multicloud-openstack-vmware-settings' + build-node: 'ubuntu1604-basebuild-4c-4g' + subproject: + - 'vio': + path: 'vio' + pattern: 'vio/**' + jobs: + - '{project-name}-{stream}-{subproject}-verify-python' diff --git a/jjb/oparent/oparent.yaml b/jjb/oparent/oparent.yaml index 0161aa1ab..942c27366 100644 --- a/jjb/oparent/oparent.yaml +++ b/jjb/oparent/oparent.yaml @@ -5,6 +5,7 @@ jobs: - '{project-name}-{stream}-verify-java' - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' project: 'oparent' stream: - 'master': @@ -12,4 +13,4 @@ mvn-settings: 'oparent-settings' files: '**' archive-artifacts: '' - build-node: ubuntu1604-basebuild-4c-4g
\ No newline at end of file + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/policy/policy-api.yaml b/jjb/policy/policy-api.yaml new file mode 100644 index 000000000..4e5abb1f2 --- /dev/null +++ b/jjb/policy/policy-api.yaml @@ -0,0 +1,21 @@ +--- +- project: + name: policy-api + project-name: 'policy-api' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'policy/api' + stream: + - 'master': + branch: 'master' + mvn-settings: 'policy-api-settings' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/policy/policy-csit.yaml b/jjb/policy/policy-csit.yaml new file mode 100644 index 000000000..db3bdbfb9 --- /dev/null +++ b/jjb/policy/policy-csit.yaml @@ -0,0 +1,15 @@ +- project: + name: policy-csit + jobs: + - '{project-name}-{stream}-verify-csit-{functionality}' + - '{project-name}-{stream}-csit-{functionality}' + project-name: 'policy' + stream: 'master' + functionality: + - 'health': + trigger_jobs: + - 'policy-engine-{stream}-merge-java' + - 'policy-drools-pdp-{stream}-merge-java' + - 'policy-drools-applications-{stream}-merge-java' + robot-options: '' + branch: 'master' diff --git a/jjb/policy/policy-engine.yaml b/jjb/policy/policy-engine.yaml index 304f7ce36..e50cffa90 100644 --- a/jjb/policy/policy-engine.yaml +++ b/jjb/policy/policy-engine.yaml @@ -3,7 +3,8 @@ name: policy-engine project-name: 'policy-engine' jobs: - - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-clm': + build-node: 'ubuntu1604-basebuild-4c-4g' - '{project-name}-{stream}-verify-java' - '{project-name}-{stream}-merge-java' - '{project-name}-{stream}-release-version-java-daily' diff --git a/jjb/policy/policy-gui.yaml b/jjb/policy/policy-gui.yaml new file mode 100644 index 000000000..14f26ba1e --- /dev/null +++ b/jjb/policy/policy-gui.yaml @@ -0,0 +1,20 @@ +--- +- project: + name: policy-gui + project-name: 'policy-gui' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'policy/gui' + stream: + - 'master': + branch: 'master' + mvn-settings: 'policy-gui-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/policy/policy-pap.yaml b/jjb/policy/policy-pap.yaml new file mode 100644 index 000000000..71f1d103b --- /dev/null +++ b/jjb/policy/policy-pap.yaml @@ -0,0 +1,20 @@ +--- +- project: + name: policy-pap + project-name: 'policy-pap' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'policy/pap' + stream: + - 'master': + branch: 'master' + mvn-settings: 'policy-pap-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/policy/policy-pdp.yaml b/jjb/policy/policy-pdp.yaml new file mode 100644 index 000000000..37d6628c7 --- /dev/null +++ b/jjb/policy/policy-pdp.yaml @@ -0,0 +1,20 @@ +--- +- project: + name: policy-pdp + project-name: 'policy-pdp' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + + project: 'policy/pdp' + stream: + - 'master': + branch: 'master' + mvn-settings: 'policy-pdp-settings' + files: '**' + archive-artifacts: '' diff --git a/jjb/portal/portal-docker.yaml b/jjb/portal/portal-docker.yaml index 7dafd1041..9387a7846 100644 --- a/jjb/portal/portal-docker.yaml +++ b/jjb/portal/portal-docker.yaml @@ -19,6 +19,8 @@ branch: 'master' - 'release-1.0.0': branch: 'release-1.0.0' + - 'release-1.1.0': + branch: 'release-1.1.0' mvn-settings: 'portal-settings' files: '**' archive-artifacts: '' diff --git a/jjb/portal/portal-sdk.yaml b/jjb/portal/portal-sdk.yaml index 24935b16d..6839543ce 100644 --- a/jjb/portal/portal-sdk.yaml +++ b/jjb/portal/portal-sdk.yaml @@ -22,3 +22,4 @@ mvn-settings: 'portal-sdk-settings' files: '**' archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/portal/portal.yaml b/jjb/portal/portal.yaml index dc3ce2438..345773853 100644 --- a/jjb/portal/portal.yaml +++ b/jjb/portal/portal.yaml @@ -14,6 +14,8 @@ branch: 'master' - 'release-1.0.0': branch: 'release-1.0.0' + - 'release-1.1.0': + branch: 'release-1.1.0' mvn-settings: 'portal-settings' files: '**' archive-artifacts: '' diff --git a/jjb/sdnc/sdnc-adaptors.yaml b/jjb/sdnc/sdnc-adaptors.yaml index e9adf7725..ffd080b62 100644 --- a/jjb/sdnc/sdnc-adaptors.yaml +++ b/jjb/sdnc/sdnc-adaptors.yaml @@ -17,6 +17,8 @@ branch: 'master' - 'release-1.0.0': branch: 'release-1.0.0' + - 'release-1.1.0': + branch: 'release-1.1.0' mvn-settings: 'sdnc-adaptors-settings' # due to a strange macro / variable translation problem this needs to be diff --git a/jjb/sdnc/sdnc-core.yaml b/jjb/sdnc/sdnc-core.yaml index 57ad59b82..4a1e78eee 100644 --- a/jjb/sdnc/sdnc-core.yaml +++ b/jjb/sdnc/sdnc-core.yaml @@ -24,6 +24,8 @@ branch: 'master' - 'release-1.0.0': branch: 'release-1.0.0' + - 'release-1.1.0': + branch: 'release-1.1.0' mvn-settings: 'sdnc-core-settings' # due to a strange macro / variable translation problem this needs to be diff --git a/jjb/sdnc/sdnc-northbound.yaml b/jjb/sdnc/sdnc-northbound.yaml index 11e9686fd..0ade93659 100644 --- a/jjb/sdnc/sdnc-northbound.yaml +++ b/jjb/sdnc/sdnc-northbound.yaml @@ -17,6 +17,8 @@ branch: 'master' - 'release-1.0.0': branch: 'release-1.0.0' + - 'release-1.1.0': + branch: 'release-1.1.0' mvn-settings: 'sdnc-northbound-settings' # due to a strange macro / variable translation problem this needs to be diff --git a/jjb/sdnc/sdnc-oam.yaml b/jjb/sdnc/sdnc-oam.yaml index 3f0e859d7..7b3b0bd56 100644 --- a/jjb/sdnc/sdnc-oam.yaml +++ b/jjb/sdnc/sdnc-oam.yaml @@ -21,6 +21,8 @@ branch: 'master' - 'release-1.0.0': branch: 'release-1.0.0' + - 'release-1.1.0': + branch: 'release-1.1.0' mvn-settings: 'sdnc-oam-settings' files: '**' archive-artifacts: '' diff --git a/jjb/sdnc/sdnc-plugins.yaml b/jjb/sdnc/sdnc-plugins.yaml index ea5575243..84c7ec8df 100644 --- a/jjb/sdnc/sdnc-plugins.yaml +++ b/jjb/sdnc/sdnc-plugins.yaml @@ -17,6 +17,8 @@ branch: 'master' - 'release-1.0.0': branch: 'release-1.0.0' + - 'release-1.1.0': + branch: 'release-1.1.0' mvn-settings: 'sdnc-plugins-settings' # due to a strange macro / variable translation problem this needs to be diff --git a/jjb/vfc/vfc-gvnfm-vnflcm-java.yaml b/jjb/vfc/vfc-gvnfm-vnflcm-java.yaml new file mode 100644 index 000000000..94a718f7c --- /dev/null +++ b/jjb/vfc/vfc-gvnfm-vnflcm-java.yaml @@ -0,0 +1,20 @@ +--- + +- project: + name: vfc-gvnfm-vnflcm-java + project-name: 'vfc-gvnfm-vnflcm' + project: 'vfc/gvnfm/vnflcm' + stream: + - 'master': + branch: 'master' + mvn-settings: 'vfc-gvnfm-vnflcm-settings' + subproject: + - 'lcm': + pom: 'lcm/pom.xml' + pattern: 'lcm/**' + jobs: + - '{project-name}-{stream}-{subproject}-verify-java' + - '{project-name}-{stream}-{subproject}-merge-java' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g
\ No newline at end of file diff --git a/jjb/vfc/vfc-gvnfm-vnflcm-python.yaml b/jjb/vfc/vfc-gvnfm-vnflcm-python.yaml index 7730fbf3e..c58f5bfa1 100644 --- a/jjb/vfc/vfc-gvnfm-vnflcm-python.yaml +++ b/jjb/vfc/vfc-gvnfm-vnflcm-python.yaml @@ -7,10 +7,8 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'vfc-gvnfm-vnflcm-settings' - build-node: ubuntu1604-basebuild-4c-4g + build-node: ubuntu1604-redis-4c-4g subproject: - 'lcm': path: 'lcm' diff --git a/jjb/vfc/vfc-gvnfm-vnfmgr-python.yaml b/jjb/vfc/vfc-gvnfm-vnfmgr-python.yaml index 6961d9386..9de9b0fea 100644 --- a/jjb/vfc/vfc-gvnfm-vnfmgr-python.yaml +++ b/jjb/vfc/vfc-gvnfm-vnfmgr-python.yaml @@ -7,8 +7,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'vfc-gvnfm-vnfmgr-settings' build-node: ubuntu1604-basebuild-4c-4g subproject: diff --git a/jjb/vfc/vfc-gvnfm-vnfres-python.yaml b/jjb/vfc/vfc-gvnfm-vnfres-python.yaml index 947923a99..db7762f3e 100644 --- a/jjb/vfc/vfc-gvnfm-vnfres-python.yaml +++ b/jjb/vfc/vfc-gvnfm-vnfres-python.yaml @@ -7,8 +7,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'vfc-gvnfm-vnfres-settings' build-node: ubuntu1604-basebuild-4c-4g subproject: diff --git a/jjb/vfc/vfc-nfvo-driver-ems-java.yaml b/jjb/vfc/vfc-nfvo-driver-ems-java.yaml new file mode 100644 index 000000000..8c38d48d2 --- /dev/null +++ b/jjb/vfc/vfc-nfvo-driver-ems-java.yaml @@ -0,0 +1,20 @@ +---
+
+- project:
+ name: vfc-nfvo-driver-ems-java
+ project-name: 'vfc-nfvo-driver-ems'
+ project: 'vfc/nfvo/driver/ems'
+ stream:
+ - 'master':
+ branch: 'master'
+ mvn-settings: 'vfc-nfvo-driver-ems-settings'
+ subproject:
+ - 'drv-ems-boco':
+ pom: 'ems/boco/pom.xml'
+ pattern: 'ems/boco/**'
+ jobs:
+ - '{project-name}-{stream}-{subproject}-verify-java'
+ - '{project-name}-{stream}-{subproject}-merge-java'
+ files: '**'
+ archive-artifacts: ''
+ build-node: ubuntu1604-basebuild-4c-4g
\ No newline at end of file diff --git a/jjb/vfc/vfc-driver-svnfm-huawei.yaml b/jjb/vfc/vfc-nfvo-driver-svnfm-huawei.yaml index bf2ec6e43..7fa3c2538 100644 --- a/jjb/vfc/vfc-driver-svnfm-huawei.yaml +++ b/jjb/vfc/vfc-nfvo-driver-svnfm-huawei.yaml @@ -1,12 +1,12 @@ --- - project: - name: vfc-nfvo-driver-svnfm-Huawei + name: vfc-nfvo-driver-svnfm-huawei project-name: 'vfc-nfvo-driver-svnfm' project: 'vfc/nfvo/driver/vnfm/svnfm' stream: - 'master': branch: 'master' - mvn-settings: 'vfc-nfvo-driver-svnfm-settings' + mvn-settings: 'vfc-nfvo-driver-vnfm-svnfm-settings' subproject: - 'drv-vnfm-huawei': pom: 'huawei/vnfmadapter/pom.xml' diff --git a/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml b/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml new file mode 100644 index 000000000..22c8704a9 --- /dev/null +++ b/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-java.yaml @@ -0,0 +1,20 @@ +--- + +- project: + name: vfc-nfvo-driver-vnfm-gvnfm-java + project-name: 'vfc-nfvo-driver-vnfm-gvnfm' + project: 'vfc/nfvo/driver/vnfm/gvnfm' + stream: + - 'master': + branch: 'master' + mvn-settings: 'vfc-nfvo-driver-vnfm-gvnfm-settings' + subproject: + - 'gvnfmadapter': + pom: 'gvnfmadapter/pom.xml' + pattern: 'gvnfmadapter/**' + jobs: + - '{project-name}-{stream}-{subproject}-verify-java' + - '{project-name}-{stream}-{subproject}-merge-java' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g
\ No newline at end of file diff --git a/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-python.yaml b/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-python.yaml index 5a662aa67..a1a7d236d 100644 --- a/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-python.yaml +++ b/jjb/vfc/vfc-nfvo-driver-vnfm-gvnfm-python.yaml @@ -7,8 +7,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'vfc-nfvo-driver-vnfm-gvnfm-settings' build-node: ubuntu1604-basebuild-4c-4g subproject: diff --git a/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-java.yaml b/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-java.yaml new file mode 100644 index 000000000..23a611774 --- /dev/null +++ b/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-java.yaml @@ -0,0 +1,20 @@ +--- + +- project: + name: vfc-nfvo-driver-vnfm-svnfm-zte-java + project-name: 'vfc-nfvo-driver-vnfm-svnfm' + project: 'vfc/nfvo/driver/vnfm/svnfm' + stream: + - 'master': + branch: 'master' + mvn-settings: 'vfc-nfvo-driver-vnfm-svnfm-settings' + subproject: + - 'drv-vnfm-zte': + pom: 'zte/vmanager/pom.xml' + pattern: 'zte/vmanager/**' + jobs: + - '{project-name}-{stream}-{subproject}-verify-java' + - '{project-name}-{stream}-{subproject}-merge-java' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g
\ No newline at end of file diff --git a/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-python.yaml b/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-python.yaml index 603902b3f..79a392337 100644 --- a/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-python.yaml +++ b/jjb/vfc/vfc-nfvo-driver-vnfm-svnfm-zte-python.yaml @@ -7,8 +7,6 @@ stream: - 'master': branch: 'master' - - 'release-1.0.0': - branch: 'release-1.0.0' mvn-settings: 'vfc-nfvo-driver-vnfm-svnfm-settings' build-node: ubuntu1604-basebuild-4c-4g subproject: diff --git a/jjb/vfc/vfc-nfvo-lcm-python.yaml b/jjb/vfc/vfc-nfvo-lcm-python.yaml index aa7156439..8ce9eb181 100644 --- a/jjb/vfc/vfc-nfvo-lcm-python.yaml +++ b/jjb/vfc/vfc-nfvo-lcm-python.yaml @@ -8,7 +8,7 @@ - 'master': branch: 'master' mvn-settings: 'vfc-nfvo-lcm-settings' - build-node: ubuntu1604-basebuild-4c-4g + build-node: ubuntu1604-redis-4c-4g subproject: - 'lcm': path: '.' diff --git a/jjb/vfc/vfc-nfvo-resmanagement.yaml b/jjb/vfc/vfc-nfvo-resmanagement.yaml index e332a5a78..1f364da27 100644 --- a/jjb/vfc/vfc-nfvo-resmanagement.yaml +++ b/jjb/vfc/vfc-nfvo-resmanagement.yaml @@ -2,14 +2,15 @@ - project: name: vfc-nfvo-resmanagement - project-name: 'vfc-nfvo-resmanagement' project: 'vfc/nfvo/resmanagement' + project-name: 'vfc-nfvo-resmanagement' + mvn-settings: 'vfc-nfvo-resmanagement-settings' stream: - 'master': branch: 'master' - 'release-1.0.0': branch: 'release-1.0.0' - mvn-settings: 'vfc-nfvo-resmanagement-settings' build-node: ubuntu1604-basebuild-4c-4g jobs: - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' diff --git a/jjb/vfc/vfc-nfvo-wfengine-java.yaml b/jjb/vfc/vfc-nfvo-wfengine-java.yaml new file mode 100644 index 000000000..92f84827c --- /dev/null +++ b/jjb/vfc/vfc-nfvo-wfengine-java.yaml @@ -0,0 +1,23 @@ +--- + +- project: + name: vfc-nfvo-wfengine + project-name: 'vfc-nfvo-wfengine' + project: 'vfc/nfvo/wfengine' + stream: + - 'master': + branch: 'master' + mvn-settings: 'vfc-nfvo-wfengine-settings' + subproject: + - 'engine-mgr-service': + pom: 'wfenginemgrservice/pom.xml' + pattern: 'wfenginemgrservice/**' + - 'engine-activiti-extension': + pom: 'activiti-extension/pom.xml' + pattern: 'activiti-extension/**' + jobs: + - '{project-name}-{stream}-{subproject}-verify-java' + - '{project-name}-{stream}-{subproject}-merge-java' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/jjb/vnfsdk/vnfsdk-pkgtools-csit.yaml b/jjb/vnfsdk/vnfsdk-pkgtools-csit.yaml new file mode 100644 index 000000000..93cbf9fc9 --- /dev/null +++ b/jjb/vnfsdk/vnfsdk-pkgtools-csit.yaml @@ -0,0 +1,13 @@ +--- +- project: + name: vnfsdk-pkgtools-csit + jobs: + - '{project-name}-{stream}-verify-csit-{functionality}' + - '{project-name}-{stream}-csit-{functionality}' + project-name: 'vnfsdk-pkgtools' + stream: 'master' + functionality: + - 'sanity-check': + trigger_jobs: + robot-options: '' + branch: 'master' diff --git a/jjb/vnfsdk/vnfsdk-pkgtools-python.yaml b/jjb/vnfsdk/vnfsdk-pkgtools-python.yaml new file mode 100644 index 000000000..f480dcf53 --- /dev/null +++ b/jjb/vnfsdk/vnfsdk-pkgtools-python.yaml @@ -0,0 +1,17 @@ +--- + +- project: + name: vnfsdk-pkgtools + project-name: 'vnfsdk-pkgtools' + subproject: + - pkgtools: + path: '.' + pattern: '**' + project: 'vnfsdk/pkgtools' + stream: + - 'master': + branch: 'master' + mvn-settings: 'vnfsdk-pkgtools-settings' + build-node: ubuntu1604-basebuild-4c-4g + jobs: + - '{project-name}-{stream}-{subproject}-verify-python' diff --git a/jjb/vnfsdk/vnfsdk-refrepo.yaml b/jjb/vnfsdk/vnfsdk-refrepo.yaml new file mode 100644 index 000000000..df9bb7666 --- /dev/null +++ b/jjb/vnfsdk/vnfsdk-refrepo.yaml @@ -0,0 +1,28 @@ +--- +- project: + name: vnfsdk-refrepo + project-name: 'vnfsdk-refrepo' + jobs: + - '{project-name}-{stream}-clm' + - '{project-name}-{stream}-verify-java' + - '{project-name}-{stream}-merge-java' + - '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-stage-site-java': + site-pom: 'pom.xml' + trigger-job: '{project-name}-{stream}-release-version-java-daily' + - '{project-name}-{stream}-docker-version-java-daily': + docker-pom: 'pom.xml' + mvn-profile: 'docker' + maven-properties: | + skip.docker.build=false + skip.docker.tag=false + skip.docker.push=false + + project: 'vnfsdk/refrepo' + stream: + - 'master': + branch: 'master' + mvn-settings: 'vnfsdk-refrepo-settings' + files: '**' + archive-artifacts: '' + build-node: ubuntu1604-basebuild-4c-4g diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh index 832340f9f..008402f98 100644 --- a/packer/provision/basebuild.sh +++ b/packer/provision/basebuild.sh @@ -13,7 +13,7 @@ rh_systems() { yum install -y openssl-devel mysql-devel gcc # Autorelease support packages - yum install -y xmlstarlet + yum install -y python-tox xmlstarlet # Additional libraries for Python ncclient yum install -y libxml2 libxslt libxslt-devel libffi libffi-devel @@ -47,7 +47,7 @@ ubuntu_systems() { apt-get install -y libssl-dev libmysqlclient-dev gcc # Autorelease support packages - apt-get install -y xmlstarlet + apt-get install -y python-tox xmlstarlet # Additional libraries for Python ncclient apt-get install -y wget unzip python-ncclient diff --git a/packer/provision/docker.sh b/packer/provision/docker.sh index 117c436aa..739ba4293 100644 --- a/packer/provision/docker.sh +++ b/packer/provision/docker.sh @@ -40,7 +40,10 @@ ubuntu_systems() { } all_systems() { - echo 'No common distribution configuration to perform' + # Install docker-compose + curl -o /usr/local/bin/docker-compose -L "https://github.com/docker/compose/releases/download/1.15.0/docker-compose-$(uname -s)-$(uname -m)" + chmod +x /usr/local/bin/docker-compose + docker-compose -v } echo "---> Detecting OS" diff --git a/packer/provision/redis.sh b/packer/provision/redis.sh index 11e2177a1..c940c0ac8 100644 --- a/packer/provision/redis.sh +++ b/packer/provision/redis.sh @@ -8,7 +8,7 @@ set -xeu -o pipefail rh_systems() { # redis - yum install redis + yum install -y redis systemctl enable redis.service } @@ -24,9 +24,9 @@ ubuntu_systems() { make install # 2. set conf file and init script - mv /tmp/redis-4.0.1/redis-server /etc/init.d/redis-server + cp /tmp/redis-4.0.1/src/redis-server /etc/init.d/redis-server chmod +x /etc/init.d/redis-server - mv /tmp/redis-4.0.1/redis.conf /etc/redis.conf + cp /tmp/redis-4.0.1/redis.conf /etc/redis.conf # 3. set auto start when start system update-rc.d redis-server defaults |