8000 Notify nightly build status by hmeriann · Pull Request #17108 · duckdb/duckdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Notify nightly build status #17108

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

Merged
merged 3 commits into from
Apr 16, 2025
Merged

Conversation

hmeriann
Copy link
Contributor

The idea is to trigger the NightlyBuildsStatus.yml in the end of the InvokeCI.yml run.
There is a NotifyExternalRepositories.yml workflow for triggering workflow run on the external repos - we just need to pass there all the inputs needed by NightlyBuildsStatus.yml run (branch name, event name, should the status report be published or not).

The NotifyExternalRepositories.yml triggers two workflows: duckdb-odbc/.github/workflows/Vendor.yml and duckdb-build-status/.github/workflows/NightlyBuildsCheck.yml workflows.
Vendor.yml should be triggered only when all builds had succeeded.
NightlyBuildsStatus.yml should run in any case.

So we need to add one more job to InvokeCI.yml to create is-success status, which is true only when all builds had succeeded. Then is-success status should be passed to the NotifyExternalRepositories.yml and its value should be checked before the Vendor.yml workflow run is called. We should add always() condition to the "notifying" jobs if: conditions - that makes them not get skipped in case there a builds not succeeded (tested here).

Copy link
Contributor
@maiadegraaf maiadegraaf left a comment

Choose a reason for hiding this comment

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

Lgtm :))

Copy link
Contributor
@carlopi carlopi left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM.

It might be considered to merge notify-specific-branch-on-external-repos and notify-main-on-external-repos by passing the branch name down to NotifyExternalRepositories.yml, so that logic is centralized.

But good as is.

@Mytherin Mytherin merged commit ec2173c into duckdb:main Apr 16, 2025
2 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0