Skip to content

Commit

Permalink
CI: Add Docker and SELinux variables for SOT
Browse files Browse the repository at this point in the history
  • Loading branch information
markgoddard committed May 17, 2024
1 parent 7887fc4 commit ae168e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions etc/kayobe/ansible/stackhpc-openstack-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
--timeout {{ sot_timeout }}
-vv
environment:
DOCKER_VERSION_MIN: "{{ sot_docker_version_min }}"
DOCKER_VERSION_MAX: "{{ sot_docker_version_max }}"
GRAFANA_URL: "{{ sot_grafana_url }}"
GRAFANA_USERNAME: "{{ sot_grafana_username }}"
GRAFANA_PASSWORD: "{{ sot_grafana_password }}"
Expand All @@ -77,9 +79,12 @@
PROMETHEUS_URL: "{{ sot_prometheus_url }}"
PROMETHEUS_USERNAME: "{{ sot_prometheus_username }}"
PROMETHEUS_PASSWORD: "{{ sot_prometheus_password }}"
SELINUX_STATE: "{{ sot_selinux_state }}"
vars:
kolla_external_scheme: "{{ 'https' if kolla_enable_tls_external | bool else 'http' }}"
kolla_internal_scheme: "{{ 'https' if kolla_enable_tls_internal | bool else 'http' }}"
sot_docker_version_min: "26.0.0"
sot_docker_version_max: "27.0.0"
sot_grafana_url: "{{ kolla_external_scheme }}://{{ kolla_external_fqdn }}:3000"
sot_grafana_username: "grafana_local_admin"
sot_grafana_password: "{{ kolla_passwords.grafana_admin_password }}"
Expand All @@ -92,6 +97,7 @@
sot_prometheus_url: "{{ kolla_internal_scheme }}://{{ kolla_internal_fqdn }}:9091"
sot_prometheus_username: "admin"
sot_prometheus_password: "{{ kolla_passwords.prometheus_password }}"
sot_selinux_state: "{{ selinux_state }}"
always:
- name: Fetch results
ansible.builtin.fetch:
Expand Down

0 comments on commit ae168e8

Please sign in to comment.