Install OSH Helm plugin

The OSH Helm plugin incapsulates two
helper scripts that are used in most
of test deployment scripts and provides
two subcommands

- get-values-overrides - generates values
  overrides file names from a set of given feature gates
- wait-for-pods - checks if all the containers of all running pods
  are ready and if all jobs are successfully completed

At the moment the plugin is put in a third party git repo
but later will be put to the opendev.org repo.

Change-Id: I8f30fbdf94d76ef9fa2985a25c033df290995326
This commit is contained in:
Vladimir Kozhukalov 2024-04-14 20:50:32 -05:00
parent ed4a8acf85
commit 9f7b083213
2 changed files with 7 additions and 0 deletions

View File

@ -43,8 +43,14 @@
args:
executable: /bin/bash
- name: Install osh helm plugin
become: false
shell: |
helm plugin install https://github.com/kubepro/helm-plugin-osh.git
# This is to improve build time
- name: Remove stable Helm repo
become: false
command: helm repo remove stable
ignore_errors: true

View File

@ -30,5 +30,6 @@
CONTAINER_DISTRO_NAME: "{{ osh_params.container_distro_name | default('') }}"
CONTAINER_DISTRO_VERSION: "{{ osh_params.container_distro_version | default('') }}"
FEATURE_GATES: "{{ osh_params.feature_gates | default('') }}"
FEATURES: "{{ osh_params.feature_gates | regex_replace(',', ' ') | default('') }} {{ osh_params.openstack_release | default('') }} {{ osh_params.container_distro_name | default('') }}_{{ osh_params.container_distro_version | default('') }} {{ osh_params.container_distro_name | default('') }}"
RUN_HELM_TESTS: "{{ run_helm_tests | default('yes') }}"
...