From 75ee8d5b873ba3de0f9d1c0b3cf0c035a188fe60 Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Mon, 24 Sep 2018 14:37:16 -0400 Subject: [PATCH] Prepping for v1.1.0 release (#28) Signed-off-by: Matt Farina --- README.md | 18 +++++++++--------- build.sh | 2 +- examples/docker-for-mac/my_test.sh | 2 +- examples/gke/Dockerfile | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 352f6a5..4b7619c 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ chart-test.sh ### Linting Charts ```shell -docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.0.5 chart_test.sh --no-install --config .mytestenv +docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.1.0 chart_test.sh --no-install --config .mytestenv ``` *Sample Output* @@ -151,25 +151,25 @@ Done. You can lint all charts with `--all` flag (chart version bump check will be ignored): ```shell -docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.0.5 chart_test.sh --no-install --config .mytestenv --all +docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.1.0 chart_test.sh --no-install --config .mytestenv --all ``` You can lint a list of charts (separated by comma) with `--charts` flag (chart version bump check will be ignored): ```shell -docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.0.5 chart_test.sh --no-install --config .mytestenv --charts stable/nginx,stable/cert-manager +docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.1.0 chart_test.sh --no-install --config .mytestenv --charts stable/nginx,stable/cert-manager ``` You can lint a single chart with `--charts` flag (chart version bump check will be ignored): ```shell -docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.0.5 chart_test.sh --no-install --config .mytestenv --charts stable/nginx +docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.1.0 chart_test.sh --no-install --config .mytestenv --charts stable/nginx ``` ### Installing and Testing Charts Installing a chart requires access to a Kubernetes cluster. -You may have to create your own Docker image that extends from `quay.io/helmpack/chart-testing:v1.0.5` in order to install additional tools (e. g. `google-cloud-sdk` for GKE). +You may have to create your own Docker image that extends from `quay.io/helmpack/chart-testing:v1.1.0` in order to install additional tools (e. g. `google-cloud-sdk` for GKE). A container from such an image could run steps to authenticate to a Kubernetes cluster, where it initializes the `kubectl` context, before running `chart_test.sh`. Charts are installed into newly created namespaces that will be deleted again afterwards. @@ -178,7 +178,7 @@ By default, they are named by the chart, which may not be a good idea, especiall Make sure you set it based on the pull request number. ```shell -docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.0.5 chart_test.sh --no-lint --config .mytestenv +docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.1.0 chart_test.sh --no-lint --config .mytestenv ``` #### Installing Unchanged Charts @@ -186,19 +186,19 @@ docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-t You can force to install all charts with `--all` flag: ```shell -docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.0.5 chart_test.sh --no-lint --config .mytestenv --all +docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.1.0 chart_test.sh --no-lint --config .mytestenv --all ``` You can force to install a list of charts (separated by comma) with `--charts` flag: ```shell -docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.0.5 chart_test.sh --no-lint --config .mytestenv --charts stable/nginx,stable/cert-manager +docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.1.0 chart_test.sh --no-lint --config .mytestenv --charts stable/nginx,stable/cert-manager ``` You can force to install one chart with `--charts` flag: ```shell -docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.0.5 chart_test.sh --no-lint --config .mytestenv --charts stable/nginx +docker run --rm -v "$(pwd):/workdir" --workdir /workdir quay.io/helmpack/chart-testing:v1.1.0 chart_test.sh --no-lint --config .mytestenv --charts stable/nginx ``` #### GKE Example diff --git a/build.sh b/build.sh index 8f9e409..f1fdaa7 100755 --- a/build.sh +++ b/build.sh @@ -18,7 +18,7 @@ set -o errexit set -o nounset set -o pipefail -readonly IMAGE_TAG=v1.0.5 +readonly IMAGE_TAG=v1.1.0 # The image goes into two repositories. quay.io/helmpack/chart-testing is used # for public consumption and is built by Quay via a webhook. The below image diff --git a/examples/docker-for-mac/my_test.sh b/examples/docker-for-mac/my_test.sh index 1cf40a7..9a6a811 100755 --- a/examples/docker-for-mac/my_test.sh +++ b/examples/docker-for-mac/my_test.sh @@ -18,7 +18,7 @@ set -o errexit set -o nounset set -o pipefail -readonly IMAGE_TAG=v1.0.5 +readonly IMAGE_TAG=v1.1.0 readonly IMAGE_REPOSITORY="quay.io/helmpack/chart-testing" main() { diff --git a/examples/gke/Dockerfile b/examples/gke/Dockerfile index 1c0a986..16aaf25 100644 --- a/examples/gke/Dockerfile +++ b/examples/gke/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM quay.io/helmpack/chart-testing:v1.0.5 +FROM quay.io/helmpack/chart-testing:v1.1.0 ENV PATH /google-cloud-sdk/bin:$PATH ARG CLOUD_SDK_VERSION=200.0.0