upd
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-26 21:20:53 +03:00
parent 5a95211c2f
commit 628f9d3ef6
2 changed files with 22 additions and 21 deletions

View File

@@ -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
...

9
Makefile Normal file
View File

@@ -0,0 +1,9 @@
help:
@echo "make check - Check Dockerfile syntax"
@echo "make drone-sign - Sign Drone config file"
check:
docker build --check .
drone-sign: ## Envs DRONE_SERVER & DRONE_TOKEN needed
drone sign --save 1sept/drone-helm3