Last active
January 10, 2023 10:32
-
-
Save jbutko/dfcd4e8cbc14fa554d6fe5a9b6d3d8a6 to your computer and use it in GitHub Desktop.
Revisions
-
jbutko revised this gist
Jan 10, 2023 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,7 @@ ## Bash way: 1. SSH to your server 2. If you need to unregister: `sudo gitlab-runner unregister --url https://gitlab.com/ --token some-token-goes-here` 3. Register new runner: `sudo gitlab-runner register --url https://gitlab.com/ --registration-token some-token-goes-here` # Untagged jobs issue If jobs are stucked you need to enable runner to pick up untagged jobs - it's in `Settings -> CI/CD -> Edit runner -> "Run untagged jobs"` -
jbutko created this gist
Dec 1, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # Unregister runnning runner ## UI way: 1. Delete runner from UI dashboard: - open: https://gitlab.com/gallico/crypto-bot-server/-/settings/ci_cd - click on "Runners" section - click "Remove runner" button in "Available specific runners" section 2. run `sudo gitlab-runner verify --delete` command, dead runners will be deleted ## Bash way: 1. SSH to your server 2. If you need to unregister: `sudo gitlab-runner unregister --url https://gitlab.com/ --token some-token-goes-here` 3. Register new runner: `sudo gitlab-runner register --url https://gitlab.com/ --registration-token some-token-goes-here`