From: Fatih Degirmenci Date: Sat, 23 Mar 2019 11:54:45 +0000 (+0100) Subject: Rename cloud-infra-verify jjb file and the jobs X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=d7f06a87e8acd65a53b33130fc0c4d1e8788ecfc;p=infra%2Fcicd.git Rename cloud-infra-verify jjb file and the jobs This change renames the existing cloud-infra-verify-jobs.yaml file as cloud-infra-verify-engine.yaml in order to prepare for creating jobs to verify changes sent to cloud-infra/test repository. The jobs that will test changes sent to cloud-infra/test will be declared in cloud-infra-verify-test.yaml. The jobs that test changes coming to cloud-infra/engine repo are also renamed from cloud-infra-verify-{distro}-virtual-master to cloud-infra-verify-engine-{distro}-virtual-master. Additional jobs will be created for verifying changes coming to infra/swconfig and infra/hwconfig once we start utilizing these repos. Apart from that, a comment to explain what the jobs declared in cloud-infra-verify-deploy.yaml do, what are the prerequisies, and so on are included. Finally, support for ubuntu1604 is dropped as we moved to ubuntu18.04 and switched to coreos for ipa image. Change-Id: I109637d51257fba7ccbae96128814e2974979089 --- diff --git a/jjb/cloud-infra/cloud-infra-verify-jobs.yaml b/jjb/cloud-infra/cloud-infra-verify-engine.yaml similarity index 83% rename from jjb/cloud-infra/cloud-infra-verify-jobs.yaml rename to jjb/cloud-infra/cloud-infra-verify-engine.yaml index f943ced23..c3b2a5543 100644 --- a/jjb/cloud-infra/cloud-infra-verify-jobs.yaml +++ b/jjb/cloud-infra/cloud-infra-verify-engine.yaml @@ -18,8 +18,32 @@ # 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' + name: 'cloud-infra-verify-engine' project: 'infra/engine' @@ -29,22 +53,16 @@ disabled: 'false' os: - - ubuntu1604: - disabled: 'true' - distribution: 'ubuntu16' - ipa_dib_os_element: 'fedora' - dib_os_release: 'xenial' - dib_os_element: 'ubuntu-minimal' - ubuntu1804: disabled: 'false' distribution: 'ubuntu18' - ipa_dib_os_element: 'fedora' + ipa_dib_os_element: 'coreos' dib_os_release: 'bionic' dib_os_element: 'ubuntu-minimal' - centos7: disabled: 'true' distribution: 'centos7' - ipa_dib_os_element: 'fedora' + ipa_dib_os_element: 'coreos' dib_os_release: '7' dib_os_element: 'centos-minimal' @@ -56,11 +74,11 @@ - test jobs: - - 'cloud-infra-verify-{os}-{type}-{stream}' + - 'cloud-infra-verify-engine-{os}-{type}-{stream}' - 'cloud-infra-verify-{os}-{phase}-{type}-{stream}' - job-template: - name: 'cloud-infra-verify-{os}-{type}-{stream}' + name: 'cloud-infra-verify-engine-{os}-{type}-{stream}' project-type: multijob @@ -107,7 +125,7 @@ - build-blocker: use-build-blocker: true blocking-jobs: - - 'cloud-infra-verify-{os}-.*' + - 'cloud-infra-verify-engine-{os}-.*' - 'cloud-infra-os-.*' - 'cloud-infra-k8-.*' block-level: 'NODE' @@ -131,7 +149,7 @@ triggers: - nordix-gerrit-trigger-patchset-created: - project: 'infra\/engine|infra\/swconfig' + project: 'infra\/engine' branch: '{branch}' files: '**'