# 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: '**'