Use URL env variable

parent a8222817
Pipeline #97591937 failed with stages
in 2 minutes and 46 seconds
......@@ -22,7 +22,7 @@ before_script:
# install repo
- curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo
- chmod a+x /usr/bin/repo
- repo init -u https://gitlab.com/pantacor/pv-manifest; repo sync scripts
- repo init -u $CI_PROJECT_URL; repo sync scripts
# install and update pvr
- cp scripts/pvr/pvr /usr/bin/pvr
- pvr global-config DistributionTag=develop
......@@ -86,7 +86,8 @@ deployment:
DEPLOY: ""
script:
# download source code
- mkdir work; cd work; repo init -u $CI_PROJECT_URL -m release.xml; cp ../release.xml .repo/manifests/release.xml
- mkdir work; cd work;
- 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
- TOKEN=`http --ignore-stdin POST https://api.pantahub.com/auth/login username=$PHUSER password=$PHPASS | jq -r .token`
......
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