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 }} Authorization: token {{ gitea_api_token.json.sha1 }}
body: "{{ item.body }}" body: "{{ item.body }}"
loop: loop:
- organization: mc
body:
name: GitOps.HelmCharts
# auto_init: true
# default_branch: main
description: Helm charts
- organization: mc - organization: mc
body: body:
name: GitOps.ClusterAPI name: GitOps.ClusterAPI
# auto_init: true # auto_init: true
# default_branch: main # default_branch: main
description: ClusterAPI manifests 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 - organization: wl
body: body:
name: GitOps.Config name: GitOps.Config

View File

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