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

Depend on Phabricator build target ID in trigger mode #2611

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

La0
Copy link
Collaborator

@La0 La0 commented Feb 6, 2025

This PR is needed to support the new payload that will be sent by Phabricatior's Harbormaster build step using mozilla-conduit/phabricator#49

This simplifies a lot the Revision setup as we will directly use a Phabricator build target directly linked to a Diff & Revision. So there is no need to "guess" the diff from transactions and fallback to the last diff.

@La0 La0 self-assigned this Feb 6, 2025
@La0 La0 marked this pull request as ready for review February 6, 2025 15:01
@La0 La0 added the bot Code review bot label Feb 6, 2025
@La0 La0 requested review from Archaeopteryx and marco-c February 6, 2025 15:03
@La0
Copy link
Collaborator Author

La0 commented Feb 7, 2025

The testing hook has been updated to expose the environment variable PHABRICATOR_BUILD_TARGET when triggered with a hook token and a valid JSON payload.

@Archaeopteryx Could you review this PR ?
FYI here is a manually triggered task on the hook.

@Archaeopteryx Archaeopteryx merged commit bab9819 into mozilla:master Feb 11, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot Code review bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants