changing gdk.yml causes an error on first gdk reconfigure

Overview

Make any change to gdk.yml and run gdk reconfigure

The first attempt will error. The second attempt will work

Tried with enabling zoekt and elasticsearch by @Alexand

Error
~/projects/gitlab-development-kit/gitlab on  384726-add-disable-zoekt-flag [$] via  v16.15.0 via 🐍 v3.9.15 via 💎 v3.0.5 on ☁️  tchu@gitlab.com(us-east1) at 
➜ gdk reconfigure
-------------------------------------------------------------------------------------------------------------
@@ -23,7 +23,7 @@ gitlab_operator_enabled = false
 gitlab_operator_repo = https://gitlab.com/gitlab-org/cloud-native/gitlab-operator.git
 gitlab_elasticsearch_indexer_enabled = true
 gitlab_elasticsearch_indexer_repo = https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer.git
-zoekt_enabled = false
+zoekt_enabled = true
 zoekt_repo = https://github.com/sourcegraph/zoekt.git
 zoekt_version = b65e3e6bceef2587a8a9ecaa4515c886dfbc8837
 gitlab_metrics_exporter_enabled = true

-------------------------------------------------------------------------------------------------------------
WARNING: 'gdk-config.mk' has been overwritten. To recover the previous version, run:
Makefile:26: 'gdk-config.mk': No such file or directory
Makefile:26: has: No such file or directory
Makefile:26: incoming: No such file or directory
Makefile:26: changes:: No such file or directory
Makefile:26: cp: No such file or directory
Makefile:26: -f: No such file or directory
Makefile:26: '/Users/terrichu/projects/gitlab-development-kit/.backups/gdk-config.mk.20230331114230': No such file or directory
Makefile:26:  '/Users/terrichu/projects/gitlab-development-kit/gdk-config.mk': No such file or directory
Makefile:26: If: No such file or directory
Makefile:26: you: No such file or directory
Makefile:26: want: No such file or directory
Makefile:26: to: No such file or directory
Makefile:26: protect: No such file or directory
Makefile:26: this: No such file or directory
Makefile:26: file: No such file or directory
Makefile:26: from: No such file or directory
Makefile:26: being: No such file or directory
Makefile:26: overwritten,: No such file or directory
Makefile:26: see:: No such file or directory
Makefile:26: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/configuration.md#overwriting-configuration-files: No such file or directory
Makefile:26: -------------------------------------------------------------------------------------------------------------: No such file or directory
make: *** No rule to make target `-------------------------------------------------------------------------------------------------------------'.  Stop.
❌️ 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/index.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.
-------------------------------------------------------

Impacted categories

The following categories relate to this issue:

Steps to replicate (optional)

Proposal (optional)

Environment (optional)

  • Operating system name: <!-- output of `uname -a` command -->
  • Architecture: <!-- output of `arch` command -->
  • The contents of your gdk.yml (if any)
  • Ruby version: <!-- output of `ruby --version` command -->
  • GDK version: <!-- output of `git rev-parse --short HEAD` command -->