`gdk reconfigure` fails on Gitpod for `main` tag
Overview
stable
tag, which is what is used by default for all users.
As part of testing a new GitPod GDK image, running gdk reconfigure
fails with:
gitpod /workspace/gitlab-development-kit (main) $ gdk reconfigure
--------------------------------------------------------------------------------
Ensuring all required versions of bundler are installed
--------------------------------------------------------------------------------
make[1]: Entering directory '/workspace/gitlab-development-kit'
make[1]: Leaving directory '/workspace/gitlab-development-kit'
fatal: destination path 'gitlab' already exists and is not an empty directory.
fatal: destination path 'gitlab' already exists and is not an empty directory.
fatal: destination path 'gitlab' already exists and is not an empty directory.
rake aborted!
Errno::EEXIST: File exists @ dir_s_mkdir - gitlab/config
/workspace/gitlab-development-kit/lib/gdk/erb_renderer.rb:52:in `safe_render!'
/workspace/gitlab-development-kit/lib/tasks/config.rake:127:in `block in <top (required)>'
Tasks: TOP => gitlab/config/gitlab.yml
(See full trace by running task with --trace)
make: *** [support/makefiles/Makefile.gitlab.mk:63: gitlab/config/gitlab.yml] Error 1
❌️ 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.
-------------------------------------------------------
Edited by Ash McKenzie