Merge "Update push url in vnfsdk upload docs job."
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 30 Dec 2020 17:30:36 +0000 (17:30 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 30 Dec 2020 17:30:36 +0000 (17:30 +0000)
jenkins-config/clouds/openstack/cattle/ubuntu1804-helm-2c-1g.cfg
jjb/ccsdk/distribution.yaml
jjb/cps/cps.yaml
jjb/global-templates-helm.yaml
jjb/integration/integration-maven-jobs.yaml
jjb/music/music-distributed-kv-store-csit.yaml
jjb/oom/oom-helm.yaml
jjb/sdc/sdc-sdc-distribution-client.yaml
packer/provision/helm.yaml
shell/helm-repo-init.sh

index b0cbe07..96ee7bd 100644 (file)
@@ -1,4 +1,4 @@
-IMAGE_NAME=ZZCI - Ubuntu 18.04 - helm -  - 20201211-071340.623
+IMAGE_NAME=ZZCI - Ubuntu 18.04 - helm -  - 20201212-033204.217
 LABELS=ubuntu1804-helm-2c-1g
 HARDWARE_ID=v2-highcpu-2
 VOLUME_SIZE=50
index 6f0c160..f962c14 100644 (file)
           cron: '@daily'
       - '{project-name}-gerrit-release-jobs':
           build-node: centos7-docker-8c-8g
-      - gerrit-maven-docker-snapshot-PoC:
+      - gerrit-maven-docker-snapshot:
           build-node: ubuntu1804-docker-8c-8g
           container-public-registry: 'nexus3.onap.org:10001'
           container-snapshot-registry: 'nexus3.onap.org:10003'
-          mvn-params: '-Dmaven.test.skip=true -P docker'
+          mvn-params: '-Dmaven.test.skip=true -Ddocker.skip.push=true -P docker'
           maven-versions-plugin: true
       - '{project-name}-{stream}-docker-staging':
           script:
index c620652..5593b10 100644 (file)
@@ -39,7 +39,7 @@
       - '{project-name}-{stream}-merge-java'
       - gerrit-maven-stage:
           sign-artifacts: true
-          build-node: centos7-builder-4c-4g
+          build-node: centos7-docker-8c-8g
           maven-versions-plugin: true
       - gerrit-maven-docker-stage:
           build-node: centos7-docker-8c-8g
@@ -55,7 +55,7 @@
     mvn-settings: 'cps-settings'
     files: '**'
     archive-artifacts: ''
-    build-node: ubuntu1804-builder-4c-4g
+    build-node: centos7-docker-8c-8g
 
 - project:
     name: cps-sonar
@@ -70,7 +70,7 @@
     sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
     sonar-mvn-goal: '{sonar_mvn_goal}'
     cron: '@daily'
-    build-node: ubuntu1804-builder-4c-4g
+    build-node: centos7-docker-8c-8g
     project: 'cps'
     project-name: 'cps'
     branch: 'master'
index e8fb13a..2697d18 100644 (file)
       - lf-provide-maven-settings-cleanup
 
 - job-template:
-    name: '{project-name}-{stream}-stage-helm'
+    name: '{project-name}-{stream}-release-helm'
     # Job template for Helm stage jobs
 
     <<: *helm_job_boiler_plate
           submodule-recursive: '{submodule-recursive}'
 
     triggers:
-      - pollscm:
-          cron: '0 22 * * *'
       - gerrit:
           trigger-on:
             - comment-added-contains-event:
-                comment-contains-value: '^stage-helm$'
+                comment-contains-value: '^release-helm$'
 
     builders:
       - lf-infra-pre-build
           server-id: oom-helm
       - inject:
           properties-content: |
-            BUILD_TYPE=staging
+            BUILD_TYPE=release
       - shell: '{obj:post_build_script}'
       - lf-provide-maven-settings-cleanup
 
index 71cadef..259fb4e 100644 (file)
@@ -1,4 +1,12 @@
+####################
+# COMMON FUNCTIONS #
+####################
+
 - integration_maven_common: &integration_maven_common
+    # This common maven base template is based on
+    # lf-maven-common in global-jjb/jjb/lf-maven-jobs.yaml
+    # and adjusted for jobs in project-specific CSIT flow
+
     name: integration-maven-common
 
     ######################
@@ -46,7 +54,7 @@
           submodule-recursive: "{submodule-recursive}"
           submodule-timeout: "{submodule-timeout}"
           submodule-disable: "{submodule-disable}"
-          choosing-strategy: default
+          choosing-strategy: "gerrit"
 
     wrappers:
       - lf-infra-wrappers:
       - lf-provide-maven-settings-cleanup
 
 - job-template:
+    # Job template for creating snapshot docker images
+    # identified by given unique tag with maven
+    # in project-specific CSIT flow
+
     name: "{project-name}-{stream}-maven-docker-snapshot"
-    id: gerrit-maven-docker-snapshot-PoC
+    id: gerrit-maven-docker-snapshot
     <<: *integration_maven_common
     # yamllint disable-line rule:key-duplicates
     <<: *integration_maven_docker_snapshot
index 4dd27b6..3f53eea 100644 (file)
@@ -7,6 +7,7 @@
       - '{project-name}-merge-verification-{stream}'
     project-name: 'music-distributed-kv-store'
     project: 'music/distributed-kv-store'
+    disabled: true
     stream: 'master'
     artifact-type: 'golang'
     java-version: openjdk11
index 9263a28..46da258 100644 (file)
@@ -18,7 +18,6 @@
       cd kubernetes/
       make HELM_BIN=helm3 common
       make HELM_BIN=helm3 {subproject}
-    oom_post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
 
     stream:
       - "master":
@@ -50,9 +49,8 @@
           build-timeout: 240
       - "{project-name}-{stream}-merge-helm":
           build_script: "{oom_build_script}"
-          post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
           files: "**"
-      - "{project-name}-{stream}-stage-helm":
+      - "{project-name}-{stream}-release-helm":
           build_script: "{oom_build_script}"
           post_build_script: !include-raw-escape: shell/publish_helm_charts.sh
           files: "**"
index e02d612..2284650 100644 (file)
     build-timeout: 60
     maven-version: 'mvn35'
 
+- project:
+    name: sdc-sdc-distribution-client-integration-pairwise
+    java-version: openjdk11
+    jobs:
+       - '{project-name}-{stream}-integration-pairwise'
+    build-node: ubuntu1804-docker-8c-8g
+    project: 'sdc/sdc-distribution-client'
+    project-name: 'sdc-sdc-distribution-client'
+    stream:
+        - 'master':
+            branch: 'master'
+            java-version: openjdk11
+    mvn-settings: 'sdc-sdc-distribution-client-settings'
+    files: '**'
+    archive-artifacts: ''
+    build-timeout: 60
+    maven-version: 'mvn35'
+    mvn-params: ' -P integration-pairwise'
+
 - project:
     name: sdc-sdc-distribution-client-sonar
     jobs:
index 0b14bee..459fbb1 100644 (file)
@@ -46,7 +46,7 @@
         - name: 'Fetch tar.gz'
           get_url:
             url: "https://get.helm.sh/helm-v{{helm3_version}}-linux-amd64.tar.gz"
-            dest: "/tmp/helm3/helm-v{{helm3_version}}-linux-amd64.tar.gz"
+            dest: /tmp/helm3
         - name: 'Unarchive'
           unarchive:
             src: "/tmp/helm3/helm-v{{helm3_version}}-linux-amd64.tar.gz"
         - name: 'Check kubectl.'
           command: 'which kubectl'
 
+        - name: Install helm3
+          shell: |
+             echo "----> Installing helm3"
+             wget 'https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz'
+             tar -xvf 'https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz'
+             mv linux-amd64/helm /usr/local/bin/helm3
+             which helm3
+          become: true
+
     - name: 'Install ChartMuseum {{chartmuseum_version}}'
       block:
         - name: 'Fetch bin'
index 6bf1338..c3b0a36 100755 (executable)
@@ -3,6 +3,7 @@
 set -e -o pipefail
 
 mkdir -p ".chartstorage"
-chartmuseum --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" &
+sudo mount -t tmpfs -o size=128M tmpfs .chartstorage
+chartmuseum --debug --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" &
 helm3 plugin install https://github.com/chartmuseum/helm-push.git
 helm3 repo add local http://localhost:6464