Rename cloud-infra-verify jjb file and the jobs 24/724/6
authorFatih Degirmenci <fdegir@gmail.com>
Sat, 23 Mar 2019 11:54:45 +0000 (12:54 +0100)
committerFatih Degirmenci <fdegir@gmail.com>
Sun, 24 Mar 2019 18:00:23 +0000 (19:00 +0100)
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

jjb/cloud-infra/cloud-infra-verify-engine.yaml [moved from jjb/cloud-infra/cloud-infra-verify-jobs.yaml with 83% similarity]

similarity index 83%
rename from jjb/cloud-infra/cloud-infra-verify-jobs.yaml
rename to jjb/cloud-infra/cloud-infra-verify-engine.yaml
index f943ced2301e8f1ea71006afc82706fca8f5dcd4..c3b2a5543f9258a2d2202e01b548a36a6eb60766 100644 (file)
 # 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'
 
           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'
 
       - 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
 
       - 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'
 
     triggers:
       - nordix-gerrit-trigger-patchset-created:
-          project: 'infra\/engine|infra\/swconfig'
+          project: 'infra\/engine'
           branch: '{branch}'
           files: '**'