X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fengine%2Fverify-jobs%2Fengine-verify-package.yaml;h=c294376673b97933e9e258071700e8e8522cae41;hb=f2b51873a346fec4e1709c4bf3e60dff76431c12;hp=dd993c4d622be0f198a7f7ab8776c6730b5ba349;hpb=0d6171598c77d324b5eafea1a305b0989f6c414c;p=infra%2Fcicd.git diff --git a/jjb/engine/verify-jobs/engine-verify-package.yaml b/jjb/engine/verify-jobs/engine-verify-package.yaml index dd993c4d..c2943766 100644 --- a/jjb/engine/verify-jobs/engine-verify-package.yaml +++ b/jjb/engine/verify-jobs/engine-verify-package.yaml @@ -25,13 +25,14 @@ stream: - 'master': branch: '{stream}' - openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-cicd' + openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd' execution-mode: 'packaging' - gated-projects: 'infra/engine|infra/provisioner/bifrost|infra/provisioner/heat|infra/installer/kolla|infra/installer/kubespray' + gated-projects: 'infra/engine|infra/provisioner/bifrost|infra/provisioner/heat' successful: false failed: false unstable: false notbuilt: false + deploy-scenario: 'k8-calico-nofeature' distro: - ubuntu1804 @@ -50,6 +51,10 @@ concurrent: true parameters: + - string: + name: DEPLOY_SCENARIO + default: '{deploy-scenario}' + description: 'Scenario to test change with.' - string: name: EXECUTION_MODE default: '{execution-mode}' @@ -62,37 +67,13 @@ name: VERBOSITY default: 'true' description: 'Verbosity setting for the engine - true or false - default is false' - - string: - name: ENGINE_REPO_URL - default: 'https://gerrit.nordix.org/infra/engine.git' - description: 'URL to Nordix Cloud Infra engine repository' - - string: - name: ARTIFACTS_TO_UPLOAD - default: "k8s-installer-ubuntu1804.bsx" - description: 'Artifacts to upload' - - string: - name: NORDIX_ARM_PUBLIC_IP - default: '91.106.198.25' - description: 'Public IP of Nordix Artifactory. Offline deployments can not resolve domain name' - - string: - name: NORDIX_ARM_HTTPS_URL - default: 'https://artifactory.nordix.org/artifactory' - description: 'URL to Nordix Artifactory' - - string: - name: NORDIX_ARM_REPO - default: 'nordix-kubernetes' - description: 'Name of the repository to upload and download artifact to/from. Depends on the stack' - - string: - name: NORDIX_ARTIFACT_URL - default: "$NORDIX_ARM_HTTPS_URL/$NORDIX_ARM_REPO/installer/oss/gerrit/$GERRIT_CHANGE_NUMBER" - description: 'Artifact to download' - string: name: CI_LOOP default: 'verify' description: 'CI loop type' - label: name: SLAVE_LABEL - default: 'engine-package-{distro}' + default: 'engine-package-{distro}-fra' description: 'Slave label to schedule this job on.' - project-parameters: project: $GERRIT_PROJECT @@ -102,23 +83,19 @@ properties: - logrotate - - build-blocker: - use-build-blocker: true - blocking-jobs: - - 'engine-verify-package-.*' - - 'onap-sdc-periodic-release-offline-.*' - - 'onap-so-periodic-release-offline-.*' - - 'kubernetes-periodic-release-offline-.*' - block-level: 'NODE' + # NOTE (fdegir): throttle categories are controlled in jenkins global configuration - throttle: + enabled: true max-per-node: 1 - max-total: 3 - option: project + max-total: 4 + option: category + categories: + - engine-verify-package scm: - git-scm-gerrit: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh - branch: refs/heads/$GERRIT_BRANCH + branch: $GERRIT_BRANCH refspec: $GERRIT_REFSPEC wipe_workspace: true clean_before: false @@ -159,7 +136,7 @@ - openstack: single-use: True - build-timeout: - timeout: 70 + timeout: 240 - credentials-binding: - username-password-separated: credential-id: 'nordix-cicd-arm-credentials' @@ -183,7 +160,9 @@ builders: - - 'generate-sdf-for-change-macro' + - 'generate-change-metadata-macro' + - inject: + properties-file: "$WORKSPACE/change.properties" - 'generate-ssh-keypair-macro' - 'wait-pkg-mgr-macro' - 'package-macro'