-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(service): fix clone depth not being respected
- Loading branch information
Showing
9 changed files
with
6 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -253,11 +253,8 @@ def test_service_cache_make_project(svc_client_cache): | |
project_data = { | ||
"name": "renku-project-template", | ||
"slug": "renku-project-template.git", | ||
"depth": 1, | ||
"clone_depth": 1, | ||
"git_url": "https://github.com/SwissDataScienceCenter/renku-project-template.git", | ||
"email": "[email protected]", | ||
"fullname": "renku the frog", | ||
"token": "None", | ||
"owner": "SwissDataScienceCenter", | ||
} | ||
project = cache.make_project(user, project_data) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,10 +36,7 @@ def project_metadata(project) -> Generator[Tuple["RenkuProject", Dict[str, Any]] | |
"project_id": uuid.uuid4().hex, | ||
"name": name, | ||
"slug": normalize_to_ascii(name), | ||
"fullname": "full project name", | ||
"email": "[email protected]", | ||
"owner": "me", | ||
"token": "awesome token", | ||
"git_url": "https://example.com/a/b.git", | ||
"initialized": True, | ||
"branch": "", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,10 +108,7 @@ def test_job_constructor_lock(svc_client_with_user, service_job): | |
"project_id": uuid.uuid4().hex, | ||
"name": "my-project", | ||
"slug": "my-project", | ||
"fullname": "full project name", | ||
"email": "[email protected]", | ||
"owner": "me", | ||
"token": "awesome token", | ||
"git_url": "[email protected]", | ||
"initialized": True, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1012,10 +1012,7 @@ def test_cached_import_dataset_job(doi, svc_client_cache, project): | |
"project_id": uuid.uuid4().hex, | ||
"name": name, | ||
"slug": normalize_to_ascii(name), | ||
"fullname": "full project name", | ||
"email": "[email protected]", | ||
"owner": "me", | ||
"token": "awesome token", | ||
"git_url": "https://example.com/a/b.git", | ||
"initialized": True, | ||
} | ||
|