-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
I get this error a lot on my build server:
error: git '--git-dir=/var/lib/jenkins/.elm-install/github.com/elm-lang/html/.git' '--work-tree=/var/lib/jenkins/.elm-install/github.com/elm-lang/html' checkout '1.0.0' 2>&1:fatal: Unable to create '/var/lib/jenkins/.elm-install/github.com/elm-lang/html/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.. Use --trace to view backtrace
The problem is easy enough to work around by either:
- Making parallel builds run sequentially
- Containerizing every build to ensure they do not interfere with each other.
So perhpas it is unfair to rase this as an issue against elm-github-install?
But it would be nice if it were possible to have a centralized cache under ~/.elm-install and for parallel builds to be able to run.
Reactions are currently unavailable