fix: templates: load user credentials and pass dynamic configuration.
Also escape curly bracespull/1/head
parent
80d6664f0d
commit
94aad8e6ea
|
@ -1,2 +1,2 @@
|
||||||
enough --domain d.hostea.org host create {{subdomain}}-host
|
enough --domain d.{{ hostea_domain }} host create {{subdomain}}-host
|
||||||
enough --domain d.hostea.org service create --host {{subdomain}}-host gitea
|
enough --domain d.{{ hostea_domain }} service create --host {{subdomain}}-host gitea
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
enough --domain d.hostea.org host delete hostea001-host
|
enough --domain d.{{ hostea_domain }} host delete hostea001-host
|
||||||
|
|
|
@ -5,14 +5,14 @@
|
||||||
# Public hostname of the Gitea instance
|
# Public hostname of the Gitea instance
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
gitea_host: "gitea.{{ domain }}"
|
gitea_host: "{{ subdomain }}.{{ '{' }}{{ '{' }} domain {{ '}' }}{{ '}' }}"
|
||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
#
|
#
|
||||||
# Mailer from
|
# Mailer from
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
gitea_mailer_from: "noreply@enough.community"
|
gitea_mailer_from: "noreply@{{ '{' }}{{ '{' }} domain {{ '}' }}{{ '}' }}"
|
||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
#
|
#
|
||||||
|
@ -38,37 +38,37 @@ gitea_user: root
|
||||||
#
|
#
|
||||||
# Admin user password
|
# Admin user password
|
||||||
#
|
#
|
||||||
#gitea_password: etquofEtseudett
|
gitea_password: "{{ gitea_password }}"
|
||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
#
|
#
|
||||||
# Admin user email
|
# Admin user email
|
||||||
#
|
#
|
||||||
gitea_email: contact@enough.community
|
gitea_email: "{{ gitea_email }}"
|
||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
#
|
#
|
||||||
# Unique hostname of the woodpecker server relative to {{ domain }}
|
# Unique hostname of the woodpecker server relative to {{ '{' }}{{ '{' }} domain {{ '}' }}{{ '}' }}
|
||||||
#
|
#
|
||||||
woodpecker_hostname: "woodpecker"
|
woodpecker_hostname: "{{ woodpecker_hostname }}"
|
||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
#
|
#
|
||||||
# Public hostname of the Woodpecker instance
|
# Public hostname of the Woodpecker instance
|
||||||
#
|
#
|
||||||
woodpecker_host: "{{ woodpecker_hostname }}.{{ domain }}"
|
woodpecker_host: "{{ '{' }}{{ '{' }} woodpecker_hostname {{ '}' }}{{ '}' }}.{{ '{' }}{{ '{' }} domain {{ '}' }}{{ '}' }}"
|
||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
#
|
#
|
||||||
# Gitea users with admin rights on woodpecker
|
# Gitea users with admin rights on woodpecker
|
||||||
#
|
#
|
||||||
woodpecker_admins: "{{ gitea_user }}"
|
woodpecker_admins: "{{ '{' }}{{ '{' }} gitea_user {{ '}' }}{{ '}' }}"
|
||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
#
|
#
|
||||||
# Woodpecker shared agent secret `openssl rand -hex 32`
|
# Woodpecker shared agent secret `openssl rand -hex 32`
|
||||||
#
|
#
|
||||||
#woodpecker_agent_secret: c2cd326f7104c2ca93e6d22da0b28d1e33b4aeaa071c08945e0ade576b3192ce
|
woodpecker_agent_secret: {{ woodpecker_agent_secret }}
|
||||||
#
|
#
|
||||||
#######################################
|
#######################################
|
||||||
#
|
#
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
openstack_flavor: "\{\{ {{ vm_size }} \}\}"
|
openstack_flavor: {{ vm_size }}
|
||||||
|
|
Loading…
Reference in New Issue