Add Drone CI config for akkounts
This commit is contained in:
parent
b4ce426ce9
commit
f0968aae5b
@ -13,6 +13,9 @@
|
|||||||
"discourse": {
|
"discourse": {
|
||||||
"domain": "community.kosmos.org"
|
"domain": "community.kosmos.org"
|
||||||
},
|
},
|
||||||
|
"droneci": {
|
||||||
|
"public_url": "https://drone.kosmos.org"
|
||||||
|
},
|
||||||
"garage": {
|
"garage": {
|
||||||
"replication_mode": "2",
|
"replication_mode": "2",
|
||||||
"s3_api_root_domain": ".s3.garage.kosmos.org",
|
"s3_api_root_domain": ".s3.garage.kosmos.org",
|
||||||
|
@ -75,6 +75,8 @@ end
|
|||||||
env[:discourse_public_url] = "https://#{node['discourse']['domain']}"
|
env[:discourse_public_url] = "https://#{node['discourse']['domain']}"
|
||||||
env[:discourse_connect_secret] = credentials['discourse_connect_secret']
|
env[:discourse_connect_secret] = credentials['discourse_connect_secret']
|
||||||
|
|
||||||
|
env[:droneci_public_url] = node["droneci"]["public_url"]
|
||||||
|
|
||||||
ejabberd_private_ip_addresses = []
|
ejabberd_private_ip_addresses = []
|
||||||
search(:node, "role:ejabberd").each do |node|
|
search(:node, "role:ejabberd").each do |node|
|
||||||
ejabberd_private_ip_addresses << node["knife_zero"]["host"]
|
ejabberd_private_ip_addresses << node["knife_zero"]["host"]
|
||||||
@ -114,6 +116,7 @@ if lndhub_host
|
|||||||
end
|
end
|
||||||
|
|
||||||
env[:mastodon_public_url] = "https://#{node['kosmos-mastodon']['domain']}"
|
env[:mastodon_public_url] = "https://#{node['kosmos-mastodon']['domain']}"
|
||||||
|
|
||||||
env[:mediawiki_public_url] = node['mediawiki']['url']
|
env[:mediawiki_public_url] = node['mediawiki']['url']
|
||||||
|
|
||||||
systemd_unit "akkounts.service" do
|
systemd_unit "akkounts.service" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user