Failed to uninstall gitlab-runner on macOS ([...] gitlab-runner.plist: no such file or directory)
Summary
I installed gitlab-runner
(I realized that [recently?] the name changed to gitlab-ci-multi-runner
) on my macOS computer. My initial configuration did not work, and I reckoned I probably just one to use a server in DigitalOcean instead of my computer. I try to uninstall with:
gitlab-runner uninstall
Steps to reproduce
- Run
gitlab-runner uninstall
Actual behavior
Receive the following error message:
FATAL: Failed to uninstall gitlab-runner: remove /Users/(...)/Library/LaunchAgents/gitlab-runner.plist: no such file or directory
Expected behavior
gitlab-runner
is uninstalled.
Environment description
Are you using shared Runners on GitLab.com? Or is it a custom installation? Which executors are used? Please also provide the versions of related tools like
docker info
if you are using the Docker executor.
My config.toml
looks like:
❯ cat config.toml concurrent = 1 check_interval = 0
[[runners]]
name = "Johnny's Work Computer"
url = "https://gitlab.com/ci"
token = "(...)"
executor = "docker"
[runners.docker]
tls_verify = false
image = "docker:latest"
privileged = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0
[runners.cache]
Used GitLab Runner version
Please run and paste the output of
gitlab-runner --version
. If you are using a Runner where you don't have access to, please paste at least the first lines the from build log, like:Running with gitlab-ci-multi-runner 1.4.2 (bcc1794) Using Docker executor with image golang:1.6 ...
❯ gitlab-runner --version
Version: 9.1.0
Git revision: 0118d89
Git branch: 9-1-stable
GO version: go1.7.5
Built: Fri, 21 Apr 2017 14:32:12 +0000
OS/Arch: darwin/amd64