Add Drone CI config for akkounts

This commit is contained in:
Râu Cao 2023-09-01 12:51:40 +02:00
parent b4ce426ce9
commit f0968aae5b
Signed by: raucao
GPG Key ID: 15E65F399D084BA9
2 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,9 @@
"discourse": {
"domain": "community.kosmos.org"
},
"droneci": {
"public_url": "https://drone.kosmos.org"
},
"garage": {
"replication_mode": "2",
"s3_api_root_domain": ".s3.garage.kosmos.org",

View File

@ -75,6 +75,8 @@ end
env[:discourse_public_url] = "https://#{node['discourse']['domain']}"
env[:discourse_connect_secret] = credentials['discourse_connect_secret']
env[:droneci_public_url] = node["droneci"]["public_url"]
ejabberd_private_ip_addresses = []
search(:node, "role:ejabberd").each do |node|
ejabberd_private_ip_addresses << node["knife_zero"]["host"]
@ -114,6 +116,7 @@ if lndhub_host
end
env[:mastodon_public_url] = "https://#{node['kosmos-mastodon']['domain']}"
env[:mediawiki_public_url] = node['mediawiki']['url']
systemd_unit "akkounts.service" do