Merge "Add python staging job to vnfsdk/ice"
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Fri, 16 Mar 2018 18:15:33 +0000 (18:15 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 16 Mar 2018 18:15:33 +0000 (18:15 +0000)
13 files changed:
jjb/dmaap/dmaap-buscontroller.yaml
jjb/dmaap/dmaap-dbcapi.yaml
jjb/global-templates-golang.yaml
jjb/integration/integration-bootstrap.yaml [deleted file]
jjb/integration/integration-devtool.yaml [new file with mode: 0644]
jjb/optf/optf-has.yaml
jjb/testsuite/testsuite.yaml
jjb/vnfsdk/vnfsdk-ice-python.yaml
jjb/vvp/vvp-cms.yaml
jjb/vvp/vvp-engagementmgr.yaml
jjb/vvp/vvp-image-scanner.yaml
jjb/vvp/vvp-test-engine.yaml
jjb/vvp/vvp-validation-scripts.yaml

index 53e1922..2b0206a 100644 (file)
@@ -8,11 +8,15 @@
       - '{project-name}-{stream}-verify-java'
       - '{project-name}-{stream}-merge-java'
       - '{project-name}-{stream}-release-version-java-daily'
-      - '{project-name}-{stream}-docker-java-daily':
-          docker-pom: 'pom.xml'
-          mvn-profile: 'docker'
-          mvn-goals: 'clean install docker:build'
-          build-node: ubuntu1604-docker-8c-8g
+#
+# see DMAAP-334 for more details, but
+#     - '{project-name}-{stream}-docker-java-daily':
+# doesn't support mvn-goals override, so trying this...
+      - '{project-name}-{stream}-docker-java-shell-daily':
+          mvn-goals: 'clean package -P docker docker:build -DpushImage'
+          # No-op
+          script: '/bin/true'
+
     project: 'dmaap/buscontroller'
     stream:
       - 'master':
index 06f6b81..602734c 100644 (file)
@@ -8,12 +8,18 @@
       - '{project-name}-{stream}-merge-java'
       - '{project-name}-{stream}-release-version-java-daily'
     project: 'dmaap/dbcapi'
+    mvn-settings: 'dmaap-dbcapi-settings'
     stream:
       - 'master':
           branch: 'master'
-    mvn-settings: 'dmaap-dbcapi-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: ''
+
 - project:
     name: dmaap-dbcapi-sonar
     jobs:
index d3ceac5..168fb62 100644 (file)
     publishers:
       - infra-shiplogs:
           maven-version: '{maven-version}'
+
+- job-template:
+    # Job template for building & pushing docker images
+    #
+    # The purpose of this job template is to run:
+    #  1. login to the docker registry
+    #  2. run a specified shell builder
+    #
+
+    name: '{project-name}-{stream}-docker-golang-shell-daily'
+    project-type: freestyle
+    node: 'ubuntu1604-docker-8c-8g'
+    disabled: false
+    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}'
+
+    scm:
+      - gerrit-trigger-scm:
+          refspec: ''
+          choosing-strategy: 'default'
+          submodule-recursive: '{submodule-recursive}'
+
+    wrappers:
+      - infra-wrappers:
+          build-timeout: '{build-timeout}'
+
+    triggers:
+      # 12 AM UTC
+      - timed: 'H 12 * * *'
+      - gerrit-trigger-release-manually:
+          server: '{server-name}'
+          project: '{project}'
+          branch: '{branch}'
+
+    builders:
+      - provide-maven-settings:
+          global-settings-file: 'global-settings'
+          settings-file: '{mvn-settings}'
+
+      - docker-login
+
+      - shell: '{script}'
+
+    publishers:
+      - infra-shiplogs:
+          maven-version: '{maven-version}'
\ No newline at end of file
diff --git a/jjb/integration/integration-bootstrap.yaml b/jjb/integration/integration-bootstrap.yaml
deleted file mode 100644 (file)
index 9fc3f76..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
----
-- project:
-    name: integration-bootstrap
-    project-name: 'integration'
-    project: 'integration'
-    jobs:
-      - '{project-name}-{stream}-{subproject}-verify-python'
-    subproject:
-      - 'vagrant-onap':
-          path: 'bootstrap/vagrant-onap'
-          pattern: 'bootstrap/vagrant-onap/**'
-    stream:
-      - 'master':
-          branch: 'master'
-    mvn-settings: 'integration-settings'
-    build-node: ubuntu1604-basebuild-2c-1g
diff --git a/jjb/integration/integration-devtool.yaml b/jjb/integration/integration-devtool.yaml
new file mode 100644 (file)
index 0000000..15b4369
--- /dev/null
@@ -0,0 +1,16 @@
+---
+- project:
+    name: integration-devtool
+    project-name: 'integration-devtool'
+    jobs:
+      - '{project-name}-{stream}-{subproject}-verify-python'
+    project: 'integration/devtool'
+    subproject:
+      - 'devtool':
+          path: '.'
+          pattern: '**'
+    stream:
+      - 'master':
+          branch: 'master'
+    mvn-settings: 'integration-devtool-settings'
+    build-node: ubuntu1604-basebuild-2c-1g
index 95eba8f..ffb16c0 100644 (file)
@@ -16,6 +16,7 @@
       - gerrit-maven-clm
       - '{project-name}-{stream}-{subproject}-verify-python'
       - '{project-name}-{stream}-{subproject}-verify-java'
+      - '{project-name}-{stream}-verify-java'
       - '{project-name}-{stream}-{subproject}-merge-java'
       - '{project-name}-{stream}-{subproject}-release-version-java-daily'
       - '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily':
index 44d2db1..f2e862d 100644 (file)
@@ -27,6 +27,6 @@
     stream:
       - 'master':
           branch: 'master'
-      - 'release-1.0.0':
-          branch: 'release-1.0.0'
+      - 'amsterdam':
+          branch: 'amsterdam'
     mvn-settings: 'testsuite-settings'
index 02adbb4..ab737a5 100644 (file)
       - '{project-name}-{stream}-{subproject}-merge-java'
       - '{project-name}-{subproject}-python-staging-{stream}'
 - project:
-    name: vnfsdk-ice-sonar
+    name: vnfsdk-ice-validation-scripts-sonar
     jobs:
       - gerrit-maven-sonar
     cron: 'H 11 * * *'
+    mvn-params: '-f validation-scripts/pom.xml'
     build-node: ubuntu1604-basebuild-4c-4g
     project: 'vnfsdk/ice'
-    project-name: 'vnfsdk-ice'
+    project-name: 'vnfsdk-ice-validation-scripts'
+    branch: 'master'
+    mvn-settings: 'vnfsdk-ice-settings'
+    mvn-goals: 'clean install'
+    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+- project:
+    name: vnfsdk-ice-ice-server-sonar
+    jobs:
+      - gerrit-maven-sonar
+    cron: 'H 11 * * *'
+    mvn-params: '-f ice-server/pom.xml'
+    build-node: ubuntu1604-basebuild-4c-4g
+    project: 'vnfsdk/ice'
+    project-name: 'vnfsdk-ice-ice-server'
     branch: 'master'
     mvn-settings: 'vnfsdk-ice-settings'
     mvn-goals: 'clean install'
     mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
index 0b45670..8779ee0 100644 (file)
       - '{project-name}-{stream}-docker-java-daily'
     docker-pom: 'pom.xml'
     mvn-profile: 'default'
+- project:
+    name: vvp-cms-sonar
+    jobs:
+      - gerrit-maven-sonar
+    cron: 'H 11 * * *'
+    build-node: ubuntu1604-basebuild-4c-4g
+    project: 'vvp/cms'
+    project-name: 'vvp-cms'
+    branch: 'master'
+    mvn-settings: 'vvp-cms-settings'
+    mvn-goals: 'clean install'
+    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
index 98a5c96..a01bd84 100644 (file)
       - '{project-name}-{stream}-docker-java-daily'
     docker-pom: 'pom.xml'
     mvn-profile: 'default'
+- project:
+    name: vvp-engagementmgr-sonar
+    jobs:
+      - gerrit-maven-sonar
+    cron: 'H 11 * * *'
+    build-node: ubuntu1604-basebuild-4c-4g
+    project: 'vvp/engagementmgr'
+    project-name: 'vvp-engagementmgr'
+    branch: 'master'
+    mvn-settings: 'vvp-engagementmgr-settings'
+    mvn-goals: 'clean install'
+    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
index ca680e8..ca802c0 100644 (file)
       - '{project-name}-{stream}-docker-java-daily'
     docker-pom: 'pom.xml'
     mvn-profile: 'default'
+- project:
+    name: vvp-image-scanner-sonar
+    jobs:
+      - gerrit-maven-sonar
+    cron: 'H 11 * * *'
+    build-node: ubuntu1604-basebuild-4c-4g
+    project: 'vvp/image-scanner'
+    project-name: 'vvp-image-scanner'
+    branch: 'master'
+    mvn-settings: 'vvp-image-scanner-settings'
+    mvn-goals: 'clean install'
+    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
index 0957cee..3c79f06 100644 (file)
       - '{project-name}-{stream}-docker-java-daily'
     docker-pom: 'pom.xml'
     mvn-profile: 'default'
+- project:
+    name: vvp-test-engine-sonar
+    jobs:
+      - gerrit-maven-sonar
+    cron: 'H 11 * * *'
+    build-node: ubuntu1604-basebuild-4c-4g
+    project: 'vvp/test-engine'
+    project-name: 'vvp-test-engine'
+    branch: 'master'
+    mvn-settings: 'vvp-test-engine-settings'
+    mvn-goals: 'clean install'
+    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
index b9cba04..349f68f 100644 (file)
     jobs:
       - gerrit-python-xc-clm
       - '{project-name}-{stream}-{subproject}-verify-python'
+- project:
+    name: vvp-validation-scripts-sonar
+    jobs:
+      - gerrit-maven-sonar
+    cron: 'H 11 * * *'
+    build-node: ubuntu1604-basebuild-4c-4g
+    project: 'vvp/validation-scripts'
+    project-name: 'vvp-validation-scripts'
+    branch: 'master'
+    mvn-settings: 'vvp-validation-scripts-settings'
+    mvn-goals: 'clean install'
+    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'