create automagic deployment
This commit is contained in:
parent
a12205aa1b
commit
113ed68bf6
|
@ -37,6 +37,7 @@ mkShell {
|
|||
ispell
|
||||
];
|
||||
|
||||
SITE_PREFIX = "devel.";
|
||||
CLACK_SET = "Ashlynn,Terry Davis,Dennis Ritchie";
|
||||
RUST_LOG = "info";
|
||||
}
|
||||
|
|
|
@ -8,6 +8,8 @@ let tag = env:GITHUB_SHA as Text ? "latest"
|
|||
|
||||
let image = "xena/christinewebsite:${tag}"
|
||||
|
||||
let prefix = env:SITE_PREFIX as Text ? ""
|
||||
|
||||
let vars
|
||||
: List kubernetes.EnvVar.Type
|
||||
= [ kubernetes.EnvVar::{ name = "PORT", value = Some "3030" } ]
|
||||
|
@ -17,7 +19,7 @@ in kms.app.make
|
|||
, name = "christinewebsite"
|
||||
, appPort = 3030
|
||||
, image = image
|
||||
, domain = "christine.website"
|
||||
, domain = "${prefix}christine.website"
|
||||
, leIssuer = "prod"
|
||||
, envVars = vars
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue