Commit e2e36426 authored by Alexander (asac) Sack's avatar Alexander (asac) Sack

Update .gitlab-ci.yml; fix path for /srv/mirror/repo-mirror

parent c0440c02
Pipeline #105057908 canceled with stages
in 2 minutes and 16 seconds
......@@ -20,7 +20,7 @@ upgrade:
script:
# download source code
- mkdir work; cd work
- REPO_MIRROR=; if [ -e "/repo-mirror" ]; then REPO_MIRROR="--reference=/repo-mirror"; fi
- REPO_MIRROR=; if [ -e "/srv/mirror/repo-mirror" ]; then REPO_MIRROR="--reference=/srv/mirror/repo-mirror"; fi
- repo init $REPO_MIRROR -u $CI_PROJECT_URL
- until repo sync -j10; do echo "Sync failed, retrying..."; done
# download manifest project
......@@ -87,7 +87,7 @@ deployment:
- if [ "$CI_COMMIT_REF_NAME" != "master" ] && [ -z "$CI_COMMIT_TAG" ]; then DEPLOY="false"; fi
# download source code
- mkdir work; cd work;
- REPO_MIRROR=; if [ -e "/repo-mirror" ]; then REPO_MIRROR="--reference=/repo-mirror"; fi
- REPO_MIRROR=; if [ -e "/srv/mirror/repo-mirror" ]; then REPO_MIRROR="--reference=/srv/mirror/repo-mirror"; fi
- repo init -u $CI_PROJECT_URL -m release.xml; cp ../release.xml .repo/manifests/release.xml
- until repo sync -j10; do echo "Sync failed, retrying..."; done
# download device from pantahub
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment