This commit is contained in:
parent
3f24a4af1a
commit
31a91d826f
@ -6,10 +6,19 @@
|
|||||||
chart_ref: /opt/metacluster/helm-charts/gitea
|
chart_ref: /opt/metacluster/helm-charts/gitea
|
||||||
release_namespace: gitea
|
release_namespace: gitea
|
||||||
create_namespace: yes
|
create_namespace: yes
|
||||||
wait: yes
|
wait: no
|
||||||
kubeconfig: "{{ kubeconfig.path }}"
|
kubeconfig: "{{ kubeconfig.path }}"
|
||||||
values: "{{ components.gitea.chart_values }}"
|
values: "{{ components.gitea.chart_values }}"
|
||||||
|
|
||||||
|
- name: Ensure gitea API availability
|
||||||
|
ansible.builtin.uri:
|
||||||
|
url: https://git.{{ vapp['metacluster.fqdn'] }}/api/healthz
|
||||||
|
method: GET
|
||||||
|
register: api_readycheck
|
||||||
|
until: api_readycheck.json.status is defined
|
||||||
|
retries: 5
|
||||||
|
delay: 30
|
||||||
|
|
||||||
- name: Configure additional SSH ingress
|
- name: Configure additional SSH ingress
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: ingressroutetcp.j2
|
src: ingressroutetcp.j2
|
||||||
@ -35,15 +44,6 @@
|
|||||||
- name: Trigger handlers
|
- name: Trigger handlers
|
||||||
ansible.builtin.meta: flush_handlers
|
ansible.builtin.meta: flush_handlers
|
||||||
|
|
||||||
- name: Ensure gitea API availability
|
|
||||||
ansible.builtin.uri:
|
|
||||||
url: https://git.{{ vapp['metacluster.fqdn'] }}/api/healthz
|
|
||||||
method: GET
|
|
||||||
register: api_readycheck
|
|
||||||
until: api_readycheck.json.status is defined
|
|
||||||
retries: 5
|
|
||||||
delay: 30
|
|
||||||
|
|
||||||
- name: Generate gitea API token
|
- name: Generate gitea API token
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: https://git.{{ vapp['metacluster.fqdn'] }}/api/v1/users/administrator/tokens
|
url: https://git.{{ vapp['metacluster.fqdn'] }}/api/v1/users/administrator/tokens
|
||||||
|
Loading…
Reference in New Issue
Block a user