ci: uses no caching plugin
This commit is contained in:
parent
a1fed7f742
commit
c498789617
@ -1,37 +1,22 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
restore-cache:
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
settings:
|
|
||||||
backend: filesystem
|
|
||||||
restore: true
|
|
||||||
cache_key: volume
|
|
||||||
archive_format: gzip
|
|
||||||
mount:
|
|
||||||
- /usr
|
|
||||||
volumes:
|
|
||||||
- /tmp/drone-cache:/tmp/cache
|
|
||||||
install-deps:
|
|
||||||
image: golang:1.17-alpine-alpine
|
|
||||||
commands:
|
|
||||||
- apk add --no-cache build-base git
|
|
||||||
tags:
|
tags:
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
lint:
|
lint:
|
||||||
image: golang:1.17-alpine
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
- make lint
|
- make lint
|
||||||
test:
|
test:
|
||||||
image: golang:1.17-alpine
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
- make test
|
- make test
|
||||||
build:
|
build:
|
||||||
image: golang:1.17-alpine
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
- make build
|
- make build
|
||||||
release:
|
release:
|
||||||
image: golang:1.17-alpine
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
- make release
|
- make release
|
||||||
secrets:
|
secrets:
|
||||||
@ -39,14 +24,3 @@ pipeline:
|
|||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
rebuild-cache:
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
settings:
|
|
||||||
backend: filesystem
|
|
||||||
rebuild: true
|
|
||||||
cache_key: volume
|
|
||||||
archive_format: gzip
|
|
||||||
mount:
|
|
||||||
- /usr
|
|
||||||
volumes:
|
|
||||||
- /tmp/drone-cache:/tmp/cache
|
|
||||||
|
Loading…
Reference in New Issue
Block a user