|
|
@ -3,41 +3,10 @@ version: 2
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
working_directory: ~/helm.sh/helm
|
|
|
|
branches:
|
|
|
|
|
|
|
|
only: release-3.11
|
|
|
|
docker:
|
|
|
|
docker:
|
|
|
|
- image: cimg/go:1.18
|
|
|
|
- image: cimg/go:1.18
|
|
|
|
|
|
|
|
|
|
|
|
auth:
|
|
|
|
|
|
|
|
username: $DOCKER_USER
|
|
|
|
|
|
|
|
password: $DOCKER_PASS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
|
|
|
GOCACHE: "/tmp/go/cache"
|
|
|
|
|
|
|
|
GOLANGCI_LINT_VERSION: "1.46.2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
|
|
|
|
name: install test dependencies
|
|
|
|
|
|
|
|
command: .circleci/bootstrap.sh
|
|
|
|
|
|
|
|
- run:
|
|
|
|
|
|
|
|
name: test style
|
|
|
|
|
|
|
|
command: make test-style
|
|
|
|
|
|
|
|
- run:
|
|
|
|
|
|
|
|
name: test
|
|
|
|
|
|
|
|
command: make test-coverage
|
|
|
|
|
|
|
|
- run:
|
|
|
|
|
|
|
|
name: test build
|
|
|
|
|
|
|
|
command: make
|
|
|
|
|
|
|
|
- deploy:
|
|
|
|
|
|
|
|
name: deploy
|
|
|
|
|
|
|
|
command: .circleci/deploy.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
workflows:
|
|
|
|
|
|
|
|
version: 2
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
- build:
|
|
|
|
|
|
|
|
filters:
|
|
|
|
|
|
|
|
tags:
|
|
|
|
|
|
|
|
only: /.*/
|
|
|
|
|
|
|
|