Fix target paths;Add git repositories
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d187f60091
commit
570047df3b
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user