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

Bug 1944522 - Add HTTP Body option in Harbormaster HTTP Build step #49

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

La0
Copy link

@La0 La0 commented Jan 31, 2025

This is a followup of #46 to support an optional HTTP Body in the Harbormaster HTTP Build step.

Using this PR, I'm able to trigger a Taskcluster hook without any change on Taskcluster.

Here is the build step configuration I'm using:
Screenshot 2025-01-31 at 08-53-59 ♻ Make HTTP Request

Using the JSON Content-Type header with a JSON payload, I can provide the Harbormaster build target and other variables using the same mergeVariables as for URI formatting.

There is no parsing nor validation whatsoever, it is the responsibility of the Build Step author to write a valid payload.

On Taskcluster:

@La0
Copy link
Author

La0 commented Feb 4, 2025

@dklawren Could you take a look at this followup please ?

@dklawren dklawren self-requested a review February 4, 2025 16:31
@dklawren
Copy link
Collaborator

dklawren commented Feb 4, 2025

Sorry I missed this before. I will take a look at it now.

Copy link
Collaborator

@dklawren dklawren left a comment

Choose a reason for hiding this comment

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

LGTM and works as expected

@dklawren dklawren merged commit 9bb9a12 into mozilla-conduit:master Feb 4, 2025
1 check passed
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