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 committed Aug 22, 2024
1 parent fd3b88b commit 19f61b9
Show file tree
Hide file tree
Showing 3 changed files with 68 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
@@ -1,4 +1,7 @@
- project:
github-experimental-trigger:
jobs:
- downstream-va-hci-trigger-job
github-check:
jobs:
- noop
Expand Down
62 changes: 62 additions & 0 deletions zuul.d/trigger_jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
- job:
name: downstream-va-hci-trigger-job
parent: create-nested-virt-trigger-from-github-pr
files:
- ^roles/devscripts/(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/libvirt_manager/(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/virtualbmc/(defaults|files|handlers|library|lookup_plugins|module_utils|tasks|templates|vars).*
- ^playbooks/06-deploy-architecture.yml
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/devscripts
- roles/dnsmasq
- roles/nat64_appliance
- roles/reproducer
- roles/virtualbmc
- 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
vars:
# It will create a file trigger_va_hci
trigger_job_name: "va_hci"
trigger_commit_msg: "Triggering VA HCI job"

0 comments on commit 19f61b9

Please sign in to comment.