Skip to content

Commit

Permalink
Merge pull request #581 from yadneshk/kepler_ci
Browse files Browse the repository at this point in the history
Create power monitoring job to deploy kepler and ceilometer ipmi agent
  • Loading branch information
openshift-merge-bot[bot] authored Jan 13, 2025
2 parents 43b3bac + b155762 commit 286a912
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ci/deploy-power-monitoring-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
- name: "Deploy power monitoring dependencies"
hosts: "{{ cifmw_target_hook_host | default('localhost') }}"
gather_facts: false
environment:
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
PATH: "{{ cifmw_path }}"
tasks:
- name: Copy dataplane nodeset kustomization
ansible.builtin.copy:
dest: "{{ cifmw_basedir }}/artifacts/manifests/kustomizations/dataplane/90-kustomize-dataplane-power-monitoring.yaml"
content: |-
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
namespace: {{ cifmw_install_yamls_defaults['NAMESPACE'] }}
patches:
- target:
kind: OpenStackDataPlaneNodeSet
name: .*
patch: |-
- op: add
path: /spec/services/-
value: telemetry-power-monitoring
7 changes: 7 additions & 0 deletions ci/vars-power-monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
cifmw_run_tests: false
pre_deploy_deploy_power-monitoring_dependencies:
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/deploy-power-monitoring-dependencies.yml"
type: playbook

# telemetry-power-monitoring being a dataplane service needs no kustomization in OpenstackControlPlane
12 changes: 12 additions & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/scenarios/centos-9/multinode-ci.yml"
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-logging.yml"

- job:
name: telemetry-operator-multinode-power-monitoring
parent: podified-multinode-edpm-deployment-crc
# dependencies: ["openstack-k8s-operators-content-provider"]
description: |
Deploy OpenStack with power monitoring services enabled
vars:
cifmw_extras:
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/scenarios/centos-9/multinode-ci.yml"
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-power-monitoring.yml"

- project-template:
name: rdo-telemetry-tempest-plugin-jobs
openstack-experimental:
Expand Down Expand Up @@ -75,6 +86,7 @@
jobs:
- telemetry-operator-multinode-autoscaling-tempest
- telemetry-operator-multinode-default-telemetry
- telemetry-operator-multinode-power-monitoring
- functional-tests-on-osp18: &fvt_jobs_config
voting: true
required-projects:
Expand Down

0 comments on commit 286a912

Please sign in to comment.