Update onap verify and onap oom helm build
[infra/cicd.git] / jjb / onap / oom / oom-build-jobs.yaml
index d66623e8e25113736d2b9f278b87baaa324fd366..b731a6dc2fcacad7480840069db9e01c569173b8 100644 (file)
 
 # this job gets triggered when push-upstream is commented on a change on Nordix Gerrit.
 - project:
-    name: 'oom-build'
-    project: oom
+    name: 'oom-helm-build'
+    project: 'infra/installer/oom'
+
+    stream:
+      - 'master':
+          branch: 'master'
 
     jobs:
-      - 'onap-oom-helm-build'
+      - 'onap-oom-helm-build-{stream}'
 
 - job-template:
-    name: 'onap-oom-helm-build'
+    name: 'onap-oom-helm-build-{stream}'
     node: infra-ubuntu1804
     disabled: false
     concurrent: false
 
     parameters:
+      - project-parameters:
+          project: '{project}'
+          branch: '{branch}'
+          description: 'The project and branch for which the change is proposed'
       - nordix-gerrit-parameters
       - string:
           name: HELM_URL
-          default: 'https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz'
+          default: 'https://get.helm.sh/helm-v3.5.0-linux-amd64.tar.gz'
           description: Specifies the URL to fetch Helm.
       - string:
           name: HELM_PUSH_URL
           name: NORDIX_REGISTRY
           default: "https://registry.nordix.org"
           description: Chart registry to upload the built Helm chart.
+      - string:
+          name: NORDIX_ARM_HTTPS_URL
+          default: "https://artifactory.nordix.org/artifactory"
+          description: "Artifact Repository Manager to which to upload the built artifacts."
       - string:
           name: ONAP_OOM_URL
           default: 'https://gerrit.onap.org/r/oom'
           name: ONAP_OOM_HELM_CHART_VALUES_REPLACEMENTS
           description: A comma-separated list of yq expressions to execute on ONAP umbrella chart values.yaml
           default: >
+            explode(.),
             .global.masterPassword="nordix",
             .global.repository="nexus3.onap.org:10001",
             .global.imagePullPolicy="IfNotPresent",
             .global.ingress.enabled=true,
             .global.serviceMesh.enabled=true,
             .global.metrics.enabled=true,
+            .global.addTestingComponents=true,
+            .a1policymanagement.enabled=true,
             .aaf.enabled=true,
             .aai.enabled=true,
             .appc.enabled=true,
             .cassandra.enabled=true,
             .cds.enabled=true,
+            .cert-wrapper.enabled=true,
             .clamp.enabled=true,
             .cli.enabled=true,
             .consul.enabled=true,
+            .contrib.enabled=true,
+            .contrib.awx.enabled=false,
+            .contrib.netbox.enabled=false,
             .cps.enabled=true,
             .dcaegen2.enabled=true,
             .dcaegen2-services.enabled=true,
             .dcaemod.enabled=true,
-            .holmes.enabled=true,
             .dmaap.enabled=true,
             .esr.enabled=true,
-            .sniro-emulator.enabled=true,
-            .oof.enabled=true,
+            .holmes.enabled=true,
             .mariadb-galera.enabled=true,
+            .modeling.enabled=true,
             .msb.enabled=true,
             .multicloud.enabled=true,
+            .multicloud.multicloud-starlingx.enabled=true,
+            .multicloud.multicloud-vio.enabled=true,
+            .multicloud.multicloud-windriver.enabled=true
             .nbi.enabled=true,
+            .oof.enabled=true,
+            .platform.enabled=true,
             .policy.enabled=true,
-            .pomba.enabled=true,
+            .pomba.enabled=false,
             .portal.enabled=true,
+            .repository-wrapper.enabled=true,
             .robot.enabled=true,
             .sdc.enabled=true,
             .sdnc.enabled=true,
+            .sniro-emulator.enabled=false,
             .so.enabled=true,
-            .uui.enabled=true,
-            .vfc.enabled=true,
+            .uui.enabled=false,
+            .vfc.enabled=false,
             .vid.enabled=true,
-            .vndsdk.enabled=true,
-            .modeling.enabled=true,
-            .platform.enabled=true,
-            .a1policymanagement.enabled=true,
-            .cert-wrapper.enabled=true,
-            .repository-wrapper.enabled=true
+            .vndsdk.enabled=true
       - string:
           name: ONAP_OOM_HELM_CHART_VALUES_OVERRIDE
           default: ''
     scm:
       - git-scm-gerrit:
           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: $GERRIT_BRANCH
-          refspec: $GERRIT_REFSPEC
+          branch: '{branch}'
+          refspec: '+refs/heads/{branch}:refs/remotes/origin/{branch}'
           wipe_workspace: true
           clean_before: false
 
     wrappers:
       - build-timeout:
-          timeout: 10
+          timeout: 600
       - nordixinfra-harbor-creds-wrapper
       - credentials-binding:
           - username-password-separated:
       - fix-workspace-permissions
 
     builders:
+      - 'oom-build-installdeps-macro'
       - 'oom-build-wrapper-macro'
       - 'oom-upload-macro'
 
           notify-failure: false
           notify-back-to-normal: false
 
+    triggers:
+      - timed: '@daily'
+
 # vim: ts=2 sw=2 expandtab: