diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e59d4fe..b21c7bb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,9 +8,6 @@ stages: - rootfs - torrent -before_script: - - apk add --no-cache ansible mktorrent - prepare: variables: ZIPFILE: packer_${PACKER_VERSION}_linux_amd64.zip @@ -30,6 +27,8 @@ packer: stage: rootfs services: - docker:dind + before_script: + - apk add --no-cache ansible script: - bin/packer build packer.json - gzip -k -f rootfs.tar @@ -52,6 +51,8 @@ mktorrent: variables: ANNOUNCE: udp://tracker.sbruder.de:6969/announce WEBSEED: http://10.2.2.1:8081/rootfs.tar.gz + before_script: + - apk add --no-cache mktorrent script: - mktorrent -a "$ANNOUNCE" -o rootfs.torrent -l 22 -w "$WEBSEED" rootfs.tar.gz artifacts: