* Add `helm` (#255) Signed-off-by: Thomas Kosiewski <thoma471@googlemail.com> * Sorted steps alphabetically Signed-off-by: Thomas Kosiewski <thoma471@googlemail.com> Signed-off-by: Thomas Kosiewski <thoma471@googlemail.com>
This commit is contained in:
@@ -73,10 +73,10 @@ type Commands = BTreeMap<String, String>;
|
||||
pub enum Step {
|
||||
Asdf,
|
||||
Atom,
|
||||
Bin,
|
||||
BrewCask,
|
||||
BrewFormula,
|
||||
Bun,
|
||||
Bin,
|
||||
Cargo,
|
||||
Chezmoi,
|
||||
Chocolatey,
|
||||
@@ -87,8 +87,8 @@ pub enum Step {
|
||||
Containers,
|
||||
CustomCommands,
|
||||
DebGet,
|
||||
Distrobox,
|
||||
Deno,
|
||||
Distrobox,
|
||||
Dotnet,
|
||||
Emacs,
|
||||
Firmware,
|
||||
@@ -100,10 +100,11 @@ pub enum Step {
|
||||
Ghcup,
|
||||
GithubCliExtensions,
|
||||
GitRepos,
|
||||
GnomeShellExtensions,
|
||||
Go,
|
||||
Guix,
|
||||
Haxelib,
|
||||
GnomeShellExtensions,
|
||||
Helm,
|
||||
HomeManager,
|
||||
Jetpack,
|
||||
Julia,
|
||||
@@ -120,8 +121,8 @@ pub enum Step {
|
||||
Pacdef,
|
||||
Pacstall,
|
||||
Pearl,
|
||||
Pipx,
|
||||
Pip3,
|
||||
Pipx,
|
||||
Pkg,
|
||||
Pkgin,
|
||||
Powershell,
|
||||
|
||||
@@ -374,6 +374,7 @@ fn run() -> Result<()> {
|
||||
runner.execute(Step::Deno, "deno", || node::deno_upgrade(&ctx))?;
|
||||
runner.execute(Step::Composer, "composer", || generic::run_composer_update(&ctx))?;
|
||||
runner.execute(Step::Krew, "krew", || generic::run_krew_upgrade(run_type))?;
|
||||
runner.execute(Step::Helm, "helm", || generic::run_helm_repo_update(run_type))?;
|
||||
runner.execute(Step::Gem, "gem", || generic::run_gem(&base_dirs, run_type))?;
|
||||
runner.execute(Step::RubyGems, "rubygems", || {
|
||||
generic::run_rubygems(&base_dirs, run_type)
|
||||
|
||||
@@ -546,3 +546,10 @@ pub fn update_julia_packages(ctx: &ExecutionContext) -> Result<()> {
|
||||
.args(["-e", "using Pkg; Pkg.update()"])
|
||||
.status_checked()
|
||||
}
|
||||
|
||||
pub fn run_helm_repo_update(run_type: RunType) -> Result<()> {
|
||||
let helm = utils::require("helm")?;
|
||||
|
||||
print_separator("Helm");
|
||||
run_type.execute(helm).arg("repo").arg("update").status_checked()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user