Fatal error when compiling gitlab-workhorse
Overview
When trying to create a new Gitpod workspace for master
, we get the following error message:
Compiling gitlab/workhorse/gitlab-workhorse
--------------------------------------------------------------------------------
fatal: No tags can describe '353d55dc7c628e77abfb8368b8496e7af922625c'.
Try --always, or create some tags.
No preset version installed for command go
Please install a version by running one of the following:
asdf install golang 1.16.10
or add one of the following versions in your config file at /workspace/gitlab/workhorse/.tool-versions
golang 1.17.2
golang 1.16.9
make[1]: *** [Makefile:42: gitlab-resize-image] Error 126
make: *** [support/makefiles/Makefile.gitlab-workhorse.mk:25: gitlab/workhorse/gitlab-workhorse] Error 2
❌️ ERROR: Failed to reconfigure.
-------------------------------------------------------
You can try the following that may be of assistance:
- Run 'gdk doctor'.
- Visit the troubleshooting documentation:
https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/troubleshooting.md.
- Visit https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues to
see if there are known issues.
- Run 'gdk reset-data' if appropriate.
- Run 'gdk pristine' which will restore your GDK to a pristine state.
-------------------------------------------------------
gitpod /workspace/gitlab (master) $ asdf install golang
golang 1.17.2 is already installed
golang 1.16.9 is already installed
gitpod /workspace/gitlab (master) $
Steps to replicate (optional)
Go to https://gitpod.io/#https://gitlab.com/gitlab-org/gitlab/-/tree/master/.