Add edpm base jobs

In order to add the periodic version of external compute jobs,
we need to create a seperate job which contains the reusable
job definitions. It can be reused in RDO, Downstream and
Upstream job definitions.

edpm jobs are parented from multinode cs9 distro jobs. When we
use multi parenting with the existing jobs then tags and playbook
vars are not getting overriden in multi parenting.

In order to fix that, we have added a new edpm base job which
will be shared in RDO/downstream also.

Here is the new parent structure
tripleo-ci-base-multinode-standard
tripleo-ci-base-multinode-edpm-standard
tripleo-ci-base-required-projects-edpm-upstream
tripleo-ci-base-edpm-centos-9
then actual job: tripleo-ci-centos-9-standalone-external-compute-target-host

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I7cc3b191e9af124878f037bcf0f837d353a44f8f
This commit is contained in:
Chandan Kumar (raukadah) 2022-11-16 17:13:05 +05:30
parent 59c2c84214
commit 5c84c3e22c
2 changed files with 35 additions and 12 deletions

View File

@ -156,6 +156,23 @@
- multinode-validate.yml
tags: *multinode_tags
# EDPM base job
- job:
name: tripleo-ci-base-multinode-edpm-standard
abstract: true
description: |
Base abstract job for multinode TripleO CI zuulv3 jobs
parent: tripleo-ci-base-multinode-standard
vars:
featureset: '053'
bridge_address_offset: 4
playbooks:
- quickstart.yml
- deploy-standalone-compute.yml
tags:
- build
- standalone
# Singlenode Standard Job
- job:
name: tripleo-ci-base-singlenode-standard

View File

@ -9,12 +9,20 @@
Base abstract job to add required-projects for Upstream Standalone jobs
abstract: true
parent: tripleo-ci-base-standalone-standard
required-projects:
required-projects: &standalone_rq
- opendev.org/openstack/tripleo-ansible
- opendev.org/openstack/tripleo-operator-ansible
- name: opendev.org/openstack/ansible-config_template
override-checkout: master
- job:
name: tripleo-ci-base-required-projects-edpm-upstream
description: |
Base abstract job to add required-projects for Upstream edpm jobs
abstract: true
parent: tripleo-ci-base-multinode-edpm-standard
required-projects: *standalone_rq
# Centos 8 base jobs
- job:
name: tripleo-ci-base-standalone-centos-8
@ -33,6 +41,13 @@
parent: tripleo-ci-base-required-projects-standalone-upstream
nodeset: single-centos-9-node
- job:
name: tripleo-ci-base-edpm-centos-9
abstract: true
description: |
Base abstract job for standalone TripleO CI Centos-9 zuulv3 jobs.
parent: tripleo-ci-base-required-projects-edpm-upstream
nodeset: two-centos-9-nodes
# ATTENTION: Try to avoid adding irrelevant-files inside templates
# or project because it does override values defined at job level.
@ -1167,22 +1182,13 @@
branch_override: stable/wallaby
# Jobs for testing external data plane management
- job:
name: tripleo-ci-centos-9-standalone-external-compute-target-host
parent: tripleo-ci-base-multinode-centos-9
parent: tripleo-ci-base-edpm-centos-9
branches:
- master
- stable/zed
vars:
featureset: '053'
# Needed for control plane and controller networking
bridge_address_offset: 4
playbooks:
- quickstart.yml
- deploy-standalone-compute.yml
tags:
- build
- standalone
- project-template:
name: tripleo-external-compute-deployment-pipeline