changed 5 years ago
Linked with GitHub

CentOS 8 job parenting strategy

As a general rule, the CentOS 7 master job has become something of a base job the contains most of the settings and RHEL and branch jobs parent off that. Since CentOS 7 master will become obsolete, we need to rework the parenting strategy.

General strategy

Option 1:

  • Move CentOS 8 master jobs to contain the majority of settings
  • Create CentOS 7 master jobs that parent off the CentOS 8 jobs so we don't break the current branch job parenting.
    • [chandankumar] Do we also need to change the parenting of RHEL-8 since it inherits from CentOS 7?
      Option 2:
  • Create separate parents and duplicate from
    https://github.com/openstack/tripleo-ci/blob/master/zuul.d/base.yaml
    Options 3:
  • Parent CentOS 8 off RHEL 8

Parenting diagram:

digraph hierarchy {

nodesep=0.1
node [color=green,fontname=Courier,fontcolor=green,shape=box]
    "base"
    "multinode"
node [color=blue,fontname=Courier,fontcolor=blue,shape=box]
    "tripleo-ci-base"
    "tripleo-ci-base-singlenode"
    "tripleo-build-containers-base-noreposetup"
node [color=red,fontname=Courier,fontcolor=red,shape=box]
    "tripleo-build-containers-base"
    "tripleo-ci-base-singlenode-rdo-containers-build-push"
    "periodic-tripleo-containers-build-push-base"
    "periodic-tripleo-centos-7-master-compute-containers-build"
edge [color=black]
    "base" -> "multinode"
    "multinode" -> "tripleo-ci-base"
    "tripleo-ci-base" -> "tripleo-ci-base-singlenode"
    "tripleo-ci-base-singlenode"->"tripleo-build-containers-base-noreposetup"
    "tripleo-build-containers-base-noreposetup"->"tripleo-build-containers-base"
    "tripleo-build-containers-base"->"tripleo-ci-base-singlenode-rdo-containers-build-push" 
    "tripleo-ci-base-singlenode-rdo-containers-build-push"->"periodic-tripleo-containers-build-push-base"
    "periodic-tripleo-containers-build-push-base"->"periodic-tripleo-centos-7-master-compute-containers-build"
}

Standalone

Periodic

periodic-tripleo-ci-centos-7-standalone-master

tripleo-ci-base-standalone-periodic

tripleo-ci-base-standalone-rdo

tripleo-ci-base-standalone -> Option 2

tripleo-ci-base

multinode

base


Check

https://review.opendev.org/709950 DNM: Demo of parenting centos 8

tripleo-ci-centos-7-standalone

tripleo-ci-base-standalone -> Option 2

tripleo-ci-base

multinode

base


Periodic OVB

Periodic Multinode/Singlenode

Image builds

https://review.rdoproject.org/r/#/c/24997/2/zuul.d/buildimage.yaml

Upstream check

Devstack

Select a repo