Ensure API readiness
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-11-24 13:46:19 +01:00
parent e249498109
commit b9575d2de4

View File

@ -8,6 +8,15 @@
kubeconfig: "{{ kubeconfig.path }}" kubeconfig: "{{ kubeconfig.path }}"
values: "{{ components.harbor.chart_values }}" values: "{{ components.harbor.chart_values }}"
- name: Ensure harbor API availability
ansible.builtin.uri:
url: https://registry.{{ vapp['metacluster.fqdn'] }}/api/v2.0/health
method: GET
register: api_readycheck
until: api_readycheck.json.status == 'healthy'
retries: 5
delay: 30
- name: Push images to registry - name: Push images to registry
ansible.builtin.shell: ansible.builtin.shell:
cmd: >- cmd: >-