Skip to content

Commit

Permalink
Added VA HCI trigger experimental job
Browse files Browse the repository at this point in the history
It is based on the work done by @son-vyas
openstack-k8s-operators/ci-playground#12.

It will help users to trigger VA HCI job by "trigger github-experimental".

Signed-off-by: Chandan Kumar (raukadah) <[email protected]>
  • Loading branch information
raukadah authored and openshift-merge-bot[bot] committed Aug 22, 2024
1 parent dc38ec3 commit ef0f9a2
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/templates/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
templates:
- podified-multinode-edpm-ci-framework-pipeline
- data-plane-adoption-ci-framework-pipeline
github-experimental-trigger:
jobs:
- downstream-va-hci-trigger-job
github-check:
jobs:
- noop
Expand Down
3 changes: 3 additions & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
- cifmw-molecule-update_containers
- cifmw-molecule-validations
- cifmw-molecule-virtualbmc
github-experimental-trigger:
jobs:
- downstream-va-hci-trigger-job
name: openstack-k8s-operators/ci-framework
templates:
- podified-multinode-edpm-ci-framework-pipeline
Expand Down
82 changes: 82 additions & 0 deletions zuul.d/trigger_jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
- job:
name: downstream-va-hci-trigger-job
parent: trigger-job-base
description: |
Zuul job to trigger VA HCI job downstream
files:
- ^roles/artifacts/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/cert_manager/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/cifmw_ceph*/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/cifmw_external_dns/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/ci_gen_kustomize/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/ci_lvms_storage/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/ci_nmstate/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/config_drive/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/devscripts/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/discover_latest_image/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/dnsmasq/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/install_openstack_ca/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/libvirt_manager/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
# It needs to be enabled in VA HCI IPv6
# - ^roles/nat64_appliance/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/networking_mapper/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/openshift_adm/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/openshift_login/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/reproducer/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/run_hook/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/ssh_jumper/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^roles/virtualbmc/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^playbooks/06-deploy-architecture.yml
vars:
# It will create a file trigger_va_hci
trigger_job_name: "va_hci"
trigger_commit_msg: "Triggering VA HCI job"

- job:
name: trigger-job-base
parent: create-nested-virt-trigger-from-github-pr
description: |
Base zuul job for trigger job which keeps the irrelevant files.
irrelevant-files: &ir_files
- .*/*.md
- ^.github/.*$
- ^LICENSE$
- ^OWNERS$
- ^OWNERS_ALIASES$
- ^PROJECT$
- ^README.md$
- ^renovate.json$
- ^kuttl-test.yaml$
- molecule/.*
- molecule-requirements.txt
- .github/workflows
- docs/.*
- contribute/.*
- roles/.*/molecule/.*
- ci/playbooks/pre-commit.yml
- ci/playbooks/pre-doc.yml
- ci/playbooks/run-doc.yml
- ci/playbooks/molecule-prepare.yml
- ci/playbooks/molecule-test.yml
# ci-framework
- .ansible-lint
- .config/molecule/.*
- .pre-commit-config.yaml
- .readthedocs.yaml
- .spellcheck.yml
- roles/dlrn_report
- roles/dlrn_promote
- roles/validations
- zuul.d/molecule.*
# Other openstack operators
- containers/ci
- .ci-operator.yaml
- .dockerignore
- .gitignore
- .golangci.yaml
- .pre-commit-config.yaml
- tests?\/functional
# openstack-ansibleee-operator
- examples
- mkdocs.yml

0 comments on commit ef0f9a2

Please sign in to comment.