re-test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-01-04 14:55:18 +11:00
parent 5ded1b3696
commit 53e48a50ac
2 changed files with 24 additions and 15 deletions

View File

@@ -24,17 +24,23 @@ steps:
backend: "filesystem"
#debug: true
restore: true
cache_key: "volume"
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
archive_format: "gzip"
filesystem_cache_root: "/tmp/cache"
#mount:
# - 'vendor'
#filesystem_cache_root: "/tmp/cache"
local_root: /
mount:
- pkg.mod
- pkg.build
volumes:
- name: cache
path: /tmp/cache
- name: shared
path: /go
- name: build
image: golang
environment:
CGO_ENABLED: 0
GOMODCACHE: '/drone/src/pkg.mod'
GOCACHE: '/drone/src/pkg.build'
volumes:
- name: shared
path: /shared
@@ -49,14 +55,15 @@ steps:
backend: "filesystem"
#debug: true
rebuild: true
cache_key: "volume"
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
archive_format: "gzip"
filesystem_cache_root: "/tmp/cache"
#mount:
# - 'vendor'
#filesystem_cache_root: "/tmp/cache"
mount:
- pkg.mod
- pkg.build
volumes:
- name: cache
path: /tmp/cache
path: /go
# Copy binary to test server
- name: coadcorp-deploy