Install gitea chart;Add tea cli binary
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-07-03 15:08:57 +02:00
parent 2f937aded7
commit 9541942c23
2 changed files with 25 additions and 0 deletions

View File

@ -123,6 +123,29 @@
dest: /etc/rancher/k3s/registries.yaml dest: /etc/rancher/k3s/registries.yaml
src: registries.j2 src: registries.j2
- name: Install gitea chart
kubernetes.core.helm:
name: gitea
chart_ref: /opt/metacluster/helm-charts/gitea
release_namespace: gitea
create_namespace: yes
wait: yes
kubeconfig: "{{ kubeconfig.path }}"
values:
gitea:
admin:
username: admin
password: "{{ vapp['guestinfo.rootpw'] }}"
email: admin@{{ vapp['metacluster.fqdn'] }}
image:
pullPolicy: IfNotPresent
ingress:
hosts:
- host: git.{{ vapp['metacluster.fqdn'] }}
paths:
- path: /
pathType: Prefix
- name: Cleanup tempfile - name: Cleanup tempfile
ansible.builtin.file: ansible.builtin.file:
path: "{{ kubeconfig.path }}" path: "{{ kubeconfig.path }}"

View File

@ -51,6 +51,8 @@ dependencies:
- quay.io/skopeo/stable:v1.8.0 - quay.io/skopeo/stable:v1.8.0
static_binaries: static_binaries:
- filename: tea
url: https://dl.gitea.io/tea/0.8.0/tea-0.8.0-linux-amd64
- filename: helm - filename: helm
url: https://get.helm.sh/helm-v3.9.0-linux-amd64.tar.gz url: https://get.helm.sh/helm-v3.9.0-linux-amd64.tar.gz
archive: compressed archive: compressed