-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
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:
- '{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
mvn-settings: 'cps-settings'
files: '**'
archive-artifacts: ''
- build-node: ubuntu1804-builder-4c-4g
+ build-node: centos7-docker-8c-8g
- project:
name: cps-sonar
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'
- 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
+####################
+# 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
######################
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
- '{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
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":
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: "**"
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:
- 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'
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