Skip to content

Adding check for shaman and chacra build validations - #2095

Closed
tintumathew10 wants to merge 1 commit into
ceph:mainfrom
tintumathew10:build_comp
Closed

Adding check for shaman and chacra build validations#2095
tintumathew10 wants to merge 1 commit into
ceph:mainfrom
tintumathew10:build_comp

Conversation

@tintumathew10

Copy link
Copy Markdown

This PR is for checking the selected sha1 from github is existing in shaman and chacra.

@tintumathew10
tintumathew10 requested a review from a team as a code owner October 17, 2025 12:14
@tintumathew10
tintumathew10 requested review from amathuria and kamoltat and removed request for a team October 17, 2025 12:14
@tintumathew10
tintumathew10 force-pushed the build_comp branch 2 times, most recently from 5e2132a to 2a7cd6c Compare October 24, 2025 12:51
@tintumathew10
tintumathew10 force-pushed the build_comp branch 22 times, most recently from 10184f1 to a5b3871 Compare December 3, 2025 14:16
Signed-off-by: tintumathew10 <tmathew@redhat.com>

@zmc zmc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a couple feedback items but before we get too deep into this, could you explain a little about the reasoning behind adding this instead of modifying or replacing this bit: https://github.com/ceph/teuthology/blob/main/teuthology/suite/util.py#L226-L256
Thanks!

Comment thread teuthology/suite/run.py
return None
return response.text

chacra_url = f"https://1.chacra.ceph.com/repos/ceph/{ceph_branch}/"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The chacra URL should not be hardcoded; it should be discovered via the shaman API, I think.

Comment thread teuthology/suite/run.py
msg = f"Not found in Chacra for branch {ceph_branch}."
util.schedule_fail(msg, self.name, dry_run=self.args.dry_run)

shaman_url = f"https://shaman.ceph.com/builds/ceph/{ceph_branch}/"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be hardcoded and should instead use config.shaman_host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants