Skip to content

Commit 847e944

Browse files
committed
[ci] Explicitly set the CloudKitty images in oscp
They don't seem to be updated when using openstackversions
1 parent 35e556a commit 847e944

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

ci/configure-cloudkitty.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,25 @@
55
# That should get to the point where we have must-gather running so that there is more information available.
66
- name: "Create the kustomization for deploying CloudKitty"
77
hosts: "{{ cifmw_target_hook_host | default('localhost') }}"
8-
gather_facts: false
8+
gather_facts: true
99
environment:
1010
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
1111
PATH: "{{ cifmw_path }}"
1212
tasks:
13+
- name: Set the FVT dir
14+
ansible.builtin.set_fact:
15+
fvt_dir: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/"
16+
when: zuul is defined
17+
18+
- name: Load vars files from FVT
19+
ansible.builtin.include_vars:
20+
file: "{{ fvt_dir }}/ci/vars/common.yml"
21+
when: zuul is defined
22+
23+
# TODO: Add in a back-up for when zuul is not defined.
24+
# This should prefer a passed value, but default to a directory relative to the telemetry-operator repo.
25+
# i.e. playbook_dir/../feature-verification-tests
26+
1327
- name: Copy controlplane kustomization
1428
ansible.builtin.copy:
1529
dest: "{{ cifmw_basedir }}/artifacts/manifests/kustomizations/controlplane/90-kustomize-controlplane-cloudkitty.yaml"
@@ -33,12 +47,12 @@
3347
# this is needed so the secrets are created for dataplane deployment
3448
enabled: true
3549
template:
36-
logging:
37-
enabled: false
38-
autoscaling:
39-
enabled: false
4050
cloudkitty:
4151
enabled: true
52+
cloudKittyAPI:
53+
containerImage: {{ telemetry_registry }}/openstack-cloudkitty-api:{{ telemetry_tag }}
54+
cloudKittyProc:
55+
containerImage: {{ telemetry_registry }}/openstack-cloudkitty-processor:{{ telemetry_tag }}
4256
s3StorageConfig:
4357
secret:
4458
type: "s3"

0 commit comments

Comments
 (0)