Skip to content

Commit

Permalink
Merge pull request #137 from hypnoglow/update-helm-versions
Browse files Browse the repository at this point in the history
Update supported helm versions in CI
  • Loading branch information
hypnoglow authored Feb 25, 2021
2 parents d20d0fa + 297433a commit 5430261
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 54 deletions.
78 changes: 24 additions & 54 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,29 +128,6 @@ jobs:
at: /go/src/github.com/hypnoglow
- run: ./.circleci/testcover.sh
- run: bash <(curl -s https://codecov.io/bash)
test-integration-helm-2_16:
docker:
- image: circleci/golang:1.15
environment:
GO111MODULE: "on"
GOFLAGS: "-mod=vendor"
AWS_ACCESS_KEY_ID: EXAMPLEKEY123
AWS_SECRET_ACCESS_KEY: EXAMPLESECRET123456
AWS_DEFAULT_REGION: us-east-1
AWS_ENDPOINT: helm-s3-minio:9000
AWS_DISABLE_SSL: true
- image: minio/minio:latest
name: helm-s3-minio
environment:
MINIO_ACCESS_KEY: EXAMPLEKEY123
MINIO_SECRET_KEY: EXAMPLESECRET123456
command: ["server", "/data"]
working_directory: /go/src/github.com/hypnoglow/helm-s3
steps:
- attach_workspace:
at: /go/src/github.com/hypnoglow
- run_integration_tests:
helm_version: 2.16.12
test-integration-helm-2_17:
docker:
- image: circleci/golang:1.15
Expand All @@ -174,7 +151,7 @@ jobs:
at: /go/src/github.com/hypnoglow
- run_integration_tests:
helm_version: 2.17.0
test-integration-helm-3_3:
test-integration-helm-3_4:
docker:
- image: circleci/golang:1.15
environment:
Expand All @@ -196,8 +173,8 @@ jobs:
- attach_workspace:
at: /go/src/github.com/hypnoglow
- run_integration_tests:
helm_version: 3.3.4
test-integration-helm-3_4:
helm_version: 3.4.2
test-integration-helm-3_5:
docker:
- image: circleci/golang:1.15
environment:
Expand All @@ -219,7 +196,7 @@ jobs:
- attach_workspace:
at: /go/src/github.com/hypnoglow
- run_integration_tests:
helm_version: 3.4.0
helm_version: 3.5.2
test-install:
docker:
- image: circleci/buildpack-deps:stretch-curl
Expand Down Expand Up @@ -266,10 +243,7 @@ jobs:
if [ -n "$CIRCLE_TAG" ]; then
curl -sL https://git.io/goreleaser | bash
fi
# Note: it seems that version 2.16.9 is the last version supported on Docker Hub.
# https://hub.docker.com/r/alpine/helm/tags
# That's why we don't distribute plugin images with Helm 2.17+
docker-helm-2_16:
docker-helm-2_17:
docker:
- image: circleci/buildpack-deps:stretch
working_directory: ~/workspace/helm-s3
Expand All @@ -279,8 +253,8 @@ jobs:
- setup_remote_docker:
version: 18.06.0-ce
- build_push_docker_image:
helm_version: 2.16.9
docker-helm-3_3:
helm_version: 2.17.0
docker-helm-3_4:
docker:
- image: circleci/buildpack-deps:stretch
working_directory: ~/workspace/helm-s3
Expand All @@ -290,8 +264,8 @@ jobs:
- setup_remote_docker:
version: 18.06.0-ce
- build_push_docker_image:
helm_version: 3.3.4
docker-helm-3_4:
helm_version: 3.4.2
docker-helm-3_5:
docker:
- image: circleci/buildpack-deps:stretch
working_directory: ~/workspace/helm-s3
Expand All @@ -301,7 +275,7 @@ jobs:
- setup_remote_docker:
version: 18.06.0-ce
- build_push_docker_image:
helm_version: 3.4.0
helm_version: 3.5.2

workflows:
version: 2
Expand All @@ -312,48 +286,44 @@ workflows:
- test-unit:
requires:
- dep
- test-integration-helm-2_16:
requires:
- dep
- test-integration-helm-2_17:
requires:
- dep
- test-integration-helm-3_3:
- test-integration-helm-3_4:
requires:
- dep
- test-integration-helm-3_4:
- test-integration-helm-3_5:
requires:
- dep
- docker-helm-2_16:
- docker-helm-2_17:
requires:
- dep
- test-unit
- test-integration-helm-2_16
- test-integration-helm-2_17
filters:
branches:
only: master
- docker-helm-3_3:
- docker-helm-3_4:
requires:
- dep
- test-unit
- test-integration-helm-3_3
- test-integration-helm-3_4
filters:
branches:
only: master
- docker-helm-3_4:
- docker-helm-3_5:
requires:
- dep
- test-unit
- test-integration-helm-3_4
- test-integration-helm-3_5
filters:
branches:
only: master
- test-install:
requires:
- test-integration-helm-2_16
- test-integration-helm-2_17
- test-integration-helm-3_3
- test-integration-helm-3_4
- test-integration-helm-3_5
filters:
branches:
only: master
Expand All @@ -366,23 +336,23 @@ workflows:
only: /.*/
branches:
ignore: /.*/
- docker-helm-2_16:
- docker-helm-2_17:
requires:
- dep
filters:
tags:
only: /.*/
branches:
ignore: /.*/
- docker-helm-3_3:
- docker-helm-3_4:
requires:
- dep
filters:
tags:
only: /.*/
branches:
ignore: /.*/
- docker-helm-3_4:
- docker-helm-3_5:
requires:
- dep
filters:
Expand All @@ -393,9 +363,9 @@ workflows:
- release:
requires:
- dep
- docker-helm-2_16
- docker-helm-3_3
- docker-helm-2_17
- docker-helm-3_4
- docker-helm-3_5
filters:
tags:
only: /.*/
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

- Set supported Helm versions to v2.17, v3.4, v3.5.

## [0.10.0] - 2020-10-27

### Added
Expand Down

0 comments on commit 5430261

Please sign in to comment.