exclude go cache folders from dell upload
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
36
.drone.yml
36
.drone.yml
@@ -48,23 +48,6 @@ steps:
|
|||||||
- cp /shared/index.html ./www/
|
- cp /shared/index.html ./www/
|
||||||
- sh ./.drone.sh
|
- sh ./.drone.sh
|
||||||
|
|
||||||
- name: rebuild-cache-with-filesystem
|
|
||||||
image: meltwater/drone-cache
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
backend: "filesystem"
|
|
||||||
#debug: true
|
|
||||||
rebuild: true
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ arch }}_{{ os }}'
|
|
||||||
archive_format: "tar"
|
|
||||||
filesystem_cache_root: "/go"
|
|
||||||
mount:
|
|
||||||
- pkg.mod
|
|
||||||
- pkg.build
|
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /go
|
|
||||||
|
|
||||||
# Copy binary to test server
|
# Copy binary to test server
|
||||||
- name: coadcorp-deploy
|
- name: coadcorp-deploy
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
@@ -112,7 +95,24 @@ steps:
|
|||||||
PLUGIN_CHMOD: false
|
PLUGIN_CHMOD: false
|
||||||
#PLUGIN_DEBUG: false
|
#PLUGIN_DEBUG: false
|
||||||
PLUGIN_INCLUDE: ^smt$,^smt_checksum.txt$
|
PLUGIN_INCLUDE: ^smt$,^smt_checksum.txt$
|
||||||
PLUGIN_EXCLUDE: ^\.git/$,^\controllers/$,^\middlewares/$,^\models/$,^\utils/$
|
PLUGIN_EXCLUDE: ^\.git/$,^\controllers/$,^\middlewares/$,^\models/$,^\utils/$,^\pkg.build/$,^\pkg.mod/$,^\www/$
|
||||||
|
|
||||||
|
- name: rebuild-cache-with-filesystem
|
||||||
|
image: meltwater/drone-cache
|
||||||
|
pull: true
|
||||||
|
settings:
|
||||||
|
backend: "filesystem"
|
||||||
|
#debug: true
|
||||||
|
rebuild: true
|
||||||
|
cache_key: '{{ .Repo.Name }}_{{ arch }}_{{ os }}'
|
||||||
|
archive_format: "tar"
|
||||||
|
filesystem_cache_root: "/go"
|
||||||
|
mount:
|
||||||
|
- pkg.mod
|
||||||
|
- pkg.build
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /go
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: shared
|
- name: shared
|
||||||
|
Reference in New Issue
Block a user