Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use opendev master content in meta content provider #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 68 additions & 4 deletions .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@
- project:
name: openstack-k8s-operators/watcher-operator
default-branch: main
templates:
- opendev-master-watcher-operator-pipeline
github-check:
jobs:
- noop
- watcher-operator-doc-preview
- openstack-meta-content-provider:
vars:
cifmw_operator_build_meta_build: false
- watcher-operator-validation
- watcher-operator-kuttl

- job:
name: watcher-operator-base
override-checkout: main
parent: podified-multinode-edpm-deployment-crc-2comp
dependencies: ["openstack-meta-content-provider"]
dependencies: ["openstack-meta-content-provider-master"]
description: |
A multinode EDPM Zuul job which has one ansible controller, one
extracted crc and two computes. It will be used for testing watcher-operator.
vars:
# To consume containers from meta content provider
cifmw_update_containers_openstack: true
watcher_repo: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/watcher-operator"
watcher_hook: "{{ watcher_repo }}/ci/playbooks/deploy_watcher_service.yaml"
cifmw_install_yamls_whitelisted_vars: &install_yamls_whitelist
Expand All @@ -40,9 +42,19 @@
A zuul job to validate the watcher operator and its service deployment.
vars:
run_tempest: false
# Donot use openstack services from meta content provider master
# job.
cifmw_update_containers: false
extra-vars:
# Override zuul meta content provider provided content_provider_dlrn_md5_hash
# var. As returned dlrn md5 hash comes from master release but job is using
# antelope content.
content_provider_dlrn_md5_hash: ''

- job:
name: watcher-operator-kuttl
override-checkout: main
dependencies: ["openstack-meta-content-provider-master"]
parent: cifmw-multinode-kuttl-operator-target
description: |
A zuul job to run watcher operator kuttl tests.
Expand All @@ -61,6 +73,11 @@
source: "{{ watcher_hook }}"
extra_vars:
watcher_catalog_image: "{{ content_provider_registry_ip }}:5001/openstack-k8s-operators/watcher-operator-index:{{ zuul.patchset }}"
extra-vars:
# Override zuul meta content provider provided content_provider_dlrn_md5_hash
# var. As returned dlrn md5 hash comes from master release but job is using
# antelope content.
content_provider_dlrn_md5_hash: ''

- job:
name: watcher-operator-doc-preview
Expand All @@ -71,3 +88,50 @@
vars:
asciidoc_available: true
doc_available: false

##########################################################
# #
# Master Zuul Jobs #
# #
##########################################################


- job:
name: openstack-meta-content-provider-master
override-checkout: main
description: |
A zuul job building content from OpenDev master release.
parent: openstack-meta-content-provider
vars:
cifmw_operator_build_meta_build: false
cifmw_bop_openstack_release: master
cifmw_bop_dlrn_baseurl: "https://trunk.rdoproject.org/centos9-master"
cifmw_repo_setup_branch: master

- job:
name: watcher-operator-validation-master
parent: watcher-operator-validation
override-checkout: main
description: |
A Zuul job consuming content from openstack-meta-content-provider-master
and deploying EDPM with master content.
dependencies: ["openstack-meta-content-provider-master"]
vars:
cifmw_repo_setup_branch: master

##########################################################
# #
# Project Template #
# #
##########################################################

- project-template:
name: opendev-master-watcher-operator-pipeline
description: |
Project template to run meta content provider and
EDPM job with master opendev and github operator
content.
github-check:
jobs:
- openstack-meta-content-provider-master
- watcher-operator-validation-master
Loading