fix(critical): Use helmfile repos
instead of sync
This commit is contained in:
parent
cff0139c09
commit
c2f2a3b8e6
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -46,7 +46,7 @@ checksum = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cdh"
|
name = "cdh"
|
||||||
version = "0.1.3"
|
version = "0.1.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"clap_complete",
|
"clap_complete",
|
||||||
|
@ -37,7 +37,7 @@ impl Connector for Helmfile {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
fn sync_repos(&self) -> Result<()> {
|
fn sync_repos(&self) -> Result<()> {
|
||||||
let cmd: String = format!("helmfile -f {} -e {} sync", self.path, self.env);
|
let cmd: String = format!("helmfile -f {} -e {} repos", self.path, self.env);
|
||||||
Command::new("bash")
|
Command::new("bash")
|
||||||
.arg("-c")
|
.arg("-c")
|
||||||
.arg(cmd)
|
.arg(cmd)
|
||||||
|
Reference in New Issue
Block a user