Commit 865fb191 authored by Alexander (asac) Sack's avatar Alexander (asac) Sack

Update .gitlab-ci.yml

parent 10938045
Pipeline #105856748 passed with stage
in 2 minutes and 35 seconds
......@@ -20,7 +20,7 @@ upgrade:
script:
# download source code
- mkdir work; cd work
- REPO_MIRROR=; if [ -e "/srv/mirror/repo-mirror/.repo" ]; then REPO_MIRROR="--reference=/srv/mirror/repo-mirror/.repo"; fi
- REPO_MIRROR=; if [ -e "/srv/mirror/repo-mirror/" ]; then REPO_MIRROR="--reference=/srv/mirror/repo-mirror/"; fi
- echo Using Mirror? "$REPO_MIRROR"; 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 "/srv/mirror/repo-mirror/.repo" ]; then REPO_MIRROR="--reference=/srv/mirror/repo-mirror/.repo"; fi;
- REPO_MIRROR=; if [ -e "/srv/mirror/repo-mirror/" ]; then REPO_MIRROR="--reference=/srv/mirror/repo-mirror/"; fi;
- echo Using Mirror? "$REPO_MIRROR"; repo init $REPO_MIRROR -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