Test volume mount
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
23f8755c95
commit
1d9e4c71d3
10
.drone.yml
10
.drone.yml
@ -4,10 +4,13 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: golang:1.16.3
|
||||
image: golang:1.17.2
|
||||
commands:
|
||||
- go test -v
|
||||
- go build
|
||||
volumes:
|
||||
- name: go-pkg
|
||||
path: /go/pkg
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000
|
||||
@ -29,3 +32,8 @@ steps:
|
||||
from_secret: harbor_username
|
||||
password:
|
||||
from_secret: harbor_password
|
||||
|
||||
volumes:
|
||||
- name: shared
|
||||
claim:
|
||||
name: go-pkg
|
||||
|
Loading…
Reference in New Issue
Block a user