diff --git a/.drone.yml b/.drone.yml index f849752..28e3992 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file +hmac: 509505a505aecba408c446b561d685ec27e564b21c51297e9bbf68cb97c776cb + +... diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..89b9f4b --- /dev/null +++ b/Makefile @@ -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