add token & improve artifact validation

This commit is contained in:
Michael Jerger 2023-08-11 16:16:25 +02:00
parent 2217e5c8d1
commit f30609288a

View file

@ -68,6 +68,8 @@ def test_should_calculate_forgejo_release_api_endpoint():
sut = Release( sut = Release(
devops_config( devops_config(
{ {
"release_artifacts": ["x"],
"release_artifact_token": "y",
"release_artifact_server_url": "https://repo.prod.meissa.de", "release_artifact_server_url": "https://repo.prod.meissa.de",
"release_organisation": "meissa", "release_organisation": "meissa",
"release_repository_name": "provs", "release_repository_name": "provs",
@ -83,6 +85,8 @@ def test_should_calculate_forgejo_release_api_endpoint():
sut = Release( sut = Release(
devops_config( devops_config(
{ {
"release_artifacts": ["x"],
"release_artifact_token": "y",
"release_artifact_server_url": "https://repo.prod.meissa.de/", "release_artifact_server_url": "https://repo.prod.meissa.de/",
"release_organisation": "/meissa/", "release_organisation": "/meissa/",
"release_repository_name": "provs", "release_repository_name": "provs",