Skip to content

Hooks

Going over the entire list of issues, there are requests that would need extra logic from subtle changes to pretty wild out there ideas or edge cases that would be hard to implement and maintain.

With hooks the burden for customization is with the user. That way the focus here can be more on making sure the mechanics around basic GitLab interactions are solid.

Add hooks for customizing pipeline message (!469 - merged) introduced a mechanism that might work.


Here's a brain dump of what might be needed and what it might cover, locations and ordering might not be accurate, names are just ideas, and I'll keep updating as I find more issues, feel free to add stuff.

  1. startup
  2. run
    • every run iteration
    • more dynamic config based on some state/time of run etc
  3. post-collect
  4. pre-push
  5. embargo
  6. pre-merge
  7. post-merge (+ batch)
  8. shutdown
  9. ...
Edited by Nejc Habjan