Skip to content

Commit

Permalink
build: upgrade nix-shell helm to v3.15.4
Browse files Browse the repository at this point in the history
Helm's upgrade option --reset-then-reuse-values requires helm 3.14 or above.
Using Helm v3.15.4 across the Mayastor repos to support use for this option
in the upgrade-job and/or E2e tests.

Signed-off-by: Niladri Halder <[email protected]>
  • Loading branch information
niladrih committed Oct 8, 2024
1 parent 108d1b2 commit 3ec6f1c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions nix/sources.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
{
"helm-nixpkgs": {
"branch": "master",
"description": "Nix Packages collection & NixOS",
"homepage": "",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6e521c81bdf97fa70326bb88b007879bf9b226bf",
"sha256": "0ilczcqv88yjlqx7j2lg3csyl1aaq3ackd9gmmsnwydj9y96ikp7",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/6e521c81bdf97fa70326bb88b007879bf9b226bf.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs": {
"branch": "release-24.05",
"description": "Nix Packages collection",
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ exec_helm() {
if [ -n "$LOCAL_HELM" ]; then
$HELM $@
else
$NIX_SHELL -p "(import (import $NIX_SOURCES).nixpkgs {}).kubernetes-helm-wrapped" --run "$HELM $@"
$NIX_SHELL -p "(import (import $NIX_SOURCES).helm-nixpkgs {}).kubernetes-helm" --run "$HELM $@"
fi
}

Expand Down
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pkgs.mkShell {
cacert
cargo-udeps
clang
niv
openssl
pkg-config
pre-commit
Expand Down

0 comments on commit 3ec6f1c

Please sign in to comment.