scality / runner-manager

Service to manage github Actions self-hosted runners
https://scality.github.io/runner-manager/
Apache License 2.0
7 stars 9 forks source link

PTFE-1418 | PTFE-1320 start sanity check before job execution #534

Closed tcarmet closed 7 months ago

tcarmet commented 8 months ago

Make use of hooks to be executed on the runner before and after a job starts.

An extra step will appear in the job logs, displaying the logs of the hook while being executed.

Screenshot 2024-02-09 at 4 08 21 PM
codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a79732f) 85.69% compared to head (73bac7f) 85.69%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #534 +/- ## ======================================= Coverage 85.69% 85.69% ======================================= Files 31 31 Lines 1188 1188 ======================================= Hits 1018 1018 Misses 170 170 ``` | [Flag](https://app.codecov.io/gh/scality/runner-manager/pull/534/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scality) | Coverage Δ | | |---|---|---| | [api](https://app.codecov.io/gh/scality/runner-manager/pull/534/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scality) | `68.26% <ø> (ø)` | | | [unit](https://app.codecov.io/gh/scality/runner-manager/pull/534/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scality) | `70.37% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scality#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.