From c416e952e89a92f75c5ebb1a6dc0ee47b90526a3 Mon Sep 17 00:00:00 2001 From: Igor Zibarev Date: Thu, 7 Dec 2023 00:04:05 +0200 Subject: [PATCH] Prepare 0.16.0 release --- .github/workflows/main.yml | 2 +- .github/workflows/reusable-docker-images.yml | 2 +- .github/workflows/reusable-test-install.yml | 2 +- .tool-versions | 2 +- CHANGELOG.md | 25 +++++++++++++++++++- README.md | 2 +- go.mod | 2 +- go.sum | 4 ++-- plugin.yaml | 2 +- 9 files changed, 33 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25df0076..e163f32c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,7 +62,7 @@ jobs: helm: - 2.17.0 - 3.12.3 - - 3.13.1 + - 3.13.2 services: minio: # TODO: use official minio/minio image when this issue is fixed: diff --git a/.github/workflows/reusable-docker-images.yml b/.github/workflows/reusable-docker-images.yml index 0e2ec4aa..195dadbd 100644 --- a/.github/workflows/reusable-docker-images.yml +++ b/.github/workflows/reusable-docker-images.yml @@ -20,7 +20,7 @@ jobs: helm: - 2.17.0 - 3.12.3 - - 3.13.1 + - 3.13.2 env: IMAGE_NAME: hypnoglow/helm-s3 HELM_VERSION: ${{ matrix.helm }} diff --git a/.github/workflows/reusable-test-install.yml b/.github/workflows/reusable-test-install.yml index 0a95ac16..f47795f8 100644 --- a/.github/workflows/reusable-test-install.yml +++ b/.github/workflows/reusable-test-install.yml @@ -11,7 +11,7 @@ jobs: - name: Install helm run: | - helm_version="3.13.1" + helm_version="3.13.2" tar_filename="helm-v${helm_version}-linux-amd64.tar.gz" checksum_filename="helm-v${helm_version}-linux-amd64.tar.gz.sha256sum" diff --git a/.tool-versions b/.tool-versions index ba9f2d6b..df156eb1 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,3 @@ golang 1.19.13 -helm 3.13.1 +helm 3.13.2 golangci-lint 1.48.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 92de370a..d3e3aa50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,34 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.16.0] - 2023-12-07 + +### Added + +- Added `--verbose` global flag. This flag enables debug output. Currently only +`helm s3 reindex` command supports it, but other commands may be updated in the +future. +[Refs: [#320](https://github.com/hypnoglow/helm-s3/pull/320)] + ### Changed -- Supported (and tested against) Helm versions updated to 3.12.3 and 3.13.1. +- Supported (and tested against) Helm versions updated to 3.12.3 and 3.13.2. + - Helm version detection now fallbacks to Helm v3 in case of errors, as Helm v2 is deprecated for 3 years already. +[Refs: [#334](https://github.com/hypnoglow/helm-s3/pull/334)] + +- Refactored install script so now the plugin does not require _bash_. This +solves a few issues with installing the plugin on some distributions. +[Refs: [#262](https://github.com/hypnoglow/helm-s3/pull/262) [#273](https://github.com/hypnoglow/helm-s3/issues/273) [#241](https://github.com/hypnoglow/helm-s3/pull/241)] thanks to [@yonahd](https://github.com/yonahd) and [@jouve](https://github.com/jouve) + +### Fixed + +- Fixed issues when the plugin was erroneously detecting Helm v2 instead of Helm v3. +[Refs: [#269](https://github.com/hypnoglow/helm-s3/pull/269) [#221](https://github.com/hypnoglow/helm-s3/issues/221)] thanks to [@clhuang](https://github.com/clhuang) + +- Added more context info to errors returned by the plugin, so that it is easier +to understand what went wrong, e.g. what chart failed during `helm s3 reindex`. ## [0.15.1] - 2023-09-20 diff --git a/README.md b/README.md index 876ace59..3411352d 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ The installation itself is simple as: You can install a specific release version: - $ helm plugin install https://github.com/hypnoglow/helm-s3.git --version 0.15.1 + $ helm plugin install https://github.com/hypnoglow/helm-s3.git --version 0.16.0 To use the plugin, you do not need any special dependencies. The installer will download versioned release with prebuilt binary from [github releases](https://github.com/hypnoglow/helm-s3/releases). diff --git a/go.mod b/go.mod index ce2e93e0..d9421460 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/spf13/cobra v1.8.0 github.com/stretchr/testify v1.8.4 - helm.sh/helm/v3 v3.13.1 + helm.sh/helm/v3 v3.13.2 k8s.io/helm v2.17.0+incompatible sigs.k8s.io/yaml v1.4.0 ) diff --git a/go.sum b/go.sum index 13d1039d..d119eb0e 100644 --- a/go.sum +++ b/go.sum @@ -408,8 +408,8 @@ gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools/v3 v3.4.0 h1:ZazjZUfuVeZGLAmlKKuyv3IKP5orXcwtOwDQH6YVr6o= -helm.sh/helm/v3 v3.13.1 h1:DG+XLGzBJeZvMLlMbm6bPDLV1dGaVW9eZsDoUd1/LM0= -helm.sh/helm/v3 v3.13.1/go.mod h1:TdQRMiq46CSWcc68Hb0uVhvAWusaN90YwAV54cz6JzU= +helm.sh/helm/v3 v3.13.2 h1:IcO9NgmmpetJODLZhR3f3q+6zzyXVKlRizKFwbi7K8w= +helm.sh/helm/v3 v3.13.2/go.mod h1:GIHDwZggaTGbedevTlrQ6DB++LBN6yuQdeGj0HNaDx0= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= k8s.io/api v0.28.2 h1:9mpl5mOb6vXZvqbQmankOfPIGiudghwCoLl1EYfUZbw= diff --git a/plugin.yaml b/plugin.yaml index 0a03ac61..ada7af5a 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,5 +1,5 @@ name: "s3" -version: "0.15.1" +version: "0.16.0" usage: "Manage chart repositories on Amazon S3" description: |- Provides AWS S3 protocol support for charts and repos. https://github.com/hypnoglow/helm-s3