Use workdir for before_script

parent c242e70c
Pipeline #97594000 failed with stages
in 94 minutes and 24 seconds
......@@ -17,6 +17,7 @@ variables:
before_script:
# install dependencies
- mkdir work; cd work
- apk update && apk add curl git python2 docker bash bash-completion httpie jq xz squashfs-tools py2-pip groff
- pip install awscli
# install repo
......@@ -27,6 +28,7 @@ before_script:
- cp scripts/pvr/pvr /usr/bin/pvr
- pvr global-config DistributionTag=develop
- pvr self-upgrade
- cd ..; rm -rf work
upgrade:
stage: upgrade
......
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