ci: adds create-torrent step
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Marvin Steadfast 2021-06-16 14:37:07 +02:00
parent 9823c97d56
commit dc9688d53d

View File

@ -11,6 +11,7 @@ steps:
- name: lint - name: lint
image: golangci/golangci-lint:v1.39.0 image: golangci/golangci-lint:v1.39.0
commands: commands:
- make install-tools
- make lint - make lint
depends_on: depends_on:
- tags - tags
@ -48,7 +49,7 @@ steps:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
commands: commands:
- (cd /tmp; go install github.com/goreleaser/goreleaser@v0.169.0) - (cd /tmp; go install -v github.com/goreleaser/goreleaser@v0.169.0)
- make test-integration - make test-integration
depends_on: depends_on:
- test - test
@ -56,6 +57,19 @@ steps:
- qemu-alpine - qemu-alpine
- create-image - create-image
- name: create-torrent
image: golang:1.16-alpine
volumes:
- name: swap
path: /SWAP
commands:
- (cd /tmp; go get -v github.com/cenkalti/rain@v1.6.4)
- cd /SWAP
- zip 2021-05-07-raspios-buster-armhf-lite.zip 2021-05-07-raspios-buster-armhf-lite.img
- rain torrent create -o schnutibox.torrent -f 2021-05-07-raspios-buster-armhf-lite.zip
depends_on:
- prepare-image
- name: build - name: build
image: goreleaser/goreleaser:v0.169.0 image: goreleaser/goreleaser:v0.169.0
commands: commands: