mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
819 B
44 lines
819 B
---
|
|
version: 2
|
|
|
|
jobs:
|
|
build:
|
|
working_directory: ~/helm.sh/helm
|
|
docker:
|
|
- image: cimg/go:1.18
|
|
|
|
auth:
|
|
username: $DOCKER_USER
|
|
password: $DOCKER_PASS
|
|
|
|
environment:
|
|
GOCACHE: "/tmp/go/cache"
|
|
GOLANGCI_LINT_VERSION: "1.46.2"
|
|
|
|
steps:
|
|
- 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: /.*/
|