Created
October 24, 2024 17:58
-
-
Save joefreewave/ed88dc587eb583c0412bcee87405bcf5 to your computer and use it in GitHub Desktop.
delete/uninstall gitlab runner from ubuntu 22.04
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 characters
# delete/uninstall gitlab runner from ubuntu 22.04 | |
# Stop and remove the service | |
sudo gitlab-runner stop | |
sudo gitlab-runner uninstall | |
sudo systemctl daemon-reload | |
# Remove gitlab-runner files and config | |
sudo rm -rf /usr/local/bin/gitlab-runner | |
sudo userdel gitlab-runner | |
sudo rm -rf /home/gitlab-runner/ |
Thanks for this tip :)
Awesome! Many thanks!
I started with a .deb
install on Ubuntu, but now I'm moving to the gitlab-runner docker container.
I think this might be missing sudo rm -rf /etc/gitlab-runner
at least it was needed on my uninstall
Thanks for this information!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, purge the package otherwise updates might fail:
sudo apt purge gitlab-runner