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

Adding support for Additional Hooks Paths #3124

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

Conversation

CerealBoy
Copy link
Contributor

Description

We would like to provide the ability to place hooks in multiple locations, meaning there can be multiple hooks of the same type, and they can be provided under different circumstances. These additional hooks are comma separated list, and ordered as they are provided in terms of how multiple hooks are executed. Those in hooks-path are always first, and then sequentially through additional-hooks-paths.

Changes

  • Adding BUILDKITE_ADDITIONAL_HOOKS_PATHS configuration option
  • Find and run any hooks found after hooks-path

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go fmt ./...)

@DrJosh9000 DrJosh9000 self-requested a review December 16, 2024 02:32
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.

1 participant