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

[CI] Cleaning self-hosted runners #630

Open
KFilipek opened this issue Jul 23, 2024 · 0 comments
Open

[CI] Cleaning self-hosted runners #630

KFilipek opened this issue Jul 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@KFilipek
Copy link
Contributor

KFilipek commented Jul 23, 2024

[CI] Cleaning self-hosted runners

Rationale

There is a need to harden self-hosted runners. Typically there are a few ways to do that:

From my point of view, the first option is the easiest to adopt, just one shell script with passing as an input when running a runner.
ACTIONS_RUNNER_HOOK_JOB_STARTED=cleaning_script.sh ACTIONS_RUNNER_HOOK_JOB_COMPLETED=cleaning_script.sh ./run.sh

Description

API Changes

None, transparent from the workflow point of view.

Implementation details

Depending on the chosen approach, other implementation requirements will be mostly related to the infrastructure setup.

Meta

@KFilipek KFilipek added the enhancement New feature or request label Jul 23, 2024
@KFilipek KFilipek self-assigned this Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant