Use pantavisor-builder

parent 56592bfa
Pipeline #99611017 passed with stage
in 9 minutes and 18 seconds
......@@ -4,7 +4,7 @@ stages:
- build
- deployment
image: docker:dind
image: registry.gitlab.com/pantacor/ci/pantavisor-builder:AMD64
services:
- docker:dind
......@@ -15,21 +15,6 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive
FORCE_UNSAFE_CONFIGURE: 1
before_script:
# install dependencies
- mkdir work-deps; cd work-deps
- 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 $CI_PROJECT_URL; repo sync scripts
# install and update pvr
- cp scripts/pvr/pvr /usr/bin/pvr
- pvr global-config DistributionTag=develop
- pvr self-upgrade
- cd ..; rm -rf work-deps
upgrade:
stage: upgrade
script:
......
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