Move files and directories if exist
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
- Open new workspace
- Run
1635-fix-copy-items-from-bootstrap
- Run
support/gitlab-remote-development/remote-development-gdk-bootstrap.sh
Impacted categories
The following categories relate to this merge request:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
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 theCHANGELOG.md
.
Edited by Nao Hashizume