Ensure requirements SHA variable is included for healthcheck playbook

Also add a zuul job which runs when the heathcheck playbook is changed
so that we don't merge an error like this again.

Change-Id: Iab0ea6de155c020deb9ed71253b5b8854c6da562
This commit is contained in:
Jonathan Rosser 2022-05-12 15:00:58 +01:00
parent d9636762e2
commit 4ac454f594
3 changed files with 16 additions and 0 deletions

View File

@ -23,6 +23,8 @@
- name: Ensure all repo-servers are built and are accessible by hosts. - name: Ensure all repo-servers are built and are accessible by hosts.
hosts: all_containers[0]:physical_hosts[0] hosts: all_containers[0]:physical_hosts[0]
gather_facts: yes gather_facts: yes
vars_files:
- "defaults/repo_packages/openstack_services.yml"
vars: vars:
repo_requirements_file: "{{ 'constraints/upper_constraints_' ~ requirements_git_install_branch ~ '.txt' }}" repo_requirements_file: "{{ 'constraints/upper_constraints_' ~ requirements_git_install_branch ~ '.txt' }}"
tasks: tasks:

View File

@ -260,6 +260,18 @@
- ^ansible-role-requirements\.yml - ^ansible-role-requirements\.yml
- ^playbooks\/defaults\/repo_packages\/.*\.yml - ^playbooks\/defaults\/repo_packages\/.*\.yml
# Ensuring clustering and healthcheck-infrastructure playbook is valid
- job:
name: openstack-ansible-deploy-infra_lxc-validate
parent: openstack-ansible-deploy-infra_lxc-ubuntu-focal
files:
- ^playbooks\/galera-install.yml
- ^playbooks\/rabbitmq-install.yml
- ^playbooks\/memcached-install.yml
- ^playbooks\/healthcheck-infrastructure.yml
- ^playbooks\/repo-install.yml
- ^playbooks\/haproxy-install.yml
# Running linters check # Running linters check
- job: - job:
name: openstack-ansible-linters-ubuntu-focal name: openstack-ansible-linters-ubuntu-focal

View File

@ -18,11 +18,13 @@
jobs: jobs:
- openstack-ansible-varstest-aio - openstack-ansible-varstest-aio
- openstack-ansible-shastest-metal - openstack-ansible-shastest-metal
- openstack-ansible-deploy-infra_lxc-validate
- openstack-tox-docs - openstack-tox-docs
gate: gate:
jobs: jobs:
- openstack-ansible-varstest-aio - openstack-ansible-varstest-aio
- openstack-ansible-shastest-metal - openstack-ansible-shastest-metal
- openstack-ansible-deploy-infra_lxc-validate
- openstack-tox-docs - openstack-tox-docs
periodic: periodic:
jobs: jobs: