Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commodore/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
MANAGED_TOOLS_STATE = MANAGED_TOOLS_PATH / "state.json"

TOOL_INSTALL_SCRIPT_URL = {
"helm": "https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3",
"helm": "https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-4",
"kustomize": "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh",
}

Expand Down
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from click.testing import CliRunner, Result
from git import Repo

from commodore import cli
from commodore import cli, tools
from commodore.config import Config
from commodore.gitrepo import GitRepo

Expand All @@ -32,6 +32,7 @@ def __call__(self, args: list[str]) -> Result: ...
@pytest.fixture(autouse=True, scope="session")
def init_env():
multiprocessing.set_start_method("spawn")
tools.setup_path()


@pytest.fixture(autouse=True)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def test_install_helm(config: Config, capfd, tmp_path, github_token):

responses.add(
responses.GET,
"https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3",
"https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-4",
body=textwrap.dedent(
"""#!/bin/sh
echo 'Helm installer'
Expand Down