Continuous Deployment: add connect to admin

We can now connect to a remote admin server in the CD environment by using the new "deploy-connect-to-admin" label in the PR.
This commit is contained in:
David Négrier
2022-02-17 15:04:51 +01:00
parent eae6c2c5e3
commit e36a1f1ced
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
local tag = namespace,
local url = namespace+".test.workadventu.re",
// develop branch does not use admin because of issue with SSL certificate of admin as of now.
local adminUrl = if std.startsWith(namespace, "admin") then "https://"+url else null,
local adminUrl = if std.objectHas(env, 'ADMIN_API_URL') then env.ADMIN_API_URL else null,
"$schema": "https://raw.githubusercontent.com/thecodingmachine/deeployer/master/deeployer.schema.json",
"version": "1.0",
"containers": {