add comments to before_script

parent 62203d67
Pipeline #97586812 failed with stages
in 2 minutes and 36 seconds
......@@ -16,11 +16,14 @@ variables:
FORCE_UNSAFE_CONFIGURE: 1
before_script:
# install dependencies
- apk update && apk add curl git python2 docker bash bash-completion httpie jq xz squashfs-tools py2-pip groff
- pip install awscli
# 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
# install and update pvr
- cp scripts/pvr/pvr /usr/bin/pvr
- pvr global-config DistributionTag=develop
- pvr self-upgrade
......@@ -83,8 +86,7 @@ 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