GitLab CE repository was moved to GitLab Foss
@@ -238,14 +238,14 @@ def test_git_ref(url, unresolved_ref, resolved_ref):
def test_gitlab_ref():
spec = '{}/{}'.format(
- quote('gitlab-org/gitlab-ce', safe=''),
+ quote('gitlab-org/gitlab-foss', safe=''),
quote('v10.0.6')
)
provider = GitLabRepoProvider(spec=spec)
slug = provider.get_build_slug()
- assert slug == 'gitlab_-org-gitlab_-ce'
+ assert slug == 'gitlab_-org-gitlab_-foss'
full_url = provider.get_repo_url()
- assert full_url == 'https://gitlab.com/gitlab-org/gitlab-ce.git'
+ assert full_url == 'https://gitlab.com/gitlab-org/gitlab-foss.git'
ref = IOLoop().run_sync(provider.get_resolved_ref)
assert ref == 'b3344b7f17c335a817c5d7608c5e47fd7cabc023'
