From 87917c957cc9f89af1dd502cb48e72706a66c0d5 Mon Sep 17 00:00:00 2001 From: tseporamaisa Date: Thu, 5 Mar 2026 15:00:28 +0200 Subject: [PATCH] chore: rename master branch references to main --- tests/cli_commands/test_notebook.py | 2 +- tests/cli_commands/test_repo.py | 2 +- tests/cli_commands/test_utils.py | 2 +- tests/fixture_files/ml2p-multimodel.yml | 2 +- tests/fixture_files/ml2p-no-vpc.yml | 2 +- tests/fixture_files/ml2p.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/cli_commands/test_notebook.py b/tests/cli_commands/test_notebook.py index fc564ca..fe341b4 100644 --- a/tests/cli_commands/test_notebook.py +++ b/tests/cli_commands/test_notebook.py @@ -23,7 +23,7 @@ def cfg_repo_url(self): cfg["notebook"].update( **{ "repo_url": "https://example.com/repo-1234", - "repo_branch": "master", + "repo_branch": "main", "repo_secret_arn": "arn:secret:1234", } ) diff --git a/tests/cli_commands/test_repo.py b/tests/cli_commands/test_repo.py index 740931e..6aa8b1c 100644 --- a/tests/cli_commands/test_repo.py +++ b/tests/cli_commands/test_repo.py @@ -11,7 +11,7 @@ def repo(self): "CodeRepositoryName": "my-models-repo-1234", "GitConfig": { "RepositoryUrl": "https://example.com/repo-1234", - "Branch": "master", + "Branch": "main", "SecretArn": "arn:secret:repo-1234", }, } diff --git a/tests/cli_commands/test_utils.py b/tests/cli_commands/test_utils.py index cdd9d1b..2d0d5a2 100644 --- a/tests/cli_commands/test_utils.py +++ b/tests/cli_commands/test_utils.py @@ -524,7 +524,7 @@ def test_mk_repo(self, prj): "CodeRepositoryName": "modelling-project-repo-1", "GitConfig": { "RepositoryUrl": "https://github.example.com/modelling-project", - "Branch": "master", + "Branch": "main", "SecretArn": "arn:aws:secretsmanager:eu-west-1:111111111111:" "secret:sagemaker-github-authentication-fLJGfa", }, diff --git a/tests/fixture_files/ml2p-multimodel.yml b/tests/fixture_files/ml2p-multimodel.yml index 5a7661c..6d803db 100644 --- a/tests/fixture_files/ml2p-multimodel.yml +++ b/tests/fixture_files/ml2p-multimodel.yml @@ -34,7 +34,7 @@ notebook: instance_type: "ml.t2.medium" volume_size: 8 repo_url: "https://github.example.com/modelling-project" - repo_branch: "master" + repo_branch: "main" repo_secret_arn: "arn:aws:secretsmanager:eu-west-1:111111111111:secret:sagemaker-github-authentication-fLJGfa" security_group_ids: - "sg-1" diff --git a/tests/fixture_files/ml2p-no-vpc.yml b/tests/fixture_files/ml2p-no-vpc.yml index de81de3..163e859 100644 --- a/tests/fixture_files/ml2p-no-vpc.yml +++ b/tests/fixture_files/ml2p-no-vpc.yml @@ -13,5 +13,5 @@ notebook: instance_type: "ml.t2.medium" volume_size: 8 repo_url: "https://github.example.com/modelling-project" - repo_branch: "master" + repo_branch: "main" repo_secret_arn: "arn:aws:secretsmanager:eu-west-1:111111111111:secret:sagemaker-github-authentication-fLJGfa" diff --git a/tests/fixture_files/ml2p.yml b/tests/fixture_files/ml2p.yml index a7df867..dd63f54 100644 --- a/tests/fixture_files/ml2p.yml +++ b/tests/fixture_files/ml2p.yml @@ -13,7 +13,7 @@ notebook: instance_type: "ml.t2.medium" volume_size: 8 repo_url: "https://github.example.com/modelling-project" - repo_branch: "master" + repo_branch: "main" repo_secret_arn: "arn:aws:secretsmanager:eu-west-1:111111111111:secret:sagemaker-github-authentication-fLJGfa" security_group_ids: - "sg-1"