Skip to content

ci: report start of ci back to gerrit with vote 0 #49

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

glimchb
Copy link
Contributor

@glimchb glimchb commented Apr 8, 2025

it's nice for developer to see where ci is running and follow up

it's nice for developer to see where ci is running and follow up
Copy link
Contributor

@tomzawadzki tomzawadzki left a comment

Choose a reason for hiding this comment

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

Please remember that this will double the number of comments from spdk-bot. Which would pollute the normal view of Gerrit comments, with no way to filter out irrelevant ones. Besides that there are folks that like to digest the updates to patches via email, and would need to put up additional filters on top specifically for this comment.

While I'm sure there are some (myself included) that do eagerly await results, this might not be the best way to go about it. Previously we've had a status page outlining builds in progress.
Now since its all GH based, maybe lets points to specific places folks can look to for status - here. The lacking part there are names of the jobs, so maybe modifying names to match commit title would be better approach ?

change_num="${{ fromJson(inputs.client_payload).change.number }}"
patch_set="${{ fromJson(inputs.client_payload).patchSet.number }}"

echo "Gerrit: <https://review.spdk.io/c/spdk/spdk/+/$change_num/$patch_set>" >> $GITHUB_STEP_SUMMARY
Copy link
Contributor

Choose a reason for hiding this comment

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

This line will just duplicate "Gerrit: ..." entry in Github summary. You probably did not intended to add it here.

@karlatec
Copy link
Contributor

Previously we've had a status page outlining builds in progress.

I can take that on, and I already have an initial version on my fork, but no promises on ETA as I'm busy with other topics at the moment.

report-start-ci:
runs-on: ubuntu-latest
steps:
- name: Report start of ci
Copy link
Contributor

Choose a reason for hiding this comment

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

So this step is now basically a copy of Report results from summary.yml workflow. Perhaps making this an action item (like checkout_gerrit for example) would make it easier to re-use?

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.

3 participants