Update vApp properties;Rebase static binary;Refactor dictionary;Combine similar steps;Housekeeping
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
14c6720196
commit
ed7a474dbb
@ -277,7 +277,7 @@
|
||||
ansible.builtin.shell:
|
||||
cmd: |
|
||||
git config --local http.sslVerify false
|
||||
git remote set-url origin https://administrator:{{ vapp['guestinfo.rootpw'] | urlencode }}@git.{{ vapp['metacluster.fqdn']}}/mc/GitOps.Config.git
|
||||
git remote set-url origin https://administrator:{{ vapp['guestinfo.rootpw'] | urlencode }}@git.{{ vapp['metacluster.fqdn'] }}/mc/GitOps.Config.git
|
||||
git push
|
||||
chdir: /opt/metacluster/git-repositories/gitops
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
- name: Create folder structure(s)
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/metacluster/git-repositories/gitops
|
||||
|
||||
- name: Clone git repository
|
||||
ansible.builtin.git:
|
||||
repo: https://code.spamasaurus.com/djpbessems/GitOps.MetaCluster.git
|
||||
dest: /opt/metacluster/git-repositories/gitops
|
@ -4,10 +4,7 @@
|
||||
- name: Pre-stage meta-cluster components
|
||||
import_tasks: components.yml
|
||||
|
||||
- name: Pre-stage IaC repositories
|
||||
import_tasks: config.yml
|
||||
|
||||
- name: Pre-stage workload-cluster components
|
||||
- name: Pre-stage meta-cluster configuration and workload-cluster components
|
||||
import_tasks: staging.yml
|
||||
|
||||
- name: Cleanup
|
||||
|
@ -3,9 +3,16 @@
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/metacluster/git-repositories/gitops
|
||||
- /opt/workloadcluster/node-templates
|
||||
|
||||
- name: Download images
|
||||
- name: Clone git repository
|
||||
ansible.builtin.git:
|
||||
repo: "{{ platform.gitops.repository.uri }}"
|
||||
version: "{{ platform.gitops.repository.revision }}"
|
||||
dest: /opt/metacluster/git-repositories/gitops
|
||||
|
||||
- name: Download node-template images
|
||||
ansible.builtin.uri:
|
||||
url: "{{ item.url }}"
|
||||
dest: /opt/workloadcluster/node-templates/{{ item.name }}
|
||||
|
@ -4,8 +4,10 @@ platform:
|
||||
version: v1.24.1+k3s1
|
||||
|
||||
gitops:
|
||||
# repo_ref: v0.1
|
||||
repo_ref: HEAD
|
||||
repository:
|
||||
uri: https://code.spamasaurus.com/djpbessems/GitOps.MetaCluster.git
|
||||
# revision: v0.1.0
|
||||
revision: HEAD
|
||||
|
||||
packaged_components:
|
||||
- name: traefik
|
||||
@ -139,9 +141,7 @@ dependencies:
|
||||
archive: compressed
|
||||
extra_opts: --strip-components=1
|
||||
- filename: skopeo
|
||||
url: https://sn.itch.fyi/Repository/rel/skopeo
|
||||
username: "{{ repo_username }}"
|
||||
password: "{{ repo_password }}"
|
||||
url: https://code.spamasaurus.com/api/packages/djpbessems/generic/skopeo/v1.9.1/skopeo
|
||||
- filename: yq
|
||||
url: http://github.com/mikefarah/yq/releases/download/v4.25.3/yq_linux_amd64
|
||||
|
||||
|
@ -119,24 +119,24 @@ PropertyCategories:
|
||||
|
||||
- Key: hv.fqdn
|
||||
Type: string(1..)
|
||||
Label: vCenter Appliance FQDN*
|
||||
Description: ''
|
||||
Label: vCenter FQDN/IP-address*
|
||||
Description: 'The address of the vCenter instance which this bootstrap appliance will interact with for provisioning new VM's.'
|
||||
DefaultValue: ''
|
||||
Configurations: '*'
|
||||
UserConfigurable: true
|
||||
|
||||
- Key: hv.username
|
||||
Type: string(1..)
|
||||
Label: User name ...*
|
||||
Description: ''
|
||||
Label: vCenter username*
|
||||
Description: 'The username which this bootstrap appliance will authenticate with to the vCenter instance.'
|
||||
DefaultValue: ''
|
||||
Configurations: '*'
|
||||
UserConfigurable: true
|
||||
|
||||
- Key: hv.password
|
||||
Type: password(1..)
|
||||
Label: Password ...*
|
||||
Description: ''
|
||||
Label: vCenter password ...*
|
||||
Description: 'The password which this bootstrap appliance will authenticate with to the vCenter instance.'
|
||||
DefaultValue: ''
|
||||
Configurations: '*'
|
||||
UserConfigurable: true
|
||||
|
Loading…
Reference in New Issue
Block a user