Skip to content
Snippets Groups Projects
Commit 32ecfa6e authored by Frieder Schrempf's avatar Frieder Schrempf
Browse files

CI: inc: build.yml: Only mount mirrors if not already mounted/mapped

parent c6154995
No related branches found
No related tags found
No related merge requests found
Pipeline #25329 passed
......@@ -33,8 +33,11 @@ variables:
# mirrors is desired.
#
cache:
- sudo mkdir /mirrors
- sudo mount -t cifs -o username=${CI_SMB_USER},password=${CI_SMB_PWD},${CI_SMB_OPTS} //${KED_GITLAB_HOST_ADDR}/mirrors/develop /mirrors
- |
if ! test -d /mirrors; then
sudo mkdir /mirrors
sudo mount -t cifs -o username=${CI_SMB_USER},password=${CI_SMB_PWD},${CI_SMB_OPTS} //${KED_GITLAB_HOST_ADDR}/mirrors/develop /mirrors
fi
- mkdir -p build
- ln -s /mirrors/sources build/downloads
- ln -s /mirrors/sstate build/sstate-cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment