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