Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

teuthology:add the specified project_owner function #1836

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions teuthology/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ class TeuthologyConfig(YamlConfig):
'teuthology_path': None,
'suite_verify_ceph_hash': True,
'suite_allow_missing_packages': False,
'project_owner': 'ceph',
'openstack': {
'clone': 'git clone http://github.com/ceph/teuthology',
'user-data': 'teuthology/openstack/openstack-{os_type}-{os_version}-user-data.txt',
Expand Down
1 change: 1 addition & 0 deletions teuthology/suite/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def git_validate_sha1(project, sha1, project_owner='ceph'):
we have specific urls to HEAD for github and git.ceph.com/gitweb
for now
'''
project_owner=config.project_owner
url = build_git_url(project, project_owner)

if '/github.com/' in url:
Expand Down