disable volume cache
This commit is contained in:
parent
93ca2eb2e8
commit
c8d33d5856
371
.drone.yml
371
.drone.yml
|
@ -6,22 +6,6 @@ trigger:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
- refs/pull/*/head
|
- refs/pull/*/head
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: always
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-vet
|
- name: test-vet
|
||||||
image: golang:1.15
|
image: golang:1.15
|
||||||
environment:
|
environment:
|
||||||
|
@ -33,29 +17,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- make vet
|
- make vet
|
||||||
- make fmt-check
|
- make fmt-check
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -69,22 +30,6 @@ trigger:
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
image: meltwater/drone-cache:dev
|
|
||||||
pull: always
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-sqlite3
|
- name: test-sqlite3
|
||||||
image: golang:1.15
|
image: golang:1.15
|
||||||
environment:
|
environment:
|
||||||
|
@ -94,6 +39,7 @@ steps:
|
||||||
GOMODCACHE: '/drone/src/pkg.mod'
|
GOMODCACHE: '/drone/src/pkg.mod'
|
||||||
GOCACHE: '/drone/src/pkg.build'
|
GOCACHE: '/drone/src/pkg.build'
|
||||||
commands:
|
commands:
|
||||||
|
- make test
|
||||||
- make test-sqlite3
|
- make test-sqlite3
|
||||||
- TEST_CACHE_ENABLE=true make test-sqlite3
|
- TEST_CACHE_ENABLE=true make test-sqlite3
|
||||||
- TEST_QUOTE_POLICY=reserved make test-sqlite3
|
- TEST_QUOTE_POLICY=reserved make test-sqlite3
|
||||||
|
@ -117,26 +63,6 @@ steps:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /go
|
path: /go
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: meltwater/drone-cache:dev
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: test-mysql
|
name: test-mysql
|
||||||
|
@ -149,22 +75,6 @@ trigger:
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: always
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-mysql
|
- name: test-mysql
|
||||||
image: golang:1.15
|
image: golang:1.15
|
||||||
environment:
|
environment:
|
||||||
|
@ -179,13 +89,7 @@ steps:
|
||||||
TEST_MYSQL_USERNAME: root
|
TEST_MYSQL_USERNAME: root
|
||||||
TEST_MYSQL_PASSWORD:
|
TEST_MYSQL_PASSWORD:
|
||||||
commands:
|
commands:
|
||||||
- make test
|
|
||||||
- make test-mysql
|
|
||||||
- TEST_CACHE_ENABLE=true make test-mysql
|
- TEST_CACHE_ENABLE=true make test-mysql
|
||||||
- TEST_QUOTE_POLICY=reserved make test-mysql
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-mysql-utf8mb4
|
- name: test-mysql-utf8mb4
|
||||||
image: golang:1.15
|
image: golang:1.15
|
||||||
|
@ -204,34 +108,7 @@ steps:
|
||||||
TEST_MYSQL_PASSWORD:
|
TEST_MYSQL_PASSWORD:
|
||||||
commands:
|
commands:
|
||||||
- make test-mysql
|
- make test-mysql
|
||||||
- TEST_CACHE_ENABLE=true make test-mysql
|
|
||||||
- TEST_QUOTE_POLICY=reserved make test-mysql
|
- TEST_QUOTE_POLICY=reserved make test-mysql
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
depends_on:
|
|
||||||
- test-mysql
|
|
||||||
- test-mysql-utf8mb4
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: mysql
|
- name: mysql
|
||||||
|
@ -254,22 +131,6 @@ trigger:
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: always
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-mysql8
|
- name: test-mysql8
|
||||||
image: golang:1.15
|
image: golang:1.15
|
||||||
environment:
|
environment:
|
||||||
|
@ -287,31 +148,6 @@ steps:
|
||||||
- make test-mysql
|
- make test-mysql
|
||||||
- TEST_CACHE_ENABLE=true make test-mysql
|
- TEST_CACHE_ENABLE=true make test-mysql
|
||||||
- TEST_QUOTE_POLICY=reserved make test-mysql
|
- TEST_QUOTE_POLICY=reserved make test-mysql
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: meltwater/drone-cache:dev
|
|
||||||
pull: true
|
|
||||||
depends_on:
|
|
||||||
- test-mysql8
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: mysql8
|
- name: mysql8
|
||||||
|
@ -333,22 +169,6 @@ trigger:
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: always
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-mariadb
|
- name: test-mariadb
|
||||||
image: golang:1.15
|
image: golang:1.15
|
||||||
environment:
|
environment:
|
||||||
|
@ -366,31 +186,6 @@ steps:
|
||||||
- make test-mysql
|
- make test-mysql
|
||||||
- TEST_CACHE_ENABLE=true make test-mysql
|
- TEST_CACHE_ENABLE=true make test-mysql
|
||||||
- TEST_QUOTE_POLICY=reserved make test-mysql
|
- TEST_QUOTE_POLICY=reserved make test-mysql
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: meltwater/drone-cache:dev
|
|
||||||
depends_on:
|
|
||||||
- test-mariadb
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: mariadb
|
- name: mariadb
|
||||||
|
@ -412,22 +207,6 @@ trigger:
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: always
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-postgres
|
- name: test-postgres
|
||||||
pull: default
|
pull: default
|
||||||
image: golang:1.15
|
image: golang:1.15
|
||||||
|
@ -444,10 +223,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- make test-postgres
|
- make test-postgres
|
||||||
- TEST_CACHE_ENABLE=true make test-postgres
|
- TEST_CACHE_ENABLE=true make test-postgres
|
||||||
- TEST_QUOTE_POLICY=reserved make test-postgres
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-postgres-schema
|
- name: test-postgres-schema
|
||||||
pull: default
|
pull: default
|
||||||
|
@ -466,34 +241,7 @@ steps:
|
||||||
TEST_PGSQL_USERNAME: postgres
|
TEST_PGSQL_USERNAME: postgres
|
||||||
TEST_PGSQL_PASSWORD: postgres
|
TEST_PGSQL_PASSWORD: postgres
|
||||||
commands:
|
commands:
|
||||||
- make test-postgres
|
|
||||||
- TEST_CACHE_ENABLE=true make test-postgres
|
|
||||||
- TEST_QUOTE_POLICY=reserved make test-postgres
|
- TEST_QUOTE_POLICY=reserved make test-postgres
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: meltwater/drone-cache:dev
|
|
||||||
pull: true
|
|
||||||
depends_on:
|
|
||||||
- test-postgres-schema
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: pgsql
|
- name: pgsql
|
||||||
|
@ -516,21 +264,6 @@ trigger:
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: always
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-mssql
|
- name: test-mssql
|
||||||
pull: default
|
pull: default
|
||||||
|
@ -550,30 +283,6 @@ steps:
|
||||||
- TEST_CACHE_ENABLE=true make test-mssql
|
- TEST_CACHE_ENABLE=true make test-mssql
|
||||||
- TEST_QUOTE_POLICY=reserved make test-mssql
|
- TEST_QUOTE_POLICY=reserved make test-mssql
|
||||||
- TEST_MSSQL_DEFAULT_VARCHAR=NVARCHAR TEST_MSSQL_DEFAULT_CHAR=NCHAR make test-mssql
|
- TEST_MSSQL_DEFAULT_VARCHAR=NVARCHAR TEST_MSSQL_DEFAULT_CHAR=NCHAR make test-mssql
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: meltwater/drone-cache:dev
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: mssql
|
- name: mssql
|
||||||
pull: default
|
pull: default
|
||||||
|
@ -595,22 +304,6 @@ trigger:
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: always
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-tidb
|
- name: test-tidb
|
||||||
pull: default
|
pull: default
|
||||||
image: golang:1.15
|
image: golang:1.15
|
||||||
|
@ -628,29 +321,6 @@ steps:
|
||||||
- make test-tidb
|
- make test-tidb
|
||||||
- TEST_CACHE_ENABLE=true make test-tidb
|
- TEST_CACHE_ENABLE=true make test-tidb
|
||||||
- TEST_QUOTE_POLICY=reserved make test-tidb
|
- TEST_QUOTE_POLICY=reserved make test-tidb
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: meltwater/drone-cache:dev
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: tidb
|
- name: tidb
|
||||||
|
@ -669,22 +339,6 @@ trigger:
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: always
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
restore: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: test-cockroach
|
- name: test-cockroach
|
||||||
pull: default
|
pull: default
|
||||||
image: golang:1.15
|
image: golang:1.15
|
||||||
|
@ -702,29 +356,6 @@ steps:
|
||||||
- sleep 10
|
- sleep 10
|
||||||
- make test-cockroach
|
- make test-cockroach
|
||||||
- TEST_CACHE_ENABLE=true make test-cockroach
|
- TEST_CACHE_ENABLE=true make test-cockroach
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: meltwater/drone-cache:dev
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "go.mod" }}_{{ checksum "go.sum" }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "gzip"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
temp: {}
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: cockroach
|
- name: cockroach
|
||||||
|
|
Loading…
Reference in New Issue