Fix target paths;Add git repositories
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-04-01 13:43:36 +02:00
parent d187f60091
commit 570047df3b
2 changed files with 14 additions and 8 deletions

View File

@ -107,18 +107,24 @@
Authorization: token {{ gitea_api_token.json.sha1 }}
body: "{{ item.body }}"
loop:
- organization: mc
body:
name: GitOps.HelmCharts
# auto_init: true
# default_branch: main
description: Helm charts
- organization: mc
body:
name: GitOps.ClusterAPI
# auto_init: true
# default_branch: main
description: ClusterAPI manifests
- organization: mc
body:
name: GitOps.Config
# auto_init: true
# default_branch: main
description: GitOps manifests
- organization: mc
body:
name: GitOps.HelmCharts
# auto_init: true
# default_branch: main
description: Helm charts
- organization: wl
body:
name: GitOps.Config

View File

@ -144,14 +144,14 @@
- name: Save workload cluster manifest
ansible.builtin.copy:
dest: "{{ capi_clustermanifest.path }}"
dest: "{{ capi_clustermanifest.path }}/new-cluster.yaml"
content: "{{ clusterctl_newcluster.stdout }}"
- name: Split manifest into separate files
ansible.builtin.shell:
cmd: >-
kubectl slice \
-f {{ capi_clustermanifest.path }} \
-f {{ capi_clustermanifest.path }}/new-cluster.yaml \
-o {{ capi_clustermanifest.path }}/manifests
- name: Initialize/Push git repository