This commit is contained in:
34
.drone.yml
34
.drone.yml
@@ -1,3 +1,4 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: build
|
||||
@@ -13,27 +14,16 @@ clone:
|
||||
image_pull_secrets:
|
||||
- dockerconfig
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
host:
|
||||
path: /mnt/kub.drone
|
||||
- name: gocache
|
||||
host:
|
||||
path: /mnt/kub.drone/${DRONE_REPO}/gocache
|
||||
- name: golangcilintcache
|
||||
host:
|
||||
path: /mnt/kub.drone/${DRONE_REPO}/golangcilintcache
|
||||
|
||||
steps:
|
||||
|
||||
- name: prepare cache
|
||||
image: harbor.1sept.ru/docker/library/busybox
|
||||
commands:
|
||||
- mkdir -p /cache/${DRONE_REPO}/gocache
|
||||
- mkdir -p /cache/${DRONE_REPO}/golangcilintcache
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /cache
|
||||
# - name: prepare cache
|
||||
# image: harbor.1sept.ru/docker/library/busybox
|
||||
# commands:
|
||||
# - mkdir -p /cache/${DRONE_REPO}/gocache
|
||||
# - mkdir -p /cache/${DRONE_REPO}/golangcilintcache
|
||||
# volumes:
|
||||
# - name: cache
|
||||
# path: /cache
|
||||
|
||||
# - name: test
|
||||
# image: golangci/golangci-lint:v1.48.0
|
||||
@@ -70,7 +60,7 @@ steps:
|
||||
settings:
|
||||
registry: harbor.1sept.ru
|
||||
repo: drone/drone-helm3
|
||||
cache: true
|
||||
cache: false
|
||||
tags:
|
||||
- git-${DRONE_COMMIT_SHA:0:7}
|
||||
- latest
|
||||
@@ -81,4 +71,6 @@ steps:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 8c043d2aed9907a66298975c2f297a995d45a12155e519468f3a5303f23f2f33
|
||||
hmac: 509505a505aecba408c446b561d685ec27e564b21c51297e9bbf68cb97c776cb
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user