Skip to content

Conversation

@johnsudol
Copy link
Contributor

Background
Currently when force removing the runner from the ui, the runner config files need to be manually removed to ensure the runner is no longer configured locally. Or the runner can be removed by using a removal token with ./config remove

Changes
Added a new option, --local, when using ./config.sh remove. This will remove the local runner files from the system without deregistering the runner from the server.

Closes #2061

Example:

 /workspaces/runner/_layout $ ./config.sh remove --local
√ Removed .credentials
√ Removed .runner

@johnsudol johnsudol self-assigned this Jan 11, 2023
@johnsudol johnsudol marked this pull request as ready for review January 12, 2023 21:53
@johnsudol johnsudol requested a review from a team as a code owner January 12, 2023 21:53
@TingluoHuang TingluoHuang merged commit d6f8633 into main Jan 18, 2023
@TingluoHuang TingluoHuang deleted the johnsudol/add-option-to-remove-config branch January 18, 2023 16:28
nikola-jokic pushed a commit to nikola-jokic/runner that referenced this pull request May 12, 2023
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.

Make "remove" work with --unattended: Removes all config for ephemeral and regular runners

3 participants