Skip to content

Move files and directories if exist

Nao Hashizume requested to merge 1635-fix-copy-items-from-bootstrap into main

What does this merge request do and why?

This MR updates the remote-development-gdk-bootstrap.sh script so it won't fail if files or directories are missing for the mv command. It also removes the minio directory to be copied since it no longer exists in the Docker image.

Moving bootstrapped GDK item: log
Moving bootstrapped GDK item: minio
mv: cannot stat '/workspace/gitlab-development-kit/minio': No such file or directory
remote@workspace-73241-11762197-t1ftxc-fb6dd79d6-vltj6:/projects/gitlab-development-kit$ 

Related to #1986 (closed)

How to set up and validate locally

  1. Open new workspace
  2. Run 1635-fix-copy-items-from-bootstrap
  3. Run support/gitlab-remote-development/remote-development-gdk-bootstrap.sh

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Nao Hashizume

Merge request reports

Loading