engine: Delete obsolete jenkins jobs 82/5382/5
authorFatih Degirmenci <fatih.degirmenci@est.tech>
Sun, 12 Jul 2020 12:28:27 +0000 (12:28 +0000)
committerFatih Degirmenci <fatih.degirmenci@est.tech>
Tue, 14 Jul 2020 07:22:27 +0000 (07:22 +0000)
Change-Id: I8fee993f39bc28dd48c111164a0f8924fc968952

38 files changed:
jjb/cloud-infra/cloud-infra-deploy.sh [deleted file]
jjb/cloud-infra/cloud-infra-docs.yaml [deleted file]
jjb/cloud-infra/cloud-infra-engine-verify-deploy.yaml [deleted file]
jjb/cloud-infra/cloud-infra-macros.yaml [deleted file]
jjb/cloud-infra/cloud-infra-periodic-engine.yaml [deleted file]
jjb/cloud-infra/cloud-infra-periodic-kubernetes.yaml [deleted file]
jjb/cloud-infra/cloud-infra-periodic-onap-baremetal.yaml [deleted file]
jjb/cloud-infra/cloud-infra-periodic-onap.yaml [deleted file]
jjb/cloud-infra/cloud-infra-periodic-openstack.yml [deleted file]
jjb/cloud-infra/cloud-infra-periodic-spinnaker.yaml [deleted file]
jjb/cloud-infra/cloud-infra-scenario-deploy.sh [deleted file]
jjb/cloud-infra/cloud-infra-scenario-test.sh [deleted file]
jjb/cloud-infra/cloud-infra-test.sh [deleted file]
jjb/cloud-infra/cloud-infra-verify-lint.yaml [deleted file]
jjb/cloud-infra/cloud-infra-verify-scenario.yaml [deleted file]
jjb/cloud-infra/cloud-infra-verify-testfw.yaml [deleted file]
jjb/cloud-infra/delete-heat-stack.sh [deleted file]
jjb/cloud-infra/determine-scenario.sh [deleted file]
jjb/cloud-infra/onap-deploy-baremetal.sh [deleted file]
jjb/cloud-infra/onap-deploy.sh [deleted file]
jjb/cloud-infra/onap-healthcheck.sh [deleted file]
jjb/cloud-infra/onap-macros.yaml [deleted file]
jjb/cloud-infra/oom-healthcheck.sh [deleted file]
jjb/cloud-infra/prepare-for-scenario-deploy.sh [deleted file]
jjb/cloud-infra/prepare-for-scenario-test.sh [deleted file]
jjb/cloud-infra/prepare-for-testfw-verify.sh [deleted file]
jjb/cloud-infra/promote-onap.sh [deleted file]
jjb/cloud-infra/scenario-deploy.sh [deleted file]
jjb/cloud-infra/scenario-functest.sh [deleted file]
jjb/cloud-infra/scenario-promote.sh [deleted file]
jjb/cloud-infra/scenario-yardstick.sh [deleted file]
jjb/cloud-infra/scripts/cloud-infra-lint.sh [deleted file]
jjb/cloud-infra/scripts/promote-spinnaker.sh [deleted file]
jjb/cloud-infra/scripts/spinnaker-deploy.sh [deleted file]
jjb/cloud-infra/scripts/spinnaker-test.sh [deleted file]
jjb/cloud-infra/spinnaker-macros.yaml [deleted file]
jjb/cloud-infra/wait-for-pkg-manager.sh [deleted file]
jjb/nolabs/booking-job-macros.yaml

diff --git a/jjb/cloud-infra/cloud-infra-deploy.sh b/jjb/cloud-infra/cloud-infra-deploy.sh
deleted file mode 100644 (file)
index 2985437..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# This script is a wrapper around actual cloud infra engine deploy.sh script which gets
-# executed when the job that uses this script gets triggered due to Gerrit change.
-#
-# Logic in this script should be kept at minimum and the changes should be pushed into
-# the cloud infra engine deploy.sh script.
-
-# The verify job will verify changes coming to other repositories as well such as
-# infra/swconfig so it needs to be handled here in order to ensure $WORKSPACE contains
-# the actual engine repo clone. This will be added later on.
-
-# PDF and IDF are determined based on the deployment type
-#   If DEPLOY_TYPE is virtual, we always use nordix-vpod1 PDF and IDF.
-#   If DEPLOY_TYPE is baremetal, we use variable NODE_NAME injected by Jenkins to the job
-#     in order to set PDF and IDF for the POD the job is running against.
-
-# be more explicit while determining if we support verification of the given scenario
-case $DEPLOY_SCENARIO in
-  onap*)
-    echo "Info: $DEPLOY_SCENARIO scenario verification has not been implemented yet!"
-    exit 0
-    ;;
-  os*|armada*)
-    if [[ "$PROVISIONER_TYPE" != "bifrost" ]]; then
-      echo "Info: $DEPLOY_SCENARIO scenario verification is only available with the provisioner bifrost"
-      exit 0
-    fi
-    ;;
-  k8*)
-    ;;
-  *)
-    echo "Error: Scenario $DEPLOY_SCENARIO is not supported!"
-    exit 1
-    ;;
-esac
-
-echo "Info: Proceeding with $DEPLOY_SCENARIO scenario using provisioner $PROVISIONER_TYPE"
-
-if [[ $DEPLOY_TYPE == "baremetal" ]]; then
-  PDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-pdf.yml"
-  IDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-idf.yml"
-else
-  PDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-pdf.yml"
-  IDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-idf.yml"
-fi
-
-if [[ $PROVISIONER_TYPE == "bifrost" ]]; then
-  DEPLOY_CMD="./engine/deploy.sh -r $PROVISIONER_TYPE -d $INSTALLER_TYPE -o $DISTRO -s $DEPLOY_SCENARIO -p $PDF -i $IDF"
-elif [[ $PROVISIONER_TYPE == "heat" ]]; then
-  DEPLOY_CMD="./engine/deploy.sh -r $PROVISIONER_TYPE -d $INSTALLER_TYPE -o $DISTRO -s $DEPLOY_SCENARIO -u /tmp/openrc -e $HEAT_ENVIRONMENT_FILE"
-else
-  echo "Error: Unsupported provisioner type. Must either be bifrost or heat!"
-  exit 1
-fi
-
-# execute cloud engine deploy.sh script
-cd $WORKSPACE
-$DEPLOY_CMD
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-docs.yaml b/jjb/cloud-infra/cloud-infra-docs.yaml
deleted file mode 100644 (file)
index fee963e..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
----
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-- project:
-    name: 'cloud-infra-docs'
-
-    project: 'cloud-infra-docs'
-
-    stream:
-      - 'master':
-          branch: '{stream}'
-          disabled: true
-
-    jobs:
-      - 'cloud-infra-verify-docs-{stream}'
-      - 'cloud-infra-merge-docs-{stream}'
-
-- job-template:
-    name: 'cloud-infra-verify-docs-{stream}'
-
-    disabled: '{obj:disabled}'
-
-    concurrent: true
-
-    node: 'infra-tools-docker-slave-ubuntu1804'
-
-    parameters:
-      - project-parameters:
-          project: $GERRIT_PROJECT
-          branch: '{branch}'
-      - nordix-gerrit-parameters
-      - string:
-          name: LINT_TYPE
-          default: 'docs'
-          description: 'Lint type to run'
-
-    properties:
-      - logrotate
-
-    wrappers:
-      - build-timeout:
-          timeout: 150
-      - fix-workspace-permissions
-
-    scm:
-      - git:
-          url: '$GIT_BASE_SSH/$PROJECT'
-          credentials-id: nordixinfra-nordix-gerrit-ssh
-          branches:
-            - 'refs/heads/{branch}'
-          refspec: $GERRIT_REFSPEC
-          timeout: 15
-          per-build-tag: false
-          skip-tag: true
-          shallow-clone: false
-          use-author: false
-          ignore-notify: false
-          wipe-workspace: true
-          prune: false
-          clean:
-            after: false
-            before: false
-          choosing-strategy: 'gerrit'
-          submodule:
-            recursive: true
-            tracking: true
-
-    triggers:
-      - nordix-gerrit-trigger-patchset-created:
-          project: 'infra\/engine|infra\/docs'
-          branch: '{branch}'
-          files: 'docs/**'
-          skip-vote:
-            successful: false
-            failed: false
-            unstable: false
-            notbuilt: false
-          custom-url: '* $JOB_NAME $BUILD_URL'
-
-    builders:
-      - 'cloud-infra-lint-macro'
-
-- job-template:
-    name: 'cloud-infra-merge-docs-{stream}'
-
-    disabled: '{obj:disabled}'
-
-    concurrent: false
-
-    node: 'infra-docs-build'
-
-    parameters:
-      - project-parameters:
-          project: $GERRIT_PROJECT
-          branch: '{branch}'
-      - nordix-gerrit-parameters
-      - string:
-          name: LINT_TYPE
-          default: 'docs-deploy'
-          description: 'Lint type to run'
-
-    properties:
-      - logrotate
-
-    wrappers:
-      - build-timeout:
-          timeout: 150
-      - fix-workspace-permissions
-
-    scm:
-      - git:
-          url: '$GIT_BASE_SSH/$PROJECT'
-          credentials-id: nordixinfra-nordix-gerrit-ssh
-          branches:
-            - 'refs/heads/{branch}'
-          refspec: ''
-          timeout: 15
-          per-build-tag: false
-          skip-tag: true
-          shallow-clone: false
-          use-author: false
-          ignore-notify: false
-          wipe-workspace: 'true'
-          prune: false
-          clean:
-            after: false
-            before: false
-          choosing-strategy: 'default'
-          submodule:
-            recursive: true
-            tracking: true
-
-    triggers:
-      - nordix-gerrit-trigger-change-merged:
-          project: 'infra\/docs'
-          branch: '{branch}'
-          files: 'docs/**'
-          custom-url: '* $JOB_NAME $BUILD_URL'
-
-    wrappers:
-      - nordixinfra-jjb-creds-wrapper
-
-    builders:
-      - 'cloud-infra-lint-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-engine-verify-deploy.yaml b/jjb/cloud-infra/cloud-infra-engine-verify-deploy.yaml
deleted file mode 100644 (file)
index 0d023bc..0000000
+++ /dev/null
@@ -1,361 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-#--------------------------------------------------------------------------------------
-# The jobs declared in this JJB configuration file are used for verifying patches
-# that are sent to the repositories below
-#   - cloud-infra/engine
-#
-# These jobs verify changes that
-#   - implement new features or fix bugs for the deployment framework, engine, itself
-#   - implement new features or fix bugs to the playbooks and roles used for utilizing
-#     open source components such as bifrost, kubespray, and kolla-ansible
-#   - bump versions of open source components or the scenarios
-#
-# These jobs are set to run on slaves with label vpod-deploy-ubuntu1604.
-# The slaves have
-#   - Ubuntu1604 as the base distro
-#   - nested virtualization
-#   - internet access
-#   - passwordless sudo
-#   - 16 CPUs/32GB RAM/200 GB Disk
-#   - docker, git vim curl wget zip unzip chrony apt-transport-https ca-certificates curl
-#     gnupg-agent software-properties-common docker-ce docker-ce-cli containerd.io openjdk-8-jre
-#
-# The slaves should not have a cloud infra scenario deployed on them.
-#--------------------------------------------------------------------------------------
-
-- project:
-    name: 'cloud-infra-verify-engine'
-
-    project: 'infra/engine'
-
-    stream:
-      - 'master':
-          branch: '{stream}'
-
-    distro:
-      - ubuntu1804:
-          disabled: true
-      - centos7:
-          disabled: true
-    cloud:
-      - city:
-          openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
-
-    type:
-      - virtual:
-          provisioner-type: 'bifrost'
-          slave-type: 'vpod'
-          successful: false
-          failed: false
-          unstable: false
-          notbuilt: false
-      - cloud:
-          provisioner-type: 'heat'
-          slave-type: 'jumphost'
-          successful: false
-          failed: false
-          unstable: false
-          notbuilt: false
-
-    phase:
-      - deploy:
-          build-timeout: 90
-      - functest:
-          build-timeout: 60
-
-    jobs:
-      - 'cloud-infra-verify-engine-{distro}-{cloud}-{type}-{stream}'
-      - 'cloud-infra-verify-engine-{distro}-{phase}-{type}-{stream}'
-
-- job-template:
-    name: 'cloud-infra-verify-engine-{distro}-{cloud}-{type}-{stream}'
-
-    project-type: multijob
-
-    disabled: '{obj:disabled}'
-
-    concurrent: true
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{branch}'
-      - nordix-gerrit-parameters
-      - label:
-          name: SLAVE_LABEL
-          default: '{cloud}-{slave-type}-{distro}'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: PROVISIONER_TYPE
-          default: '{provisioner-type}'
-          description: 'Provisioner type to use'
-      - string:
-          name: DEPLOY_TYPE
-          default: '{type}'
-          description: 'Type of the deployment'
-      - string:
-          name: HEAT_ENVIRONMENT_FILENAME
-          default: 'heat-environment-{cloud}-{distro}.yaml'
-          description: 'Name of heat-environment file to use.'
-      - string:
-          name: STACK_NAME
-          default: "nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER"
-          description: 'Name of the created stack'
-      - string:
-          name: KEYPAIR_NAME
-          default: "keypair-nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER"
-          description: 'Name of the created keypair'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'true'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: TEST_SUITE
-          default: 'healthcheck'
-          description: 'Test suite to run'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: 'file'
-          description: 'Dispatcher to use for Yardstick reporting'
-      - string:
-          name: DELETE_STACK
-          default: 'yes'
-          description: 'Delete the stack upon completion of the build'
-
-    properties:
-      - logrotate
-      - build-blocker:
-          use-build-blocker: true
-          blocking-jobs:
-            - 'cloud-infra-verify-engine-.*'
-            - 'cloud-infra-verify-scenario-.*'
-            - 'cloud-infra-periodic-engine-.*'
-            - 'onap-.*'
-            - 'k8-.*'
-            - 'os-.*'
-            - 'nolabs-.*'
-          block-level: 'NODE'
-      - throttle:
-          max-per-node: 1
-          max-total: 3
-          option: project
-
-    wrappers:
-      - credentials-binding:
-          - file:
-              credential-id: '{openrc-credentials-file}'
-              variable: OPENRC_FILE
-      - mask-passwords
-      - build-timeout:
-          timeout: 150
-      - fix-workspace-permissions
-      - openstack:
-          single-use: True
-
-    scm:
-      - git-scm-gerrit:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: $GERRIT_REFSPEC
-          wipe_workspace: true
-          clean_before: false
-
-    triggers:
-      - gerrit:
-          server-name: 'Nordix Gerrit'
-          trigger-on:
-            - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
-                exclude-no-code-change: 'false'
-            - draft-published-event
-            - comment-added-contains-event:
-                comment-contains-value: 'recheck'
-            - comment-added-contains-event:
-                comment-contains-value: 'reverify'
-          projects:
-            - project-compare-type: 'REG_EXP'
-              project-pattern: 'infra\/engine'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-              disable-strict-forbidden-file-verification: 'true'
-              forbidden-file-paths:
-                - compare-type: ANT
-                  pattern: 'docs/**'
-          skip-vote:
-            successful: '{obj:successful}'
-            failed: '{obj:failed}'
-            unstable: '{obj:unstable}'
-            notbuilt: '{obj:notbuilt}'
-          custom-url: '* $JOB_NAME $BUILD_URL'
-
-    builders:
-      - shell: |
-          #!/bin/bash
-          cp $OPENRC_FILE /tmp/openrc
-      - 'cloud-infra-determine-scenario-macro'
-      - multijob:
-          name: deploy
-          condition: SUCCESSFUL
-          projects:
-            - name: 'cloud-infra-verify-engine-{distro}-deploy-{type}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-      - multijob:
-          name: functest
-          condition: SUCCESSFUL
-          projects:
-            - name: 'cloud-infra-verify-engine-{distro}-functest-{type}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-
-    publishers:
-      - postbuildscript:
-          builders:
-            - role: SLAVE
-              build-on:
-                - SUCCESS
-                - FAILURE
-                - ABORTED
-                - NOT_BUILT
-                - UNSTABLE
-              build-steps:
-                - shell:
-                    !include-raw-escape: ./wait-for-pkg-manager.sh
-                - shell:
-                    !include-raw: ./delete-heat-stack.sh
-
-- job-template:
-    name: 'cloud-infra-verify-engine-{distro}-{phase}-{type}-{stream}'
-
-    disabled: true
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - string:
-          name: PROJECT
-          default: $GERRIT_PROJECT
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'virtual'
-          description: 'Type of the deployment. Overriden by upstream job.'
-      - string:
-          name: PROVISIONER_TYPE
-          default: 'bifrost'
-          description: 'Provisioner type to use. Overriden by upstream job.'
-      - string:
-          name: HEAT_ENVIRONMENT_FILENAME
-          default: "heat-environment-city-ubuntu1804.yaml"
-          description: 'Name of heat-environment file to use.'
-      - string:
-          name: HEAT_ENVIRONMENT_FILE
-          default: "file://$WORKSPACE/engine/provisioner/heat/playbooks/roles/bootstrap-hwconfig/files/$HEAT_ENVIRONMENT_FILENAME"
-          description: 'Location of heat-environment file to use.'
-      - string:
-          name: STACK_NAME
-          default: "nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER"
-          description: 'Name of the created stack'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'false'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: TEST_FW
-          default: '{phase}'
-          description: 'Test framework to use'
-      - string:
-          name: TEST_SUITE
-          default: 'healthcheck'
-          description: 'Test suite to run'
-      - string:
-          name: TEST_REPO_URL
-          default: 'https://gerrit.nordix.org/infra/test.git'
-          description: 'URL to Nordix Cloud Infra test repository'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: 'file'
-          description: 'Dispatcher to use for Yardstick reporting'
-
-    wrappers:
-      - mask-passwords
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm-gerrit:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: $GERRIT_REFSPEC
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - 'cloud-infra-determine-scenario-macro'
-      - 'cloud-infra-{phase}-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-macros.yaml b/jjb/cloud-infra/cloud-infra-macros.yaml
deleted file mode 100644 (file)
index e250ca1..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-# macros used by all job types
-- builder:
-    name: 'cloud-infra-deploy-macro'
-    builders:
-      - shell:
-          !include-raw: ./wait-for-pkg-manager.sh
-      - shell:
-          !include-raw: ./cloud-infra-deploy.sh
-
-- builder:
-    name: 'cloud-infra-functest-macro'
-    builders:
-      - shell:
-          !include-raw: ./prepare-for-testfw-verify.sh
-      - shell:
-          !include-raw: ./cloud-infra-test.sh
-
-- builder:
-    name: 'cloud-infra-yardstick-macro'
-    builders:
-      - shell:
-          !include-raw: ./prepare-for-testfw-verify.sh
-      - shell:
-          !include-raw: ./cloud-infra-test.sh
-
-- builder:
-    name: 'cloud-infra-testfw-macro'
-    builders:
-      - shell:
-          !include-raw: ./cloud-infra-test.sh
-
-- builder:
-    name: 'cloud-infra-determine-scenario-macro'
-    builders:
-      - shell:
-          !include-raw: ./wait-for-pkg-manager.sh
-      - shell:
-          !include-raw: ./determine-scenario.sh
-      - inject:
-          properties-file: "$WORKSPACE/change.properties"
-      - description-setter:
-          description: $PROVISIONER_TYPE | $INSTALLER_TYPE | $DEPLOY_SCENARIO
-
-- builder:
-    name: 'cloud-infra-scenario-deploy-macro'
-    builders:
-      - shell:
-          !include-raw: ./prepare-for-scenario-deploy.sh
-      - shell:
-          !include-raw: ./cloud-infra-scenario-deploy.sh
-
-- builder:
-    name: 'cloud-infra-scenario-functest-macro'
-    builders:
-      - shell:
-          !include-raw: ./prepare-for-scenario-test.sh
-      - shell:
-          !include-raw: ./cloud-infra-scenario-test.sh
-
-- builder:
-    name: 'scenario-deploy-macro'
-    builders:
-      - shell:
-          !include-raw: ./wait-for-pkg-manager.sh
-      - shell:
-          !include-raw: ./scenario-deploy.sh
-
-- builder:
-    name: 'scenario-functest-macro'
-    builders:
-      - shell:
-          !include-raw: ./prepare-for-testfw-verify.sh
-      - shell:
-          !include-raw: ./scenario-functest.sh
-
-- builder:
-    name: 'scenario-yardstick-macro'
-    builders:
-      - shell:
-          !include-raw: ./prepare-for-testfw-verify.sh
-      - shell:
-          !include-raw: ./scenario-yardstick.sh
-
-- builder:
-    name: 'scenario-promote-macro'
-    builders:
-      - shell:
-          !include-raw: ./scenario-promote.sh
-
-- builder:
-    name: 'cloud-infra-lint-macro'
-    builders:
-      - shell:
-          !include-raw: ./scripts/cloud-infra-lint.sh
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-periodic-engine.yaml b/jjb/cloud-infra/cloud-infra-periodic-engine.yaml
deleted file mode 100644 (file)
index c6fb7e1..0000000
+++ /dev/null
@@ -1,273 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-#--------------------------------------------------------------------------------------
-# The jobs declared in this JJB configuration file are used for verifying cloud-infra
-# engine from the tip of the master branch periodically to check the stability of it.
-#
-# These jobs are set to run on slaves with label vpod-deploy-ubuntu1604.
-# The slaves have
-#   - Ubuntu1604 as the base distro
-#   - nested virtualization
-#   - internet access
-#   - passwordless sudo
-#   - 16 CPUs/32GB RAM/200 GB Disk
-#   - docker, git vim curl wget zip unzip chrony apt-transport-https ca-certificates curl
-#     gnupg-agent software-properties-common docker-ce docker-ce-cli containerd.io openjdk-8-jre
-#
-# The slaves should not have a cloud infra scenario deployed on them.
-#--------------------------------------------------------------------------------------
-
-- project:
-    name: 'cloud-infra-periodic-engine'
-
-    project: 'infra/engine'
-
-    stream:
-      - 'master':
-          branch: '{stream}'
-
-    distro:
-      - ubuntu1804:
-          slave-label: vpod-deploy-ubuntu1804
-      - centos7:
-          slave-label: vpod-deploy-centos7
-
-    type:
-      - virtual:
-          yardstick-dispatcher: 'file'
-          build-trigger: 'H H/3 * * *'
-          disabled: true
-
-    phase:
-      - deploy:
-          build-timeout: 90
-      - functest:
-          build-timeout: 120
-      - yardstick:
-          build-timeout: 30
-
-    jobs:
-      - 'cloud-infra-periodic-engine-{distro}-{type}-{stream}'
-      - 'cloud-infra-periodic-{distro}-{phase}-{type}-{stream}'
-
-- job-template:
-    name: 'cloud-infra-periodic-engine-{distro}-{type}-{stream}'
-
-    project-type: multijob
-
-    disabled: '{obj:disabled}'
-
-    concurrent: true
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{branch}'
-      - nordix-gerrit-parameters
-      - label:
-          name: SLAVE_LABEL
-          default: '{slave-label}'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: DEPLOY_TYPE
-          default: '{type}'
-          description: 'Type of the deployment'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'true'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: INSTALLER_TYPE
-          default: 'kubespray'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'k8-calico-nofeature'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: TEST_SUITE
-          default: 'smoke'
-          description: 'Test suite to run'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: '{yardstick-dispatcher}'
-          description: 'Dispatcher to use for Yardstick reporting'
-
-    properties:
-      - logrotate
-      - build-blocker:
-          use-build-blocker: true
-          blocking-jobs:
-            - 'cloud-infra-verify-engine-.*'
-            - 'cloud-infra-verify-scenario-.*'
-            - 'cloud-infra-periodic-engine-.*'
-            - 'onap-.*'
-            - 'k8-.*'
-            - 'os-.*'
-            - 'nolabs-.*'
-          block-level: 'NODE'
-      - throttle:
-          max-per-node: 1
-          max-total: 3
-          option: project
-
-    wrappers:
-      - build-timeout:
-          timeout: 240
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    triggers:
-      - timed: '{build-trigger}'
-
-    builders:
-      - multijob:
-          name: deploy
-          condition: SUCCESSFUL
-          projects:
-            - name: 'cloud-infra-periodic-{distro}-deploy-{type}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-              git-revision: true
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-      - multijob:
-          name: functest
-          condition: ALWAYS
-          projects:
-            - name: 'cloud-infra-periodic-{distro}-functest-{type}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: yardstick
-          condition: ALWAYS
-          projects:
-            - name: 'cloud-infra-periodic-{distro}-yardstick-{type}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-
-- job-template:
-    name: 'cloud-infra-periodic-{distro}-{phase}-{type}-{stream}'
-
-    disabled: true
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - string:
-          name: PROJECT
-          default: $GERRIT_PROJECT
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'virtual'
-          description: 'Type of the deployment. Overriden by upstream job.'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'false'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: ENGINE_ANSIBLE_PARAMS
-          default: ' -v '
-          description: 'Extra paramters that can be added when run the play books.'
-      - string:
-          name: INSTALLER_TYPE
-          default: 'kubespray'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'k8-calico-nofeature'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: TEST_FW
-          default: '{phase}'
-          description: 'Test framework to use'
-      - string:
-          name: TEST_SUITE
-          default: 'smoke'
-          description: 'Test suite to run'
-      - string:
-          name: TEST_REPO_URL
-          default: 'https://gerrit.nordix.org/infra/test.git'
-          description: 'URL to Nordix Cloud Infra test repository'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: 'file'
-          description: 'Dispatcher to use for Yardstick reporting'
-
-    wrappers:
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - 'cloud-infra-{phase}-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-periodic-kubernetes.yaml b/jjb/cloud-infra/cloud-infra-periodic-kubernetes.yaml
deleted file mode 100644 (file)
index ea706b7..0000000
+++ /dev/null
@@ -1,325 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-#--------------------------------------------------------------------------------------
-# The jobs declared in this JJB configuration file are used for verifying cloud-infra
-# engine from the tip of the master branch periodically to check the stability of it.
-#
-# These jobs are set to run on slaves with label vpod-deploy-ubuntu1604.
-# The slaves have
-#   - Ubuntu1604 as the base distro
-#   - nested virtualization
-#   - internet access
-#   - passwordless sudo
-#   - 16 CPUs/32GB RAM/200 GB Disk
-#   - docker, git vim curl wget zip unzip chrony apt-transport-https ca-certificates curl
-#     gnupg-agent software-properties-common docker-ce docker-ce-cli containerd.io openjdk-8-jre
-#
-# The slaves should not have a cloud infra scenario deployed on them.
-#--------------------------------------------------------------------------------------
-
-- project:
-    name: 'cloud-infra-periodic-kubernetes'
-
-    project: 'infra/engine'
-
-    stream:
-      - 'master':
-          branch: '{stream}'
-
-    distro:
-      - ubuntu1804
-#      - centos7:
-#          disabled: 'true'
-
-    deploy-scenario:
-      - k8-calico-nofeature:
-          disabled: 'true'
-      - k8-flannel-nofeature:
-          disabled: 'true'
-      - k8-canal-nofeature:
-          disabled: 'true'
-      - k8-cilium-nofeature:
-          disabled: 'true'
-      - k8-weave-nofeature:
-          disabled: 'true'
-      - k8-multus-nofeature:
-          disabled: 'true'
-
-    ci-loop:
-      - daily
-
-    type:
-      - baremetal:
-          pod-name: est-baremetal
-          provisioner-type: bifrost
-          installer-type: kubespray
-          slave-label: baremetal-deploy
-          yardstick-dispatcher: 'influxdb'
-
-    phase:
-      - deploy:
-          build-timeout: 90
-      - functest:
-          build-timeout: 240
-      - yardstick:
-          build-timeout: 120
-      - promote:
-          build-timeout: 5
-
-    jobs:
-      - '{deploy-scenario}-{distro}-kubespray-{type}-{ci-loop}-{stream}'
-      - 'kubernetes-{phase}-{distro}-kubespray-{type}-{ci-loop}-{stream}'
-
-- job-template:
-    name: '{deploy-scenario}-{distro}-kubespray-{type}-{ci-loop}-{stream}'
-
-    project-type: multijob
-
-    disabled: '{obj:disabled}'
-
-    concurrent: true
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{branch}'
-      - nordix-gerrit-parameters
-      - label:
-          name: SLAVE_LABEL
-          default: '{slave-label}'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: DEPLOY_TYPE
-          default: '{type}'
-          description: 'Type of the deployment'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'true'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: PROVISIONER_TYPE
-          default: '{provisioner-type}'
-          description: 'Provisioner to use for provisioning nodes'
-      - string:
-          name: INSTALLER_TYPE
-          default: '{installer-type}'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: '{deploy-scenario}'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: TEST_SUITE
-          default: 'smoke'
-          description: 'Test suite to run'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: '{yardstick-dispatcher}'
-          description: 'Dispatcher to use for Yardstick reporting'
-
-    properties:
-      - logrotate
-      - build-blocker:
-          use-build-blocker: true
-          blocking-jobs:
-            - 'cloud-infra-verify-engine-.*'
-            - 'cloud-infra-verify-scenario-.*'
-            - 'cloud-infra-periodic-engine-.*'
-            - 'onap-.*'
-            - 'k8-.*'
-            - 'os-.*'
-            - 'nolabs-.*'
-          block-level: 'NODE'
-      - throttle:
-          max-per-node: 1
-          max-total: 3
-          option: project
-
-    wrappers:
-      - build-timeout:
-          timeout: 455
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    triggers:
-      - timed: '@daily'
-
-    builders:
-      - description-setter:
-          description: $PROVISIONER_TYPE | $INSTALLER_TYPE | $DEPLOY_SCENARIO
-      - multijob:
-          name: deploy
-          condition: SUCCESSFUL
-          projects:
-            - name: 'kubernetes-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-              git-revision: true
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-      - multijob:
-          name: functest
-          condition: ALWAYS
-          projects:
-            - name: 'kubernetes-functest-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: yardstick
-          condition: ALWAYS
-          projects:
-            - name: 'kubernetes-yardstick-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: promote
-          condition: SUCCESSFUL
-          projects:
-            - name: 'kubernetes-promote-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-
-- job-template:
-    name: 'kubernetes-{phase}-{distro}-kubespray-{type}-{ci-loop}-{stream}'
-
-    disabled: true
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - string:
-          name: PROJECT
-          default: $GERRIT_PROJECT
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'virtual'
-          description: 'Type of the deployment. Overriden by upstream job.'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'false'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: ENGINE_ANSIBLE_PARAMS
-          default: ' -v '
-          description: 'Extra paramters that can be added when run the play books.'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'k8-calico-nofeature'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: PROVISIONER_TYPE
-          default: 'bifrost'
-          description: 'Provisioner to use for provisioning nodes'
-      - string:
-          name: INSTALLER_TYPE
-          default: 'kubespray'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: TEST_FW
-          default: '{phase}'
-          description: 'Test framework to use'
-      - string:
-          name: TEST_SUITE
-          default: 'smoke'
-          description: 'Test suite to run'
-      - string:
-          name: TEST_REPO_URL
-          default: 'https://gerrit.nordix.org/infra/test.git'
-          description: 'URL to Nordix Cloud Infra test repository'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: 'file'
-          description: 'Dispatcher to use for Yardstick reporting'
-
-    wrappers:
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $PROVISIONER_TYPE | $INSTALLER_TYPE | $DEPLOY_SCENARIO
-      - 'scenario-{phase}-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-periodic-onap-baremetal.yaml b/jjb/cloud-infra/cloud-infra-periodic-onap-baremetal.yaml
deleted file mode 100644 (file)
index 7a50292..0000000
+++ /dev/null
@@ -1,498 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-#--------------------------------------------------------------------------------------
-# The jobs declared in this JJB configuration file are used for deploying and testing
-# ONAP scenario onap-nofeature-noha.
-#--------------------------------------------------------------------------------------
-
-- project:
-    name: 'cloud-infra-periodic-onap-baremetal'
-
-    project: 'infra/engine'
-
-    onap-branch:
-      - 'elalto':
-          nordix-branch: master
-          onap-version: elalto
-          onap-flavor: full
-          engine-version: master
-          engine-refspec: 'refs/changes/57/4157/12'
-          deploy-scenario: 'onap-nofeature-noha'
-          deploy-scenario-version: master
-          deploy-scenario-refspec: master
-          disabled: false
-      - 'master':
-          nordix-branch: master
-          onap-version: master
-          onap-flavor: full
-          engine-version: master
-          engine-refspec: 'refs/changes/57/4157/12'
-          deploy-scenario: 'onap-nofeature-noha'
-          deploy-scenario-version: master
-          deploy-scenario-refspec: master
-          disabled: false
-
-    distro:
-      - ubuntu1804:
-          slave-label: 'onap-baremetal-deploy'
-          pod-name: est-baremetal
-          provisioner-type: bifrost
-          installer-type: kubespray
-
-    ci-loop:
-      - daily:
-          daily-trigger: '#@midnight'
-
-    onap-other-phases:
-      - onap-deploy:
-          build-timeout: 420
-      - oom-hc:
-          build-timeout: 30
-          test-type: oom-healthcheck
-#      - promote-onap:
-#          build-timeout: 240
-
-    onap-healthcheck-phases:
-      - onap-hc-core:
-          build-timeout: 30
-          test-type: onap-healthcheck
-      - onap-hc-small:
-          build-timeout: 30
-          test-type: onap-healthcheck
-      - onap-hc-medium:
-          build-timeout: 30
-          test-type: onap-healthcheck
-      - onap-hc-full:
-          build-timeout: 30
-          test-type: onap-healthcheck
-      - onap-hc-healthdist:
-          build-timeout: 30
-          test-type: onap-healthcheck
-
-    jobs:
-      - 'onap-online-{onap-flavor}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-      - '{onap-other-phases}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-      - '{onap-healthcheck-phases}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-
-- job-template:
-    name: 'onap-online-{onap-flavor}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-
-    project-type: multijob
-
-    disabled: '{obj:disabled}'
-
-    concurrent: false
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{nordix-branch}'
-      - nordix-gerrit-parameters
-      - onap-baremetal-parameter-macro-legacy
-      - label:
-          name: SLAVE_LABEL
-          default: '{slave-label}'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: ONAP_VERSION
-          default: '{onap-version}'
-          description: 'ONAP version to deploy'
-      - string:
-          name: ONAP_FLAVOR
-          default: '{onap-flavor}'
-          description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
-      - string:
-          name: ENGINE_VERSION
-          default: '{engine-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
-      - string:
-          name: ENGINE_REFSPEC
-          default: '{engine-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
-      - string:
-          name: DEPLOY_SCENARIO_VERSION
-          default: '{deploy-scenario-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
-      - string:
-          name: DEPLOY_SCENARIO_REFSPEC
-          default: '{deploy-scenario-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
-      - string:
-          name: POD_NAME
-          default: '{pod-name}'
-          description: 'Development purposes only! Set to none for disabling test results DB reporting.'
-
-    properties:
-      - logrotate
-      - build-blocker:
-          use-build-blocker: true
-          blocking-jobs:
-            - 'cloud-infra-verify-engine-.*'
-            - 'cloud-infra-verify-scenario-.*'
-            - 'cloud-infra-periodic-engine-.*'
-            - 'onap-.*'
-            - 'k8-.*'
-            - 'os-.*'
-            - 'nolabs-.*'
-          block-level: 'NODE'
-      - throttle:
-          max-per-node: 1
-          max-total: 1
-          option: project
-
-    wrappers:
-      - mask-passwords
-      - build-timeout:
-          timeout: 630
-      - fix-workspace-permissions
-
-    triggers:
-      - timed: '{daily-trigger}'
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{nordix-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | baremetal
-      - multijob:
-          name: Deploy ONAP using OOM
-          condition: ALWAYS
-          projects:
-            - name: 'onap-deploy-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=$ONAP_FLAVOR
-                POD_NAME=$POD_NAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              git-revision: true
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: K8S and OOM Healthcheck using xtesting
-          condition: ALWAYS
-          projects:
-            - name: 'oom-hc-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=full
-                TEST_TYPE=oom-healthcheck
-                POD_NAME=$POD_NAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: ONAP Healthcheck using xtesting
-          execution-type: SEQUENTIALLY
-          condition: ALWAYS
-          projects:
-            - name: 'onap-hc-core-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=core
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-            - name: 'onap-hc-small-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=small
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-            - name: 'onap-hc-medium-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=medium
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-            - name: 'onap-hc-full-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=full
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-            - name: 'onap-hc-healthdist-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=healthdist
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-#      - multijob:
-#          name: Promote ONAP (not activated)
-#          condition: ALWAYS
-#          projects:
-#            - name: 'promote-onap-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-#              current-parameters: false
-#              predefined-parameters: |
-#                SLAVE_LABEL=$SLAVE_LABEL
-#                DISTRO=$DISTRO
-#                PROVISIONER_TYPE=$PROVISIONER_TYPE
-#                INSTALLER_TYPE=$INSTALLER_TYPE
-#                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-#                ONAP_VERSION=$ONAP_VERSION
-#                ONAP_FLAVOR=core
-#                TEST_TYPE=onap-healthcheck
-#                POD_NAME=$POD_NAME
-#                ENGINE_VERSION=$ENGINE_VERSION
-#                ENGINE_REFSPEC=$ENGINE_REFSPEC
-#                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-#                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-#                XTESTING_REPO_URL=$XTESTING_REPO_URL
-#                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-#              node-parameters: true
-#              kill-phase-on: NEVER
-#              abort-all-job: false
-
-- job-template:
-    name: '{onap-other-phases}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-
-    disabled: false
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{nordix-branch}'
-      - nordix-gerrit-parameters
-      - onap-baremetal-parameter-macro-legacy
-      - label:
-          name: SLAVE_LABEL
-          default: 'xerces-jumphost-onap-ubuntu1804'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: ONAP_FLAVOR
-          default: '{onap-flavor}'
-          description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
-      - string:
-          name: ONAP_VERSION
-          default: '{onap-version}'
-          description: 'ONAP version to deploy'
-
-    wrappers:
-      - mask-passwords
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-      - credentials-binding:
-          - username-password-separated:
-              credential-id: 'nordix-cicd-arm-credentials'
-              username: NORDIX_ARM_USERNAME
-              password: NORDIX_ARM_TOKEN
-          - username-password-separated:
-              credential-id: 'nordix-cicd-harbor-credentials'
-              username: NORDIX_HARBOR_USERNAME
-              password: NORDIX_HARBOR_PASSWORD
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{nordix-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | baremetal
-      - '{onap-other-phases}-baremetal-macro-legacy'
-
-- job-template:
-    name: '{onap-healthcheck-phases}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
-
-    disabled: false
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{nordix-branch}'
-      - nordix-gerrit-parameters
-      - onap-baremetal-parameter-macro-legacy
-      - label:
-          name: SLAVE_LABEL
-          default: 'xerces-jumphost-onap-ubuntu1804'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: ONAP_VERSION
-          default: '{onap-version}'
-          description: 'ONAP version to deploy'
-      - string:
-          name: ENGINE_VERSION
-          default: '{engine-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
-      - string:
-          name: ENGINE_REFSPEC
-          default: '{engine-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
-      - string:
-          name: DEPLOY_SCENARIO_VERSION
-          default: '{deploy-scenario-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
-      - string:
-          name: DEPLOY_SCENARIO_REFSPEC
-          default: '{deploy-scenario-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
-      - string:
-          name: POD_NAME
-          default: '{pod-name}'
-          description: 'Development purposes only! Set to none for disabling test results DB reporting.'
-
-    wrappers:
-      - mask-passwords
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{nordix-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | baremetal
-      - 'onap-healthcheck-baremetal-macro-legacy'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-periodic-onap.yaml b/jjb/cloud-infra/cloud-infra-periodic-onap.yaml
deleted file mode 100644 (file)
index b967fc2..0000000
+++ /dev/null
@@ -1,616 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-#--------------------------------------------------------------------------------------
-# The jobs declared in this JJB configuration file are used for deploying and testing
-# ONAP scenario onap-nofeature-noha.
-#--------------------------------------------------------------------------------------
-
-- project:
-    name: 'cloud-infra-periodic-onap'
-
-    project: 'infra/engine'
-
-    cloud:
-      - city:
-          slave-label: 'engine-jumphost-online-ubuntu1804'
-          openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-onap'
-          daily-trigger: '@midnight'
-      - xerces:
-          slave-label: 'xerces-jumphost-ubuntu1804'
-          openrc-credentials-file: 'est-estinfra-openrcfile-xerces-lund-onap'
-          daily-trigger: '#@midnight'
-
-    onap-branch:
-      - 'elalto':
-          nordix-branch: master
-          onap-version: elalto
-          onap-flavor: full
-          engine-version: master
-          engine-refspec: master
-          deploy-scenario: 'onap-nofeature-noha'
-          deploy-scenario-version: master
-          deploy-scenario-refspec: master
-          disabled: true
-          delete-stack: 'yes'
-      - 'master':
-          nordix-branch: master
-          onap-version: master
-          onap-flavor: full
-          engine-version: master
-          engine-refspec: master
-          deploy-scenario: 'onap-nofeature-noha'
-          deploy-scenario-version: master
-          deploy-scenario-refspec: master
-          disabled: true
-          delete-stack: 'yes'
-
-    distro:
-      - ubuntu1804
-
-    ci-loop:
-      - daily
-
-    type:
-      - cloud:
-          pod-name: est-cloud
-          provisioner-type: heat
-          installer-type: kubespray
-
-    onap-other-phases:
-      - onap-deploy:
-          build-timeout: 210
-      - oom-hc:
-          build-timeout: 30
-          test-type: oom-healthcheck
-      - promote-onap:
-          build-timeout: 240
-
-    onap-healthcheck-phases:
-      - onap-hc-core:
-          build-timeout: 30
-          test-type: onap-healthcheck
-      - onap-hc-small:
-          build-timeout: 30
-          test-type: onap-healthcheck
-      - onap-hc-medium:
-          build-timeout: 30
-          test-type: onap-healthcheck
-      - onap-hc-full:
-          build-timeout: 30
-          test-type: onap-healthcheck
-      - onap-hc-healthdist:
-          build-timeout: 30
-          test-type: onap-healthcheck
-
-    jobs:
-      - 'onap-online-{onap-flavor}-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{onap-branch}'
-      - '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-      - '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-
-- job-template:
-    name: 'onap-online-{onap-flavor}-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{onap-branch}'
-
-    project-type: multijob
-
-    disabled: '{obj:disabled}'
-
-    concurrent: false
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{nordix-branch}'
-      - nordix-gerrit-parameters
-      - onap-parameter-macro-legacy
-      - label:
-          name: SLAVE_LABEL
-          default: '{slave-label}'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: OPENSTACK_CLOUD_PROVIDER
-          default: '{cloud}'
-          description: 'Name of the cloud where this job is run'
-      - string:
-          name: ONAP_VERSION
-          default: '{onap-version}'
-          description: 'ONAP version to deploy'
-      - string:
-          name: ONAP_FLAVOR
-          default: '{onap-flavor}'
-          description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
-      - string:
-          name: STACK_NAME
-          default: 'nordix-cicd-{deploy-scenario}-{onap-branch}-{onap-flavor}'
-      - string:
-          name: KEYPAIR_NAME
-          default: 'keypair-nordix-cicd-{deploy-scenario}-{onap-branch}-{onap-flavor}'
-      - string:
-          name: HEAT_ENVIRONMENT_FILENAME
-          default: "heat-environment-{cloud}-{distro}-full.yaml"
-          description: 'Type of the deployment'
-      - string:
-          name: ENGINE_VERSION
-          default: '{engine-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
-      - string:
-          name: ENGINE_REFSPEC
-          default: '{engine-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
-      - string:
-          name: DEPLOY_SCENARIO_VERSION
-          default: '{deploy-scenario-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
-      - string:
-          name: DEPLOY_SCENARIO_REFSPEC
-          default: '{deploy-scenario-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
-      - string:
-          name: POD_NAME
-          default: '{pod-name}'
-          description: 'Development purposes only! Set to none for disabling test results DB reporting.'
-      - string:
-          name: DELETE_STACK
-          default: '{delete-stack}'
-          description: 'Development purposes only! Whether delete the stack or not. It must either be yes or no. Setting this to no will increase the cost!'
-
-    properties:
-      - logrotate
-      - build-blocker:
-          use-build-blocker: true
-          blocking-jobs:
-            - 'cloud-infra-verify-engine-.*'
-            - 'cloud-infra-verify-scenario-.*'
-            - 'cloud-infra-periodic-engine-.*'
-            - 'onap-.*'
-            - 'k8-.*'
-            - 'os-.*'
-            - 'nolabs-.*'
-          block-level: 'NODE'
-      - throttle:
-          max-per-node: 1
-          max-total: 1
-          option: project
-
-    wrappers:
-      - credentials-binding:
-          - file:
-              credential-id: '{openrc-credentials-file}'
-              variable: OPENRC_FILE
-      - mask-passwords
-      - build-timeout:
-          timeout: 630
-      - fix-workspace-permissions
-      - openstack:
-          single-use: True
-
-    triggers:
-      - timed: '{daily-trigger}'
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{nordix-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
-      - shell: |
-          #!/bin/bash
-          /bin/rm -rf /tmp/openrc && /bin/cp -f $OPENRC_FILE /tmp/openrc
-      - multijob:
-          name: Deploy ONAP using OOM
-          condition: ALWAYS
-          projects:
-            - name: 'onap-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=$ONAP_FLAVOR
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              git-revision: true
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: K8S and OOM Healthcheck using xtesting
-          condition: ALWAYS
-          projects:
-            - name: 'oom-hc-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=full
-                TEST_TYPE=oom-healthcheck
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: ONAP Healthcheck using xtesting
-          execution-type: SEQUENTIALLY
-          condition: ALWAYS
-          projects:
-            - name: 'onap-hc-core-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=core
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-            - name: 'onap-hc-small-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=small
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-            - name: 'onap-hc-medium-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=medium
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-            - name: 'onap-hc-full-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=full
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-            - name: 'onap-hc-healthdist-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=healthdist
-                TEST_TYPE=onap-healthcheck
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: Promote ONAP (not activated)
-          condition: ALWAYS
-          projects:
-            - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                SLAVE_LABEL=$SLAVE_LABEL
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                ONAP_VERSION=$ONAP_VERSION
-                ONAP_FLAVOR=$ONAP_FLAVOR
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                KEYPAIR_NAME=$KEYPAIR_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-                XTESTING_REPO_URL=$XTESTING_REPO_URL
-                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-
-    publishers:
-      - postbuildscript:
-          builders:
-            - role: SLAVE
-              build-on:
-                - SUCCESS
-                - FAILURE
-                - ABORTED
-                - NOT_BUILT
-                - UNSTABLE
-              build-steps:
-                - shell:
-                    !include-raw-escape: ./wait-for-pkg-manager.sh
-                - shell:
-                    !include-raw: ./delete-heat-stack.sh
-
-- job-template:
-    name: '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-
-    disabled: false
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{nordix-branch}'
-      - nordix-gerrit-parameters
-      - onap-parameter-macro-legacy
-      - label:
-          name: SLAVE_LABEL
-          default: 'xerces-jumphost-onap-ubuntu1804'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: OPENSTACK_CLOUD_PROVIDER
-          default: 'city'
-          description: 'Name of the cloud where this job is run'
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: ONAP_FLAVOR
-          default: '{onap-flavor}'
-          description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
-      - string:
-          name: ONAP_VERSION
-          default: '{onap-version}'
-          description: 'ONAP version to deploy'
-      - string:
-          name: HEAT_ENVIRONMENT_FILENAME
-          default: "heat-environment-full.yaml"
-          description: 'Type of the deployment'
-      - string:
-          name: HEAT_ENVIRONMENT_FILE
-          default: "file:///opt/engine/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/$HEAT_ENVIRONMENT_FILENAME"
-          description: 'Type of the deployment'
-
-    wrappers:
-      - mask-passwords
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-      - credentials-binding:
-          - username-password-separated:
-              credential-id: 'nordix-cicd-arm-credentials'
-              username: NORDIX_ARM_USERNAME
-              password: NORDIX_ARM_TOKEN
-          - username-password-separated:
-              credential-id: 'nordix-cicd-harbor-credentials'
-              username: NORDIX_HARBOR_USERNAME
-              password: NORDIX_HARBOR_PASSWORD
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{nordix-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | $OPENSTACK_CLOUD_PROVIDER
-      - '{onap-other-phases}-macro-legacy'
-
-- job-template:
-    name: '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
-
-    disabled: false
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{nordix-branch}'
-      - nordix-gerrit-parameters
-      - onap-parameter-macro-legacy
-      - label:
-          name: SLAVE_LABEL
-          default: 'xerces-jumphost-onap-ubuntu1804'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: OPENSTACK_CLOUD_PROVIDER
-          default: 'city'
-          description: 'Name of the cloud where this job is run'
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: ONAP_VERSION
-          default: '{onap-version}'
-          description: 'ONAP version to deploy'
-      - string:
-          name: HEAT_ENVIRONMENT_FILENAME
-          default: "heat-environment-full.yaml"
-          description: 'Type of the deployment'
-      - string:
-          name: HEAT_ENVIRONMENT_FILE
-          default: "file:///opt/engine/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/$HEAT_ENVIRONMENT_FILENAME"
-          description: 'Type of the deployment'
-      - string:
-          name: ENGINE_VERSION
-          default: '{engine-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
-      - string:
-          name: ENGINE_REFSPEC
-          default: '{engine-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
-      - string:
-          name: DEPLOY_SCENARIO_VERSION
-          default: '{deploy-scenario-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
-      - string:
-          name: DEPLOY_SCENARIO_REFSPEC
-          default: '{deploy-scenario-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
-      - string:
-          name: POD_NAME
-          default: '{pod-name}'
-          description: 'Development purposes only! Set to none for disabling test results DB reporting.'
-
-    wrappers:
-      - mask-passwords
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{nordix-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | $OPENSTACK_CLOUD_PROVIDER
-      - 'onap-healthcheck-macro-legacy'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-periodic-openstack.yml b/jjb/cloud-infra/cloud-infra-periodic-openstack.yml
deleted file mode 100644 (file)
index e0cb0dd..0000000
+++ /dev/null
@@ -1,359 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-#--------------------------------------------------------------------------------------
-# The jobs declared in this JJB configuration file are used for verifying cloud-infra
-# engine from the tip of the master branch periodically to check the stability of it.
-#
-# These jobs are set to run on slaves with label vpod-deploy-ubuntu1604.
-# The slaves have
-#   - Ubuntu1604 as the base distro
-#   - nested virtualization
-#   - internet access
-#   - passwordless sudo
-#   - 16 CPUs/32GB RAM/200 GB Disk
-#   - docker, git vim curl wget zip unzip chrony apt-transport-https ca-certificates curl
-#     gnupg-agent software-properties-common docker-ce docker-ce-cli containerd.io openjdk-8-jre
-#
-# The slaves should not have a cloud infra scenario deployed on them.
-#--------------------------------------------------------------------------------------
-
-- project:
-    name: 'cloud-infra-periodic-openstack'
-
-    project: 'infra/engine'
-
-    stream:
-      - 'master':
-          disabled: 'true'
-          engine-branch: 'master'
-          openstack-branch: '{stream}'
-      - 'train':
-          disabled: 'true'
-          engine-branch: 'master'
-          openstack-branch: '{stream}'
-      - 'stein':
-          disabled: 'true'
-          engine-branch: 'master'
-          openstack-branch: '{stream}'
-      - 'rocky':
-          disabled: 'true'
-          engine-branch: 'master'
-          openstack-branch: '{stream}'
-
-    distro:
-      - ubuntu1804
-
-    deploy-scenario:
-      - os-nosdn-nofeature
-
-    type:
-      - baremetal:
-          pod-name: est-baremetal
-          slave-label: baremetal-deploy
-          provisioner-type: bifrost
-          installer-type: kolla
-          test-suite: smoke
-          yardstick-dispatcher: 'influxdb'
-          ci-loop: daily
-          trigger-on: '@daily'
-      - virtual:
-          pod-name: est-virtual
-          slave-label: vpod
-          provisioner-type: bifrost
-          installer-type: kolla
-          test-suite: healthcheck
-          yardstick-dispatcher: 'influxdb'
-          ci-loop: periodic
-          trigger-on: '0 */8 * * *'
-
-    phase:
-      - deploy:
-          build-timeout: 90
-      - functest:
-          build-timeout: 240
-      - yardstick:
-          build-timeout: 120
-      - promote:
-          build-timeout: 5
-
-    jobs:
-      - '{deploy-scenario}-{distro}-kolla-{type}-{ci-loop}-{stream}'
-      - 'openstack-{phase}-{distro}-kolla-{type}-{ci-loop}-{stream}'
-
-- job-template:
-    name: '{deploy-scenario}-{distro}-kolla-{type}-{ci-loop}-{stream}'
-
-    project-type: multijob
-
-    disabled: '{obj:disabled}'
-
-    concurrent: true
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{engine-branch}'
-      - nordix-gerrit-parameters
-      - label:
-          name: SLAVE_LABEL
-          default: '{slave-label}'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: CI_LOOP
-          default: '{ci-loop}'
-          description: 'Type of the deployment'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: DEPLOY_TYPE
-          default: '{type}'
-          description: 'Type of the deployment'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'true'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: OPENSTACK_VERSION
-          default: '{openstack-branch}'
-          description: 'OpenStack Version to deploy and test'
-      - string:
-          name: PROVISIONER_TYPE
-          default: '{provisioner-type}'
-          description: 'Provisioner to use for provisioning nodes'
-      - string:
-          name: INSTALLER_TYPE
-          default: '{installer-type}'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: '{deploy-scenario}'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: TEST_SUITE
-          default: '{test-suite}'
-          description: 'Test suite to run'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: '{yardstick-dispatcher}'
-          description: 'Dispatcher to use for Yardstick reporting'
-
-    properties:
-      - logrotate
-      - build-blocker:
-          use-build-blocker: true
-          blocking-jobs:
-            - 'cloud-infra-verify-engine-.*'
-            - 'cloud-infra-verify-scenario-.*'
-            - 'cloud-infra-periodic-engine-.*'
-            - 'onap-.*'
-            - 'k8-.*'
-            - 'os-.*'
-            - 'nolabs-.*'
-          block-level: 'NODE'
-      - throttle:
-          max-per-node: 1
-          max-total: 3
-          option: project
-
-    wrappers:
-      - build-timeout:
-          timeout: 455
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{engine-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    triggers:
-      - timed: '{trigger-on}'
-
-    builders:
-      - description-setter:
-          description: $PROVISIONER_TYPE | $INSTALLER_TYPE | $DEPLOY_SCENARIO
-      - multijob:
-          name: deploy
-          condition: SUCCESSFUL
-          projects:
-            - name: 'openstack-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                CI_LOOP=$CI_LOOP
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE
-                OPENSTACK_VERSION=$OPENSTACK_VERSION
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-              git-revision: true
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-      - multijob:
-          name: functest
-          condition: ALWAYS
-          projects:
-            - name: 'openstack-functest-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                CI_LOOP=$CI_LOOP
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                OPENSTACK_VERSION=$OPENSTACK_VERSION
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: yardstick
-          condition: ALWAYS
-          projects:
-            - name: 'openstack-yardstick-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                CI_LOOP=$CI_LOOP
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                OPENSTACK_VERSION=$OPENSTACK_VERSION
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: promote
-          condition: SUCCESSFUL
-          projects:
-            - name: 'openstack-promote-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                CI_LOOP=$CI_LOOP
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                OPENSTACK_VERSION=$OPENSTACK_VERSION
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-
-- job-template:
-    name: 'openstack-{phase}-{distro}-kolla-{type}-{ci-loop}-{stream}'
-
-    disabled: false
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - string:
-          name: PROJECT
-          default: $GERRIT_PROJECT
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
-      - string:
-          name: CI_LOOP
-          default: '{ci-loop}'
-          description: 'Type of the deployment'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'virtual'
-          description: 'Type of the deployment. Overriden by upstream job.'
-      - string:
-          name: OPENSTACK_VERSION
-          default: 'stein'
-          description: 'OpenStack Version to deploy and test'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'false'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: ENGINE_ANSIBLE_PARAMS
-          default: ' -v '
-          description: 'Extra paramters that can be added when run the play books.'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'k8-calico-nofeature'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: PROVISIONER_TYPE
-          default: 'bifrost'
-          description: 'Provisioner to use for provisioning nodes'
-      - string:
-          name: INSTALLER_TYPE
-          default: 'kolla'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: TEST_FW
-          default: '{phase}'
-          description: 'Test framework to use'
-      - string:
-          name: TEST_SUITE
-          default: 'smoke'
-          description: 'Test suite to run'
-      - string:
-          name: TEST_REPO_URL
-          default: 'https://gerrit.nordix.org/infra/test.git'
-          description: 'URL to Nordix Cloud Infra test repository'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: 'file'
-          description: 'Dispatcher to use for Yardstick reporting'
-
-    wrappers:
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{engine-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $PROVISIONER_TYPE | $INSTALLER_TYPE | $DEPLOY_SCENARIO
-      - 'scenario-{phase}-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-periodic-spinnaker.yaml b/jjb/cloud-infra/cloud-infra-periodic-spinnaker.yaml
deleted file mode 100644 (file)
index 55d17c8..0000000
+++ /dev/null
@@ -1,404 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-#--------------------------------------------------------------------------------------
-# The jobs declared in this JJB configuration file are used for deploying and testing
-# Spinnaker using k8-calico-spinnaker scenario.
-#--------------------------------------------------------------------------------------
-
-- project:
-    name: 'cloud-infra-periodic-spinnaker'
-
-    project: 'infra/engine'
-
-    cloud:
-      - city:
-          slave-label: 'engine-jumphost-online-ubuntu1804'
-          openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-onap'
-          daily-trigger: '@daily'
-
-    spinnaker-branch:
-      - '1.16':
-          nordix-branch: master
-          engine-version: master
-          engine-refspec: master
-          deploy-scenario: 'k8-calico-spinnaker'
-          deploy-scenario-version: master
-          deploy-scenario-refspec: master
-          keypair-name: 'keypair-nordix-cicd-{deploy-scenario}-1_16'
-          disabled: true
-          delete-stack: 'yes'
-
-    distro:
-      - ubuntu1804
-
-    ci-loop:
-      - daily
-
-    type:
-      - cloud:
-          pod-name: est-cloud
-          provisioner-type: heat
-          installer-type: kubespray
-
-    phase:
-      - spinnaker-deploy:
-          build-timeout: 60
-      - spinnaker-test:
-          build-timeout: 60
-      - promote-spinnaker:
-          build-timeout: 60
-
-    jobs:
-      - 'k8-calico-spinnaker-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{spinnaker-branch}'
-      - '{phase}-{distro}-{installer-type}-{type}-{ci-loop}-{spinnaker-branch}'
-
-- job-template:
-    name: 'k8-calico-spinnaker-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{spinnaker-branch}'
-
-    project-type: multijob
-
-    disabled: '{obj:disabled}'
-
-    concurrent: false
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{nordix-branch}'
-      - nordix-gerrit-parameters
-      - label:
-          name: SLAVE_LABEL
-          default: '{slave-label}'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: PROVISIONER_TYPE
-          default: 'heat'
-          description: 'Provisioner to use for provisioning nodes'
-      - string:
-          name: INSTALLER_TYPE
-          default: 'kubespray'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'k8-calico-spinnaker'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'cloud'
-          description: 'Type of the deployment'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: OPENSTACK_CLOUD_PROVIDER
-          default: '{cloud}'
-          description: 'Name of the cloud where this job is run'
-      - string:
-          name: SPINNAKER_VERSION
-          default: '{spinnaker-branch}'
-          description: 'Spinnaker version to deploy'
-      - string:
-          name: STACK_NAME
-          default: 'nordix-cicd-{deploy-scenario}-{spinnaker-branch}'
-      - string:
-          name: KEYPAIR_NAME
-          default: '{keypair-name}'
-      - string:
-          name: HEAT_ENVIRONMENT_FILENAME
-          default: "heat-environment-full.yaml"
-          description: 'Heat environment file to use for creating the stack'
-      - string:
-          name: ENGINE_VERSION
-          default: '{engine-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying Spinnaker. Could be sha, branch'
-      - string:
-          name: ENGINE_REFSPEC
-          default: '{engine-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying Spinnaker. Must be refspec.'
-      - string:
-          name: DEPLOY_SCENARIO_VERSION
-          default: '{deploy-scenario-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying Spinnaker. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
-      - string:
-          name: DEPLOY_SCENARIO_REFSPEC
-          default: '{deploy-scenario-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying Spinnaker. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
-      - string:
-          name: POD_NAME
-          default: '{pod-name}'
-          description: 'Development purposes only! Set to none for disabling test results DB reporting.'
-      - string:
-          name: DELETE_STACK
-          default: '{delete-stack}'
-          description: 'Development purposes only! Whether delete the stack or not. It must either be yes or no. Setting this to no will increase the cost!'
-
-    properties:
-      - logrotate
-      - build-blocker:
-          use-build-blocker: true
-          blocking-jobs:
-            - 'cloud-infra-verify-engine-.*'
-            - 'cloud-infra-verify-scenario-.*'
-            - 'cloud-infra-periodic-engine-.*'
-            - 'onap-.*'
-            - 'k8-.*'
-            - 'os-.*'
-            - 'nolabs-.*'
-          block-level: 'NODE'
-      - throttle:
-          max-per-node: 1
-          max-total: 1
-          option: project
-
-    wrappers:
-      - credentials-binding:
-          - file:
-              credential-id: '{openrc-credentials-file}'
-              variable: OPENRC_FILE
-      - mask-passwords
-      - build-timeout:
-          timeout: 630
-      - fix-workspace-permissions
-      - openstack:
-          single-use: True
-
-    triggers:
-      - timed: '{daily-trigger}'
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{nordix-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $DEPLOY_SCENARIO | Spinnaker $SPINNAKER_VERSION
-      - shell: |
-          #!/bin/bash
-          /bin/rm -rf /tmp/openrc && /bin/cp -f $OPENRC_FILE /tmp/openrc
-      - multijob:
-          name: Deploy Spinnaker using Helm
-          condition: ALWAYS
-          projects:
-            - name: 'spinnaker-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{spinnaker-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                SPINNAKER_VERSION=$SPINNAKER_VERSION
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-              git-revision: true
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: Test Spinnaker Deployment (not activated)
-          condition: ALWAYS
-          projects:
-            - name: 'spinnaker-test-{distro}-{installer-type}-{type}-{ci-loop}-{spinnaker-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                SPINNAKER_VERSION=$SPINNAKER_VERSION
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-              git-revision: true
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-      - multijob:
-          name: Promote Spinnaker (not activated)
-          condition: ALWAYS
-          projects:
-            - name: 'promote-spinnaker-{distro}-{installer-type}-{type}-{ci-loop}-{spinnaker-branch}'
-              current-parameters: false
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                PROVISIONER_TYPE=$PROVISIONER_TYPE
-                INSTALLER_TYPE=$INSTALLER_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                SPINNAKER_VERSION=$SPINNAKER_VERSION
-                POD_NAME=$POD_NAME
-                STACK_NAME=$STACK_NAME
-                HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME
-                ENGINE_VERSION=$ENGINE_VERSION
-                ENGINE_REFSPEC=$ENGINE_REFSPEC
-                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
-                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
-              git-revision: true
-              node-parameters: true
-              kill-phase-on: NEVER
-              abort-all-job: false
-
-    publishers:
-      - postbuildscript:
-          builders:
-            - role: SLAVE
-              build-on:
-                - SUCCESS
-                - FAILURE
-                - ABORTED
-                - NOT_BUILT
-                - UNSTABLE
-              build-steps:
-                - shell:
-                    !include-raw-escape: ./wait-for-pkg-manager.sh
-                - shell:
-                    !include-raw: ./delete-heat-stack.sh
-
-- job-template:
-    name: '{phase}-{distro}-{installer-type}-{type}-{ci-loop}-{spinnaker-branch}'
-
-    disabled: false
-
-    concurrent: false
-
-    properties:
-      - logrotate
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{nordix-branch}'
-      - nordix-gerrit-parameters
-      - label:
-          name: SLAVE_LABEL
-          default: 'engine-jumphost-online-ubuntu1804'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: PROVISIONER_TYPE
-          default: 'heat'
-          description: 'Provisioner to use for provisioning nodes'
-      - string:
-          name: INSTALLER_TYPE
-          default: 'kubespray'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'k8-calico-spinnaker'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'cloud'
-          description: 'Type of the deployment'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: OPENSTACK_CLOUD_PROVIDER
-          default: '{cloud}'
-          description: 'Name of the cloud where this job is run'
-      - string:
-          name: SPINNAKER_VERSION
-          default: '{spinnaker-branch}'
-          description: 'Spinnaker version to deploy'
-      - string:
-          name: STACK_NAME
-          default: 'nordix-cicd-{deploy-scenario}-{spinnaker-branch}'
-      - string:
-          name: HEAT_ENVIRONMENT_FILENAME
-          default: "heat-environment-full.yaml"
-          description: 'Heat environment filename to use for creating the stack'
-      - string:
-          name: HEAT_ENVIRONMENT_FILE
-          default: "file:///opt/engine/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/$HEAT_ENVIRONMENT_FILENAME"
-          description: 'Heat environment file location to use for creating the stack'
-      - string:
-          name: ENGINE_VERSION
-          default: '{engine-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying Spinnaker. Could be sha, branch'
-      - string:
-          name: ENGINE_REFSPEC
-          default: '{engine-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying Spinnaker. Must be refspec.'
-      - string:
-          name: DEPLOY_SCENARIO_VERSION
-          default: '{deploy-scenario-version}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying Spinnaker. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
-      - string:
-          name: DEPLOY_SCENARIO_REFSPEC
-          default: '{deploy-scenario-refspec}'
-          description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying Spinnaker. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
-      - string:
-          name: POD_NAME
-          default: '{pod-name}'
-          description: 'Development purposes only! Set to none for disabling test results DB reporting.'
-      - string:
-          name: DELETE_STACK
-          default: '{delete-stack}'
-          description: 'Development purposes only! Whether delete the stack or not. It must either be yes or no. Setting this to no will increase the cost!'
-
-    wrappers:
-      - mask-passwords
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-      - credentials-binding:
-          - username-password-separated:
-              credential-id: 'nordix-cicd-arm-credentials'
-              username: NORDIX_ARM_USERNAME
-              password: NORDIX_ARM_TOKEN
-          - username-password-separated:
-              credential-id: 'nordix-cicd-harbor-credentials'
-              username: NORDIX_HARBOR_USERNAME
-              password: NORDIX_HARBOR_PASSWORD
-
-    scm:
-      - git-scm:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{nordix-branch}'
-          refspec: ''
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - description-setter:
-          description: $DEPLOY_SCENARIO | Spinnaker $SPINNAKER_VERSION | $OPENSTACK_CLOUD_PROVIDER
-      - '{phase}-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-scenario-deploy.sh b/jjb/cloud-infra/cloud-infra-scenario-deploy.sh
deleted file mode 100644 (file)
index a52234a..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# determine PDF
-if [[ $DEPLOY_TYPE == "baremetal" ]]; then
-  PDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-pdf.yml"
-  IDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-idf.yml"
-else
-  PDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-pdf.yml"
-  IDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-idf.yml"
-fi
-
-# clone infra/engine repository
-echo "Info: Deploying scenario $DEPLOY_SCENARIO using $INSTALLER_TYPE"
-cd $WORKSPACE
-./engine/deploy.sh -d $INSTALLER_TYPE -s $DEPLOY_SCENARIO -p $PDF -i $IDF -b file://$WORKSPACE/sdf.yml -c
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-scenario-test.sh b/jjb/cloud-infra/cloud-infra-scenario-test.sh
deleted file mode 100644 (file)
index bf35d08..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-
-# vim: set ts=2 sw=2 expandtab:
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# execute cloud engine test.sh script with arguments
-echo "Info: Testing scenario $DEPLOY_SCENARIO deployed using $INSTALLER_TYPE"
-cd $WORKSPACE
-./test/test.sh -f $TEST_FW -t $TEST_SUITE -s $DEPLOY_SCENARIO
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-test.sh b/jjb/cloud-infra/cloud-infra-test.sh
deleted file mode 100644 (file)
index a473fcd..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# This script is a wrapper around actual cloud infra engine test.sh script which gets
-# executed when the job that uses this script gets triggered due to Gerrit change.
-#
-# Logic in this script should be kept at minimum and the changes should be pushed into
-# the cloud infra test test.sh script.
-
-# we don't support ONAP scenario verification because it is expensive
-# TODO: we need to find a way to verify those patches in a cheaper way
-if [[ "$DEPLOY_SCENARIO" =~ "onap" ]]; then
-  echo "Info: ONAP scenario verification has not been implemented yet!"
-  exit 0
-fi
-
-# we don't support testing of the deployments done on OpenStack cloud using heat yet
-if [[ $DEPLOY_TYPE == "cloud" ]]; then
-  echo "Info: Testing of cloud deployments has not been implemented yet!"
-  exit 0
-fi
-
-# execute cloud engine test.sh script with arguments
-cd $WORKSPACE
-./test/test.sh -f $TEST_FW -t $TEST_SUITE -s $DEPLOY_SCENARIO -d $YARDSTICK_DISPATCHER
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-verify-lint.yaml b/jjb/cloud-infra/cloud-infra-verify-lint.yaml
deleted file mode 100644 (file)
index 2327730..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
----
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-- project:
-    name: 'cloud-infra-lint'
-
-    project: 'cloud-infra-lint'
-
-    stream:
-      - 'master':
-          branch: '{stream}'
-
-    lint-type:
-      - ansible-lint:
-          repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig'
-          disabled: true
-      - yamllint:
-          repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig|infra\/hwconfig'
-          disabled: true
-      - shellcheck:
-          repos-to-enable: 'infra\/engine|infra\/test|infra\/swconfig'
-          disabled: true
-
-    jobs:
-      - 'cloud-infra-verify-{lint-type}-{stream}'
-
-- job-template:
-    name: 'cloud-infra-verify-{lint-type}-{stream}'
-
-    disabled: '{obj:disabled}'
-
-    concurrent: true
-
-    node: infra-tools-docker-slave-ubuntu1804
-
-    parameters:
-      - project-parameters:
-          project: $GERRIT_PROJECT
-          branch: '{branch}'
-      - nordix-gerrit-parameters
-      - string:
-          name: LINT_TYPE
-          default: '{lint-type}'
-          description: 'Lint type to run'
-
-    properties:
-      - logrotate
-
-    wrappers:
-      - build-timeout:
-          timeout: 150
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm-gerrit:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: $GERRIT_REFSPEC
-          wipe_workspace: true
-          clean_before: false
-
-    triggers:
-      - gerrit:
-          server-name: 'Nordix Gerrit'
-          trigger-on:
-            - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
-                exclude-no-code-change: 'false'
-            - draft-published-event
-            - comment-added-contains-event:
-                comment-contains-value: 'recheck'
-            - comment-added-contains-event:
-                comment-contains-value: 'reverify'
-          projects:
-            - project-compare-type: 'REG_EXP'
-              project-pattern: '{repos-to-enable}'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-              disable-strict-forbidden-file-verification: 'false'
-              forbidden-file-paths:
-                - compare-type: ANT
-                  pattern: 'docs/**|.gitignore'
-          custom-url: '* $JOB_NAME $BUILD_URL'
-
-    builders:
-      - 'cloud-infra-lint-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-verify-scenario.yaml b/jjb/cloud-infra/cloud-infra-verify-scenario.yaml
deleted file mode 100644 (file)
index ab725ee..0000000
+++ /dev/null
@@ -1,260 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-#--------------------------------------------------------------------------------------
-# The jobs declared in this JJB configuration file are used for verifying patches
-# that are sent to the repositories below
-#   - cloud-infra/swconfig
-#
-# These jobs verify changes that
-#   - implement new scenarios or fix bugs in the existing scenarios
-#
-# These jobs are set to run on slaves with label vpod-deploy-ubuntu1604.
-# The slaves have
-#   - Ubuntu1604 as the base distro
-#   - nested virtualization
-#   - internet access
-#   - passwordless sudo
-#   - 16 CPUs/32GB RAM/200 GB Disk
-#   - docker, git vim curl wget zip unzip chrony apt-transport-https ca-certificates curl
-#     gnupg-agent software-properties-common docker-ce docker-ce-cli containerd.io openjdk-8-jre
-#
-# The slaves should not have a cloud infra scenario deployed on them.
-#--------------------------------------------------------------------------------------
-
-- project:
-    name: 'cloud-infra-verify-scenario'
-
-    project: 'infra/swconfig'
-
-    stream:
-      - 'master':
-          branch: '{stream}'
-
-    distro:
-      - ubuntu1804:
-          slave-label: vpod-deploy-ubuntu1804
-          disabled: true
-          successful: true
-          failed: true
-          unstable: true
-          notbuilt: true
-      - centos7:
-          slave-label: vpod-deploy-centos7
-          disabled: true
-          successful: true
-          failed: true
-          unstable: true
-          notbuilt: true
-
-    type:
-      - virtual
-
-    phase:
-      - deploy:
-          build-timeout: 120
-      - functest:
-          build-timeout: 60
-
-    jobs:
-      - 'cloud-infra-verify-scenario-{distro}-{type}-{stream}'
-      - 'cloud-infra-verify-scenario-{distro}-{phase}-{type}-{stream}'
-
-- job-template:
-    name: 'cloud-infra-verify-scenario-{distro}-{type}-{stream}'
-
-    project-type: multijob
-
-    disabled: '{obj:disabled}'
-
-    concurrent: true
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{branch}'
-      - nordix-gerrit-parameters
-      - label:
-          name: SLAVE_LABEL
-          default: '{slave-label}'
-          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: DEPLOY_TYPE
-          default: '{type}'
-          description: 'Type of the deployment'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'true'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: TEST_SUITE
-          default: 'healthcheck'
-          description: 'Test suite to run'
-
-    properties:
-      - logrotate
-      - build-blocker:
-          use-build-blocker: true
-          blocking-jobs:
-            - 'cloud-infra-verify-engine-.*'
-            - 'cloud-infra-verify-scenario-.*'
-            - 'cloud-infra-periodic-engine-.*'
-            - 'onap-.*'
-            - 'k8-.*'
-            - 'os-.*'
-            - 'nolabs-.*'
-          block-level: 'NODE'
-      - throttle:
-          max-per-node: 1
-          max-total: 3
-          option: project
-
-    wrappers:
-      - build-timeout:
-          timeout: 180
-      - fix-workspace-permissions
-      - openstack:
-          single-use: True
-
-    scm:
-      - git-scm-gerrit:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: $GERRIT_REFSPEC
-          wipe_workspace: true
-          clean_before: false
-
-    triggers:
-      - nordix-gerrit-trigger-patchset-created:
-          project: 'infra\/swconfig'
-          branch: '{branch}'
-          files: '**'
-          custom-url: '* $JOB_NAME $BUILD_URL'
-          skip-vote:
-            successful: '{obj:successful}'
-            failed: '{obj:failed}'
-            unstable: '{obj:unstable}'
-            notbuilt: '{obj:notbuilt}'
-
-    builders:
-      - 'cloud-infra-determine-scenario-macro'
-      - multijob:
-          name: deploy
-          condition: SUCCESSFUL
-          projects:
-            - name: 'cloud-infra-verify-scenario-{distro}-deploy-{type}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-      - multijob:
-          name: functest
-          condition: SUCCESSFUL
-          projects:
-            - name: 'cloud-infra-verify-scenario-{distro}-functest-{type}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE
-                TEST_SUITE=$TEST_SUITE
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-
-- job-template:
-    name: 'cloud-infra-verify-scenario-{distro}-{phase}-{type}-{stream}'
-
-    disabled: true
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - string:
-          name: PROJECT
-          default: $GERRIT_PROJECT
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'virtual'
-          description: 'Type of the deployment. Overriden by upstream job.'
-      - string:
-          name: USE_PREBUILT_DEPLOYMENT_IMAGE
-          default: 'false'
-          description: 'Use prebuilt deployment image while running as part of CI/CD'
-      - string:
-          name: TEST_FW
-          default: '{phase}'
-          description: 'Test framework to use'
-      - string:
-          name: TEST_SUITE
-          default: 'healthcheck'
-          description: 'Test suite to run'
-      - string:
-          name: ENGINE_REPO_URL
-          default: 'https://gerrit.nordix.org/infra/engine.git'
-          description: 'URL to Nordix Cloud Infra engine repository'
-      - string:
-          name: TEST_REPO_URL
-          default: 'https://gerrit.nordix.org/infra/test.git'
-          description: 'URL to Nordix Cloud Infra test repository'
-
-    wrappers:
-      - build-timeout:
-          timeout: '{build-timeout}'
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm-gerrit:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: $GERRIT_REFSPEC
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - 'cloud-infra-determine-scenario-macro'
-      - 'cloud-infra-scenario-{phase}-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/cloud-infra-verify-testfw.yaml b/jjb/cloud-infra/cloud-infra-verify-testfw.yaml
deleted file mode 100644 (file)
index 92faf67..0000000
+++ /dev/null
@@ -1,242 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-#--------------------------------------------------------------------------------------
-# The jobs declared in this JJB configuration file are used for verifying patches
-# that are sent to the repositories below
-#   - cloud-infra/test
-#
-# These jobs verify changes that
-#   - implement new features or fix bugs to the playbooks and roles used for utilizing
-#     open source test frameworks such as opnfv/functest and opnfv/yardstick
-#   - bump versions of the open source test frameworks
-#
-# These jobs are set to run on slaves with label vpod-test-ubuntu1604.
-# The slaves have
-#   - Ubuntu1604 as the base distro
-#   - nested virtualization
-#   - internet access
-#   - passwordless sudo
-#   - 16 CPUs/32GB RAM/200 GB Disk
-#   - docker, git vim curl wget zip unzip chrony apt-transport-https ca-certificates curl
-#     gnupg-agent software-properties-common docker-ce docker-ce-cli containerd.io openjdk-8-jre
-#
-# The slaves should have a promoted version of a cloud infra scenario deployed on them.
-# Currently k8-calico-nofeature scenario is deployed on the slaves.
-#--------------------------------------------------------------------------------------
-
-- project:
-    name: 'cloud-infra-verify-test'
-
-    project: 'infra/test'
-
-    stream:
-      - 'master':
-          branch: '{stream}'
-          disabled: 'true'
-
-    distro:
-      - ubuntu1804:
-          disabled: 'true'
-          slave-label: vpod-test-ubuntu1804
-
-    type:
-      - virtual
-
-    phase:
-      - functest
-      - yardstick
-
-    jobs:
-      - 'cloud-infra-verify-testfw-{distro}-{type}-{stream}'
-      - 'cloud-infra-verify-testfw-{distro}-{phase}-{type}-{stream}'
-
-- job-template:
-    name: 'cloud-infra-verify-testfw-{distro}-{type}-{stream}'
-
-    project-type: multijob
-
-    disabled: '{obj:disabled}'
-
-    concurrent: true
-
-    parameters:
-      - project-parameters:
-          project: '{project}'
-          branch: '{branch}'
-      - nordix-gerrit-parameters
-      - label:
-          name: SLAVE_LABEL
-          default: '{slave-label}'
-          description: 'Slave label to schedule this job on. These slaves have cloud infra installed on them.'
-      - string:
-          name: DISTRO
-          default: '{distro}'
-          description: 'Distribution to use for configuring target nodes (networking etc.)'
-      - string:
-          name: DEPLOY_TYPE
-          default: '{type}'
-          description: 'Type of the deployment'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'k8-calico-nofeature'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: TEST_SUITE
-          default: 'healthcheck'
-          description: 'Test suite to run'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: 'file'
-          description: 'Dispatcher to use for Yardstick reporting'
-
-    properties:
-      - logrotate
-      - build-blocker:
-          use-build-blocker: true
-          blocking-jobs:
-            - 'cloud-infra-verify-testfw-{distro}-.*'
-            - 'nolabs-.*'
-          block-level: 'NODE'
-      - throttle:
-          max-per-node: 1
-          max-total: 3
-          option: project
-
-    wrappers:
-      - build-timeout:
-          timeout: 120
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm-gerrit:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: $GERRIT_REFSPEC
-          wipe_workspace: true
-          clean_before: false
-
-    triggers:
-      - nordix-gerrit-trigger-patchset-created:
-          project: 'infra\/test'
-          branch: '{branch}'
-          files: '**'
-
-    builders:
-      - multijob:
-          name: functest
-          condition: SUCCESSFUL
-          projects:
-            - name: 'cloud-infra-verify-testfw-{distro}-functest-{type}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-      - multijob:
-          name: yardstick
-          condition: SUCCESSFUL
-          projects:
-            - name: 'cloud-infra-verify-testfw-{distro}-yardstick-{type}-{stream}'
-              current-parameters: true
-              predefined-parameters: |
-                DISTRO=$DISTRO
-                DEPLOY_TYPE=$DEPLOY_TYPE
-                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                TEST_SUITE=$TEST_SUITE
-                YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-              node-parameters: true
-              kill-phase-on: FAILURE
-              abort-all-job: true
-
-- job-template:
-    name: 'cloud-infra-verify-testfw-{distro}-{phase}-{type}-{stream}'
-
-    disabled: true
-
-    concurrent: true
-
-    properties:
-      - logrotate
-
-    parameters:
-      - string:
-          name: PROJECT
-          default: $GERRIT_PROJECT
-      - string:
-          name: DISTRO
-          default: 'ubuntu1804'
-          description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'virtual'
-          description: 'Type of the deployment. Overriden by upstream job.'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'k8-calico-nofeature'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: TEST_FW
-          default: '{phase}'
-          description: 'Test framework to use'
-      - string:
-          name: TEST_SUITE
-          default: 'healthcheck'
-          description: 'Test suite to run'
-      - string:
-          name: TEST_REPO_URL
-          default: 'https://gerrit.nordix.org/infra/test.git'
-          description: 'URL to Nordix Cloud Infra test repository'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: 'file'
-          description: 'Dispatcher to use for Yardstick reporting'
-
-    wrappers:
-      - build-timeout:
-          timeout: 120
-      - fix-workspace-permissions
-
-    scm:
-      - git-scm-gerrit:
-          ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
-          branch: '{branch}'
-          refspec: $GERRIT_REFSPEC
-          wipe_workspace: true
-          clean_before: false
-
-    builders:
-      - 'cloud-infra-testfw-macro'
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/delete-heat-stack.sh b/jjb/cloud-infra/delete-heat-stack.sh
deleted file mode 100644 (file)
index efec47b..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-# proceed only if the deployment is done on openstack
-if [[ $DEPLOY_TYPE != "cloud" ]]; then
-  echo "-------------------------------------------------------------------------"
-  echo "Info: It is not an OpenStack deployment so nothing to delete!"
-  echo "-------------------------------------------------------------------------"
-  exit 0
-fi
-
-# do not delete the stack if not explicitly set to delete
-if [[ "$DELETE_STACK" != "yes" ]]; then
-  echo "-------------------------------------------------------------------------"
-  echo "Info: Stack will not be deleted upon the completion of the job!"
-  echo "-------------------------------------------------------------------------"
-  exit 0
-fi
-
-# k8s and onap scenario have stacks so exit for others
-if [[ ! "$DEPLOY_SCENARIO" =~ ^k8-.*|^onap-.* ]]; then
-  echo "-------------------------------------------------------------------------"
-  echo "Info: Nothing to delete!"
-  echo "-------------------------------------------------------------------------"
-  exit 0
-fi
-
-echo
-echo
-echo "-------------------------------------------------------------------------"
-echo "Info: Please wait while deleting the stack and do not abort the job!"
-echo "-------------------------------------------------------------------------"
-echo
-echo
-
-cd $WORKSPACE
-sudo apt install -y -qq python-dev python-virtualenv > /dev/null
-virtualenv -q $WORKSPACE/.venv
-set +u
-source $WORKSPACE/.venv/bin/activate
-set -u
-pip install -q openstacksdk python-openstackclient python-heatclient
-echo "Info: Deleting stack $STACK_NAME and keypair $KEYPAIR_NAME"
-echo "-------------------------------------------------------------------------"
-source /tmp/openrc && /bin/rm -f /tmp/openrc
-openstack stack delete $STACK_NAME --wait --yes
-openstack keypair delete $KEYPAIR_NAME
-echo "-------------------------------------------------------------------------"
-echo "Info: Stack $STACK_NAME and keypair $KEYPAIR_NAME have been deleted!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/determine-scenario.sh b/jjb/cloud-infra/determine-scenario.sh
deleted file mode 100644 (file)
index 14833b3..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# this function processes commit message to determine the impacted scenario
-# using the input provided by the committer.
-#
-# provisioner type, installer type and scenario should be placed at the beginning of
-# lines separately and the format of the entry in commit message is as below
-#
-# provisioner-type: <provisioner type>
-# installer-type: <installer type>
-# deploy-scenario: <scenario name>
-#
-# example is
-#
-# provisioner-type: bifrost
-# installer-type: kubespray
-# deploy-scenario: k8-calico-nofeature
-function override_installer_scenario() {
-  echo "Info: Processing $GERRIT_PROJECT patchset $GERRIT_REFSPEC to determine the provisioner, installer and, scenario"
-  cd $WORKSPACE
-  COMMIT_MESSAGE=$(git show -s --format=%B)
-
-  if [[ "$COMMIT_MESSAGE" =~ "provisioner-type:" ]]; then
-    # we support heat as well so ensure we capture it
-    export PROVISIONER_TYPE=$(echo "$COMMIT_MESSAGE" | grep '^provisioner-type:' | cut -d":" -f2 | sed 's/\s*//g')
-  else
-    # default is almost always bifrost
-    if [[ "$PROVISIONER_TYPE" == "" ]]; then
-      export PROVISIONER_TYPE=bifrost
-    fi
-  fi
-
-  if [[ "$COMMIT_MESSAGE" =~ "deploy-scenario:" && "$COMMIT_MESSAGE" =~ "installer-type:" ]]; then
-    export INSTALLER_TYPE=$(echo "$COMMIT_MESSAGE" | grep '^installer-type:' | cut -d":" -f2 | sed 's/\s*//g')
-    export DEPLOY_SCENARIO=$(echo "$COMMIT_MESSAGE" | grep '^deploy-scenario:' | cut -d":" -f2 | sed 's/\s*//g')
-    write_change_metadata
-  else
-    echo "Info: Installer type or deploy scenario is not specified."
-    echo "Info: Falling back to programmatically determining them."
-  fi
-}
-
-# this function will process the changed files to determine the impacted scenario
-# if it is no specified by the committer. only one scenario per change should be
-# touched.
-# TODO: this is not implented yet.
-function determine_scenario() {
-  # for infra/engine repo, we set INSTALLER_TYPE and DEPLOY_SCENARIO to their defaults
-  echo "Info: Processing $GERRIT_PROJECT patchset $GERRIT_REFSPEC"
-  if [[ "$GERRIT_PROJECT" == "infra/engine" ]]; then
-    echo "Info: Setting INSTALLER_TYPE and DEPLOY_SCENARIO to defaults for project $GERRIT_PROJECT patchset $GERRIT_REFSPEC"
-    export PROVISIONER_TYPE=$PROVISIONER_TYPE
-    export INSTALLER_TYPE=kubespray
-    export DEPLOY_SCENARIO=k8-calico-nofeature
-    write_change_metadata
-  else
-    cd $WORKSPACE
-    COMMIT_MESSAGE=$(git show -s --format=%B)
-    export PROVISIONER_TYPE=none
-    export INSTALLER_TYPE=none
-    export DEPLOY_SCENARIO=none
-    write_change_metadata
-    echo "Info: Not implemented!"
-    exit 0
-  fi
-}
-
-function write_change_metadata() {
-  echo "Info: Writing change metadata to $WORKSPACE/change.properties"
-  cat << EOF > $WORKSPACE/change.properties
-PROJECT_GIT_URL=$GIT_BASE_HTTPS/$GERRIT_PROJECT
-PROVISIONER_TYPE=$PROVISIONER_TYPE
-INSTALLER_TYPE=$INSTALLER_TYPE
-DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
-GERRIT_REFSPEC=$GERRIT_REFSPEC
-EOF
-
-  echo "Info: Content of change.properties"
-  echo "-------------------------------------------------------------------------"
-  cat $WORKSPACE/change.properties
-  echo "-------------------------------------------------------------------------"
-
-  # need to exit here to ensure we don't go further while determining scenario
-  exit 0
-}
-
-echo "Info: Determining the provisioner, installer, and scenario"
-
-declare -a PROVISIONER_TYPE
-declare -a INSTALLER_TYPE
-declare -a DEPLOY_SCENARIO
-
-override_installer_scenario
-determine_scenario
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/onap-deploy-baremetal.sh b/jjb/cloud-infra/onap-deploy-baremetal.sh
deleted file mode 100644 (file)
index 3b982b5..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-cd $WORKSPACE
-echo "Info: Preparing for ONAP deployment"
-
-# checkout given engine version
-if [[ "$ENGINE_VERSION" != "master" ]]; then
-  echo "Warning: Checking out $ENGINE_VERSION"
-  git checkout -q $ENGINE_VERSION
-fi
-
-# checkout given engine refspec
-if [[ "$ENGINE_REFSPEC" != "master" ]]; then
-  echo "Warning: Checking out engine $ENGINE_REFSPEC"
-  echo "-------------------------------------------------------------------------"
-  git fetch https://gerrit.nordix.org/infra/engine $ENGINE_REFSPEC && git checkout -q FETCH_HEAD
-  echo "-------------------------------------------------------------------------"
-fi
-
-# update scenario version and refspec in engine/envine/var/sdf.yml
-if [[ "$DEPLOY_SCENARIO_VERSION" != "master" && "$DEPLOY_SCENARIO_REFSPEC" != "master" ]]; then
-  echo "Warning: Adding $DEPLOY_SCENARIO_VERSION as scenario version and $DEPLOY_SCENARIO_REFSPEC as scenario refspec"
-cat << EOF > $WORKSPACE/engine/var/sdf.yml
-scenario:
-  $DEPLOY_SCENARIO:
-    scm: git
-    src: https://gerrit.nordix.org/infra/swconfig.git
-    version: $DEPLOY_SCENARIO_VERSION
-    refspec: $DEPLOY_SCENARIO_REFSPEC
-    provisioners:
-      - $PROVISIONER_TYPE
-    installers:
-      $INSTALLER_TYPE:
-        role: scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO
-        distros:
-          - $DISTRO
-EOF
-
-  echo "Info: Temporary SDF content"
-  echo "-------------------------------------------------------------------------"
-  cat $WORKSPACE/engine/var/sdf.yml
-  echo "-------------------------------------------------------------------------"
-fi
-
-echo "Info: Starting K8S cluster creation and ONAP deployment"
-echo "-------------------------------------------------------------------------"
-cd $WORKSPACE
-./engine/deploy.sh -d $INSTALLER_TYPE -r $PROVISIONER_TYPE -s $DEPLOY_SCENARIO -v \
-    -p "https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-pdf.yml" \
-    -i "https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-idf.yml"
-
-cd $WORKSPACE
-/bin/cp -f /opt/engine/.cache/config/inventory.ini ../inventory.ini || true
-/bin/cp -f /opt/engine/.cache/config/inventory.ini /tmp/inventory.ini || true
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/onap-deploy.sh b/jjb/cloud-infra/onap-deploy.sh
deleted file mode 100644 (file)
index f2faad5..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-cd $WORKSPACE
-/bin/rm -f ../inventory.ini
-echo "Info: Preparing for ONAP deployment"
-
-# checkout given engine version
-if [[ "$ENGINE_VERSION" != "master" ]]; then
-  echo "Warning: Checking out $ENGINE_VERSION"
-  git checkout -q $ENGINE_VERSION
-fi
-
-# checkout given engine refspec
-if [[ "$ENGINE_REFSPEC" != "master" ]]; then
-  echo "Warning: Checking out engine $ENGINE_REFSPEC"
-  echo "-------------------------------------------------------------------------"
-  git fetch https://gerrit.nordix.org/infra/engine $ENGINE_REFSPEC && git checkout -q FETCH_HEAD
-  echo "-------------------------------------------------------------------------"
-fi
-
-# update scenario version and refspec in engine/envine/var/sdf.yml
-if [[ "$DEPLOY_SCENARIO_VERSION" != "master" && "$DEPLOY_SCENARIO_REFSPEC" != "master" ]]; then
-  echo "Warning: Adding $DEPLOY_SCENARIO_VERSION as scenario version and $DEPLOY_SCENARIO_REFSPEC as scenario refspec"
-cat << EOF > $WORKSPACE/engine/var/sdf.yml
-scenario:
-  $DEPLOY_SCENARIO:
-    scm: git
-    src: https://gerrit.nordix.org/infra/swconfig.git
-    version: $DEPLOY_SCENARIO_VERSION
-    refspec: $DEPLOY_SCENARIO_REFSPEC
-    provisioners:
-      - $PROVISIONER_TYPE
-    installers:
-      $INSTALLER_TYPE:
-        role: scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO
-        distros:
-          - $DISTRO
-EOF
-
-  echo "Info: Temporary SDF content"
-  echo "-------------------------------------------------------------------------"
-  cat $WORKSPACE/engine/var/sdf.yml
-  echo "-------------------------------------------------------------------------"
-fi
-
-echo "Info: Starting K8S cluster creation and ONAP deployment"
-echo "-------------------------------------------------------------------------"
-cd $WORKSPACE
-./engine/deploy.sh -r $PROVISIONER_TYPE -u /tmp/openrc \
-  -s $DEPLOY_SCENARIO -e $HEAT_ENVIRONMENT_FILE
-
-cd $WORKSPACE
-/bin/cp /opt/engine/.cache/config/inventory.ini ../inventory.ini
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/onap-healthcheck.sh b/jjb/cloud-infra/onap-healthcheck.sh
deleted file mode 100644 (file)
index 9f1e331..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-cd $WORKSPACE
-echo "Info: Starting ${TEST_TYPE}-${ONAP_FLAVOR} using Xtesting"
-echo "-------------------------------------------------------------------------"
-echo "Info: Cloning opnfv/xtesting-onap repository"
-cd $HOME && /bin/rm -rf $WORKSPACE
-git clone -q $XTESTING_REPO_URL $WORKSPACE && cd $WORKSPACE
-/bin/cp -f /opt/engine/.cache/config/inventory.ini /tmp/inventory.ini || true
-/bin/cp -f /tmp/inventory.ini inventory/inventory.ini || true
-$WORKSPACE/xtesting.sh
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/onap-macros.yaml b/jjb/cloud-infra/onap-macros.yaml
deleted file mode 100644 (file)
index 8129201..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-# macros used by all job types on cloud
-- parameter:
-    name: 'onap-parameter-macro-legacy'
-    parameters:
-      - string:
-          name: PROVISIONER_TYPE
-          default: 'heat'
-          description: 'Provisioner to use for provisioning nodes'
-      - string:
-          name: INSTALLER_TYPE
-          default: 'kubespray'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'onap-nofeature-noha'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'cloud'
-          description: 'Type of the deployment'
-      - string:
-          name: TEST_TYPE
-          default: 'oom-healthcheck'
-          description: 'Test type to run. Could be oom-healthcheck or onap-healthcheck'
-      - string:
-          name: NORDIX_ARM_REPO_URL
-          default: 'https://artifactory.nordix.org/artifactory'
-          description: 'URL to Nordix Artifactory'
-      - string:
-          name: NORDIX_HARBOR_REPO_URL
-          default: 'registry.nordix.org'
-          description: 'URL to Nordix Harbor'
-      - string:
-          name: XTESTING_REPO_URL
-          default: 'https://gerrit.nordix.org/opnfv/xtesting-onap.git'
-          description: 'URL to Nordix xtesting-onap repository'
-      - string:
-          name: ENGINE_ANSIBLE_PARAMS
-          default: ''
-          description: 'Extra parameters that can be added when run the play books.'
-
-# macros used by all job types on baremetal
-- parameter:
-    name: 'onap-baremetal-parameter-macro-legacy'
-    parameters:
-      - string:
-          name: PROVISIONER_TYPE
-          default: 'bifrost'
-          description: 'Provisioner to use for provisioning nodes'
-      - string:
-          name: INSTALLER_TYPE
-          default: 'kubespray'
-          description: 'Installer to use for deploying the scenario'
-      - string:
-          name: DEPLOY_SCENARIO
-          default: 'onap-nofeature-noha'
-          description: 'Scenario to deploy and test'
-      - string:
-          name: DEPLOY_TYPE
-          default: 'baremetal'
-          description: 'Type of the deployment'
-      - string:
-          name: TEST_TYPE
-          default: 'oom-healthcheck'
-          description: 'Test type to run. Could be oom-healthcheck or onap-healthcheck'
-      - string:
-          name: NORDIX_ARM_REPO_URL
-          default: 'https://artifactory.nordix.org/artifactory'
-          description: 'URL to Nordix Artifactory'
-      - string:
-          name: NORDIX_HARBOR_REPO_URL
-          default: 'registry.nordix.org'
-          description: 'URL to Nordix Harbor'
-      - string:
-          name: XTESTING_REPO_URL
-          default: 'https://gerrit.nordix.org/opnfv/xtesting-onap.git'
-          description: 'URL to Nordix xtesting-onap repository'
-      - string:
-          name: ENGINE_ANSIBLE_PARAMS
-          default: ''
-          description: 'Extra parameters that can be added when run the play books.'
-
-- builder:
-    name: 'onap-deploy-macro-legacy'
-    builders:
-      - shell:
-          !include-raw: ./wait-for-pkg-manager.sh
-      - shell:
-          !include-raw: ./onap-deploy.sh
-
-- builder:
-    name: 'onap-deploy-baremetal-macro-legacy'
-    builders:
-      - shell:
-          !include-raw: ./wait-for-pkg-manager.sh
-      - shell:
-          !include-raw: ./onap-deploy-baremetal.sh
-
-- builder:
-    name: 'oom-hc-macro-legacy'
-    builders:
-      - shell:
-          !include-raw: ./oom-healthcheck.sh
-
-- builder:
-    name: 'oom-hc-baremetal-macro-legacy'
-    builders:
-      - shell:
-          !include-raw: ./oom-healthcheck.sh
-
-- builder:
-    name: 'onap-healthcheck-macro-legacy'
-    builders:
-      - shell:
-          !include-raw: ./onap-healthcheck.sh
-
-- builder:
-    name: 'onap-healthcheck-baremetal-macro-legacy'
-    builders:
-      - shell:
-          !include-raw: ./onap-healthcheck.sh
-
-- builder:
-    name: 'promote-onap-macro-legacy'
-    builders:
-      - shell:
-          !include-raw: ./promote-onap.sh
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/oom-healthcheck.sh b/jjb/cloud-infra/oom-healthcheck.sh
deleted file mode 100644 (file)
index 9f1e331..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-cd $WORKSPACE
-echo "Info: Starting ${TEST_TYPE}-${ONAP_FLAVOR} using Xtesting"
-echo "-------------------------------------------------------------------------"
-echo "Info: Cloning opnfv/xtesting-onap repository"
-cd $HOME && /bin/rm -rf $WORKSPACE
-git clone -q $XTESTING_REPO_URL $WORKSPACE && cd $WORKSPACE
-/bin/cp -f /opt/engine/.cache/config/inventory.ini /tmp/inventory.ini || true
-/bin/cp -f /tmp/inventory.ini inventory/inventory.ini || true
-$WORKSPACE/xtesting.sh
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/prepare-for-scenario-deploy.sh b/jjb/cloud-infra/prepare-for-scenario-deploy.sh
deleted file mode 100644 (file)
index 0b469c3..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-echo "Info: Cloning infra/engine repository"
-cd $HOME && /bin/rm -rf $WORKSPACE
-git clone -q $ENGINE_REPO_URL $WORKSPACE
-
-echo "Info: Generating temporary SDF"
-cat << EOF > $WORKSPACE/sdf.yml
-scenario:
-  $DEPLOY_SCENARIO:
-    scm: git
-    src: $PROJECT_GIT_URL
-    version: $GERRIT_PATCHSET_REVISION
-    refspec: $GERRIT_REFSPEC
-    provisioners:
-      - $PROVISIONER_TYPE
-    installers:
-      $INSTALLER_TYPE:
-        role: scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO
-        distros:
-          - $DISTRO
-EOF
-echo "Info: Temporary SDF content"
-echo "-------------------------------------------------------------------------"
-cat $WORKSPACE/sdf.yml
-echo "-------------------------------------------------------------------------"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/prepare-for-scenario-test.sh b/jjb/cloud-infra/prepare-for-scenario-test.sh
deleted file mode 100644 (file)
index c45b787..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-echo "Info: Cloning infra/test repository"
-cd $HOME && /bin/rm -rf $WORKSPACE
-git clone -q $TEST_REPO_URL $WORKSPACE
-
-echo "Info: Generating temporary SDF"
-cat << EOF > $WORKSPACE/sdf.yml
-scenario:
-  $DEPLOY_SCENARIO:
-    scm: git
-    src: $PROJECT_GIT_URL
-    version: $GERRIT_PATCHSET_REVISION
-    refspec: $GERRIT_REFSPEC
-    provisioners:
-      - $PROVISIONER_TYPE
-    installers:
-      $INSTALLER_TYPE:
-        role: scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO
-        distros:
-          - $DISTRO
-EOF
-echo "Info: Temporary SDF content"
-echo "-------------------------------------------------------------------------"
-cat $WORKSPACE/sdf.yml
-echo "-------------------------------------------------------------------------"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/prepare-for-testfw-verify.sh b/jjb/cloud-infra/prepare-for-testfw-verify.sh
deleted file mode 100644 (file)
index d546e02..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-echo "Info: Cloning infra/test repository"
-cd $HOME && /bin/rm -rf $WORKSPACE
-git clone -q $TEST_REPO_URL $WORKSPACE
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/promote-onap.sh b/jjb/cloud-infra/promote-onap.sh
deleted file mode 100644 (file)
index 9de2480..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-cd $WORKSPACE
-echo "Info: Promoting ONAP. Please note that this may take about 3 hours to complete. Do not interrupt!"
-echo "-------------------------------------------------------------------------"
-cd /tmp && /bin/rm -rf $WORKSPACE
-git clone -q https://gerrit.nordix.org/infra/swconfig.git $WORKSPACE
-cd $WORKSPACE/scenarios/onap-nofeature-noha/kubespray/playbooks
-# avoid PS1: unbound variable issue
-set +u
-source /opt/engine/.venv/bin/activate
-set -u
-ansible-playbook -i /tmp/inventory.ini promote.yml
-echo "-------------------------------------------------------------------------"
-echo "Info: Promotion done!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/scenario-deploy.sh b/jjb/cloud-infra/scenario-deploy.sh
deleted file mode 100644 (file)
index ae8c798..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# This script is a wrapper around actual cloud infra engine deploy.sh script which gets
-# executed when the job that uses this script gets triggered due to Gerrit change.
-#
-# Logic in this script should be kept at minimum and the changes should be pushed into
-# the cloud infra engine deploy.sh script.
-
-# The verify job will verify changes coming to other repositories as well such as
-# infra/swconfig so it needs to be handled here in order to ensure $WORKSPACE contains
-# the actual engine repo clone. This will be added later on.
-
-# PDF and IDF are determined based on the deployment type
-#   If DEPLOY_TYPE is virtual, we always use nordix-vpod1 PDF and IDF.
-#   If DEPLOY_TYPE is baremetal, we use variable NODE_NAME injected by Jenkins to the job
-#     in order to set PDF and IDF for the POD the job is running against.
-
-if [[ $DEPLOY_TYPE == "baremetal" ]]; then
-  PDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-pdf.yml"
-  IDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/${NODE_NAME}-idf.yml"
-else
-  PDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-pdf.yml"
-  IDF="https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/nordix-vpod1-idf.yml"
-fi
-
-# execute cloud engine deploy.sh script
-cd $WORKSPACE
-./engine/deploy.sh -d $INSTALLER_TYPE -o $DISTRO -s $DEPLOY_SCENARIO -p $PDF -i $IDF -c
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/scenario-functest.sh b/jjb/cloud-infra/scenario-functest.sh
deleted file mode 100644 (file)
index ae032f6..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# This script is a wrapper around actual cloud infra engine test.sh script which gets
-# executed when the job that uses this script gets triggered due to Gerrit change.
-#
-# Logic in this script should be kept at minimum and the changes should be pushed into
-# the cloud infra test test.sh script.
-
-# execute cloud engine test.sh script with arguments
-cd $WORKSPACE
-./test/test.sh -f $TEST_FW -t $TEST_SUITE -s $DEPLOY_SCENARIO -d $YARDSTICK_DISPATCHER
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/scenario-promote.sh b/jjb/cloud-infra/scenario-promote.sh
deleted file mode 100644 (file)
index f48ac77..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-cd $WORKSPACE
-echo "Info: Not implemented!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/scenario-yardstick.sh b/jjb/cloud-infra/scenario-yardstick.sh
deleted file mode 100644 (file)
index ae032f6..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# This script is a wrapper around actual cloud infra engine test.sh script which gets
-# executed when the job that uses this script gets triggered due to Gerrit change.
-#
-# Logic in this script should be kept at minimum and the changes should be pushed into
-# the cloud infra test test.sh script.
-
-# execute cloud engine test.sh script with arguments
-cd $WORKSPACE
-./test/test.sh -f $TEST_FW -t $TEST_SUITE -s $DEPLOY_SCENARIO -d $YARDSTICK_DISPATCHER
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/scripts/cloud-infra-lint.sh b/jjb/cloud-infra/scripts/cloud-infra-lint.sh
deleted file mode 100644 (file)
index fe3a50e..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o nounset
-set -o errexit
-set -o pipefail
-
-# ensure we are in job build WORKSPACE
-cd "$WORKSPACE"
-
-export DEBIAN_FRONTEND=noninteractive
-
-# install dependencies
-echo "Info: Install python3.6-minimal python3-distutils virtualenv using apt"
-sudo apt update -q=3 > /dev/null 2>&1
-sudo apt install -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew -q=3 -y python3.6-minimal python3-distutils virtualenv > /dev/null 2>&1
-
-# create and activate virtualenv
-echo "Info: Create and activate python virtualenv"
-virtualenv -p python3.6 .venv > /dev/null 2>&1
-set +u
-source .venv/bin/activate > /dev/null 2>&1
-set -u
-
-# install test-requirements
-echo "Info: Install python packages listed in test-requirements.txt using pip"
-pip install --force-reinstall --quiet -r test-requirements.txt > /dev/null 2>&1
-
-# set default lint type
-export LINT_TYPE="${LINT_TYPE:-ansible-lint}"
-
-# run tox
-echo "Info: Run $LINT_TYPE using tox"
-echo "----------------------------------------------------"
-tox -e "$LINT_TYPE"
-echo "----------------------------------------------------"
-echo "Info: Done!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/scripts/promote-spinnaker.sh b/jjb/cloud-infra/scripts/promote-spinnaker.sh
deleted file mode 100644 (file)
index a204a14..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-echo "Hello world!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/scripts/spinnaker-deploy.sh b/jjb/cloud-infra/scripts/spinnaker-deploy.sh
deleted file mode 100644 (file)
index 4f9e2de..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-cd $WORKSPACE
-/bin/rm -f ../inventory.ini
-echo "Info: Preparing for Spinnaker deployment"
-
-# checkout given engine version
-if [[ "$ENGINE_VERSION" != "master" ]]; then
-  echo "Warning: Checking out $ENGINE_VERSION"
-  git checkout -q $ENGINE_VERSION
-fi
-
-# checkout given engine refspec
-if [[ "$ENGINE_REFSPEC" != "master" ]]; then
-  echo "Warning: Checking out engine $ENGINE_REFSPEC"
-  echo "-------------------------------------------------------------------------"
-  git fetch https://gerrit.nordix.org/infra/engine $ENGINE_REFSPEC && git checkout -q FETCH_HEAD
-  echo "-------------------------------------------------------------------------"
-fi
-
-# update scenario version and refspec in engine/envine/var/sdf.yml
-if [[ "$DEPLOY_SCENARIO_VERSION" != "master" && "$DEPLOY_SCENARIO_REFSPEC" != "master" ]]; then
-  echo "Warning: Adding $DEPLOY_SCENARIO_VERSION as scenario version and $DEPLOY_SCENARIO_REFSPEC as scenario refspec"
-cat << EOF > $WORKSPACE/engine/var/sdf.yml
-scenario:
-  $DEPLOY_SCENARIO:
-    scm: git
-    src: https://gerrit.nordix.org/infra/swconfig.git
-    version: $DEPLOY_SCENARIO_VERSION
-    refspec: $DEPLOY_SCENARIO_REFSPEC
-    provisioners:
-      - $PROVISIONER_TYPE
-    installers:
-      $INSTALLER_TYPE:
-        role: scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO
-        distros:
-          - $DISTRO
-EOF
-
-  echo "Info: Temporary SDF content"
-  echo "-------------------------------------------------------------------------"
-  cat $WORKSPACE/engine/var/sdf.yml
-  echo "-------------------------------------------------------------------------"
-fi
-
-echo "Info: Starting K8S cluster creation and Spinnaker deployment"
-echo "-------------------------------------------------------------------------"
-cd $WORKSPACE
-./engine/deploy.sh -r $PROVISIONER_TYPE -u /tmp/openrc \
-  -s $DEPLOY_SCENARIO -e $HEAT_ENVIRONMENT_FILE
-
-cd $WORKSPACE
-/bin/cp /opt/engine/.cache/config/inventory.ini ../inventory.ini
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/scripts/spinnaker-test.sh b/jjb/cloud-infra/scripts/spinnaker-test.sh
deleted file mode 100644 (file)
index a204a14..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-echo "Hello world!"
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/spinnaker-macros.yaml b/jjb/cloud-infra/spinnaker-macros.yaml
deleted file mode 100644 (file)
index c67fcdc..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
----
-#
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-- builder:
-    name: 'spinnaker-deploy-macro'
-    builders:
-      - shell:
-          !include-raw: ./wait-for-pkg-manager.sh
-      - shell:
-          !include-raw: ./scripts/spinnaker-deploy.sh
-
-- builder:
-    name: 'spinnaker-test-macro'
-    builders:
-      - shell:
-          !include-raw: ./wait-for-pkg-manager.sh
-      - shell:
-          !include-raw: ./scripts/spinnaker-test.sh
-- builder:
-    name: 'promote-spinnaker-macro'
-    builders:
-      - shell:
-          !include-raw: ./wait-for-pkg-manager.sh
-      - shell:
-          !include-raw: ./scripts/promote-spinnaker.sh
-
-# vim: set ts=2 sw=2 expandtab:
diff --git a/jjb/cloud-infra/wait-for-pkg-manager.sh b/jjb/cloud-infra/wait-for-pkg-manager.sh
deleted file mode 100644 (file)
index 99f7544..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/bash
-
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 The Nordix Foundation. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-
-set -o errexit
-set -o nounset
-
-source /etc/os-release || source /usr/lib/os-release
-case ${ID,,} in
-  centos)
-    pkg_mgr_cmd="yum"
-    ;;
-  ubuntu)
-    pkg_mgr_cmd="apt"
-    ;;
-esac
-
-# just wait few seconds before attempting to check pkg manager process
-sleep 10
-
-echo "Info: Waiting for completion of an existing $pkg_mgr_cmd process before proceeding..."
-while true; do
-  pkg_mgr_process=$(pgrep -f $pkg_mgr_cmd | cat)
-  if [[ -n $pkg_mgr_process ]]; then
-    sleep 10
-  else
-    break
-  fi
-done
-echo "Info: $pkg_mgr_cmd process done. Continuing..."
-
-# vim: set ts=2 sw=2 expandtab:
index 3c4d6ebfd72d97a203beb766fc182318f5535519..081c4bda238bace7189238597761f3149e1a06ce 100644 (file)
@@ -22,7 +22,7 @@
     name: 'handlebooking-macro'
     builders:
       - shell:
-          !include-raw: ../cloud-infra/wait-for-pkg-manager.sh
+          !include-raw: ../engine/scripts/wait-for-pkg-manager.sh
       - shell: |
           #!/bin/bash
           /bin/rm -f /tmp/openrc
@@ -34,7 +34,7 @@
     name: 'deletebooking-macro'
     builders:
       - shell:
-          !include-raw: ../cloud-infra/wait-for-pkg-manager.sh
+          !include-raw: ../engine/scripts/wait-for-pkg-manager.sh
       - shell: |
           #!/bin/bash
           /bin/rm -f /tmp/openrc