@@ -112,7 +112,7 @@ mod test {
|
||||
#[test]
|
||||
fn parse_file() {
|
||||
let cuddle_file = r#"
|
||||
base: "git@git.front.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
base: "git@git.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
|
||||
vars:
|
||||
service: "infrastructure-example"
|
||||
@@ -124,7 +124,7 @@ vars:
|
||||
namespace: clank_prod
|
||||
|
||||
deployment:
|
||||
registry: git@git.front.kjuulh.io:kjuulh/clank-clusters
|
||||
registry: git@git.kjuulh.io:kjuulh/clank-clusters
|
||||
env:
|
||||
prod:
|
||||
clusters:
|
||||
@@ -181,7 +181,7 @@ scripts:
|
||||
rust: None,
|
||||
},
|
||||
deployment: Some(crate::cuddle_file::CuddleDeployment {
|
||||
registry: "git@git.front.kjuulh.io:kjuulh/clank-clusters".into(),
|
||||
registry: "git@git.kjuulh.io:kjuulh/clank-clusters".into(),
|
||||
env: CuddleDeploymentEnv(deployment),
|
||||
}),
|
||||
components: Some(CuddleComponents {
|
||||
@@ -209,7 +209,7 @@ scripts:
|
||||
#[test]
|
||||
fn cuddle_database_default() {
|
||||
let cuddle_file = r#"
|
||||
base: "git@git.front.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
base: "git@git.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
|
||||
vars:
|
||||
service: "infrastructure-example"
|
||||
@@ -243,7 +243,7 @@ components:
|
||||
#[test]
|
||||
fn cuddle_packages() {
|
||||
let cuddle_file = r#"
|
||||
base: "git@git.front.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
base: "git@git.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
|
||||
vars:
|
||||
service: "infrastructure-example"
|
||||
|
||||
@@ -387,7 +387,7 @@ impl MainAction for LeptosService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"git@git.front.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
"git@git.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
self.get_deploy_target()
|
||||
),
|
||||
"--service",
|
||||
@@ -405,7 +405,7 @@ impl MainAction for LeptosService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"https://git.front.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
"https://git.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
self.get_deploy_target()
|
||||
),
|
||||
"--service",
|
||||
|
||||
@@ -255,7 +255,7 @@ impl MainAction for NodeService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"git@git.front.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
"git@git.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
self.service
|
||||
),
|
||||
"--service",
|
||||
@@ -273,7 +273,7 @@ impl MainAction for NodeService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"https://git.front.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
"https://git.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
self.service
|
||||
),
|
||||
"--service",
|
||||
|
||||
@@ -427,7 +427,7 @@ impl MainAction for RustService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"git@git.front.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
"git@git.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
self.bin_name
|
||||
),
|
||||
"--service",
|
||||
@@ -445,7 +445,7 @@ impl MainAction for RustService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"https://git.front.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
"https://git.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
self.bin_name
|
||||
),
|
||||
"--service",
|
||||
|
||||
Reference in New Issue
Block a user