Skip to content

Commit

Permalink
Prepare release v2.5.0 (#319)
Browse files Browse the repository at this point in the history
* Prepare release v2.5.0

Signed-off-by: Carlos Panato <[email protected]>

* fix go code

Signed-off-by: Carlos Panato <[email protected]>

* add missing chart_schema

Signed-off-by: Carlos Panato <[email protected]>
  • Loading branch information
cpanato authored Aug 19, 2021
1 parent 0838fc8 commit bd40619
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ Run the script specifying the version for the new release.
./tag.sh --tag <release_version>
```

Versions must start with a lower-case `v`, e. g. `v2.4.0`.
Versions must start with a lower-case `v`, e. g. `v2.5.0`.


## Supported versions
Expand Down
1 change: 1 addition & 0 deletions etc/chart_schema.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: str()
home: str()
version: str()
apiVersion: str()
appVersion: any(str(), num())
description: str()
keywords: list(str(), required=False)
Expand Down
2 changes: 1 addition & 1 deletion examples/docker-for-mac/my_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -o errexit
set -o nounset
set -o pipefail

readonly IMAGE_TAG=v2.4.0
readonly IMAGE_TAG=v2.5.0
readonly IMAGE_REPOSITORY="quay.io/helmpack/chart-testing"

main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/gke/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM quay.io/helmpack/chart-testing:v2.4.0
FROM quay.io/helmpack/chart-testing:v2.5.0

ENV PATH /google-cloud-sdk/bin:$PATH
ARG CLOUD_SDK_VERSION=221.0.0
Expand Down
2 changes: 1 addition & 1 deletion examples/kind/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

lint-charts:
docker:
- image: quay.io/helmpack/chart-testing:v2.4.0
- image: quay.io/helmpack/chart-testing:v2.5.0
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion examples/kind/test/e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -o errexit
set -o nounset
set -o pipefail

readonly CT_VERSION=v2.4.0
readonly CT_VERSION=v2.5.0
readonly KIND_VERSION=v0.5.1
readonly CLUSTER_NAME=chart-testing
readonly K8S_VERSION=v1.15.3
Expand Down
8 changes: 4 additions & 4 deletions pkg/util/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestFlatten(t *testing.T) {
}

for index, testData := range testDataSlice {
t.Run(string(index), func(t *testing.T) {
t.Run(fmt.Sprint(index), func(t *testing.T) {
actual, err := Flatten(testData.input)
assert.Equal(t, testData.expected, actual)
if testData.expected != nil {
Expand Down Expand Up @@ -61,7 +61,7 @@ func TestCompareVersions(t *testing.T) {
}

for index, testData := range testDataSlice {
t.Run(string(index), func(t *testing.T) {
t.Run(fmt.Sprint(index), func(t *testing.T) {
actual, _ := CompareVersions(testData.oldVersion, testData.newVersion)
assert.Equal(t, testData.expected, actual)
})
Expand All @@ -83,7 +83,7 @@ func TestSanitizeName(t *testing.T) {
}

for index, testData := range testDataSlice {
t.Run(string(index), func(t *testing.T) {
t.Run(fmt.Sprint(index), func(t *testing.T) {
actual := SanitizeName(testData.input, testData.maxLength)
fmt.Printf("actual: %s,%d, input: %s,%d\n", actual, len(actual), testData.input, testData.maxLength)
assert.Equal(t, testData.expected, actual)
Expand Down Expand Up @@ -111,7 +111,7 @@ func TestBreakingChangeAllowed(t *testing.T) {
}

for index, testData := range testDataSlice {
t.Run(string(index), func(t *testing.T) {
t.Run(fmt.Sprint(index), func(t *testing.T) {
actual, _ := BreakingChangeAllowed(testData.left, testData.right)
assert.Equal(t, testData.breaking, actual, fmt.Sprintf("input: %s,%s\n", testData.left, testData.right))
})
Expand Down
2 changes: 1 addition & 1 deletion tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ main() {
pushd "$SCRIPT_DIR" > /dev/null

git fetch "$remote"
git tag -a -m "Release $tag" "$tag" "$remote/master" "${force[@]}"
git tag -a -m "Release $tag" "$tag" "$remote/dev-v2" "${force[@]}"

if [[ -z "$skip_push" ]]; then
git push "$remote" "refs/tags/$tag" "${force[@]}"
Expand Down

0 comments on commit bd40619

Please sign in to comment.