1
0
mirror of https://github.com/helm/chart-testing.git synced 2026-02-06 12:45:22 +01:00

104 Commits

Author SHA1 Message Date
Eric
a4377be973 Prepare release v2.4.0 (#180)
Signed-off-by: Eric Lemieux <eric@lemieuxdev.com>
v2.4.0
2019-11-02 12:06:10 -04:00
Carlos Tadeu Panato Junior
a357c22521 Bump Helm to 2.15.2 (#181)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-10-30 16:35:04 +01:00
Carlos Tadeu Panato Junior
4dfcdf8d7c bump alpine base image, kubectl and helm (#176)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-10-18 13:09:00 +02:00
Carlos Tadeu Panato Junior
9e45a0914e Update local path provisioner version in the example folder (#145)
* update local path provisioner version in the example folder

Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-10-15 06:55:33 +02:00
Naseem
7da298b88d Add documentation for use with Google Cloud Build (#170)
Signed-off-by: Naseem <naseemkullah@gmail.com>
2019-09-12 12:55:44 +02:00
Reinhard Nägele
e731d947fb Consider username and password in repo urls (#162)
Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>
2019-07-09 07:24:17 +02:00
Reinhard Nägele
f53c402ee2 Print events on cleanup (#155)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-05-03 08:07:18 +02:00
Reinhard Nägele
e3c32f5aea Prepare release v2.3.3 (#154)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
v2.3.3
2019-04-25 19:28:15 +02:00
Reinhard Nägele
5cb2b8c235 Use latest upstream instead of local branch for tags (#153)
This is to avoid accidentally tagging the wrong commit if
the wrong branch is checked out.

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-04-25 19:15:43 +02:00
Reinhard Nägele
e2e0c8cea3 Fix log messages (#152)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-04-25 18:39:03 +02:00
Reinhard Nägele
f1712a6b22 Trim leading invalid chars from names (#151)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-04-24 22:25:54 +02:00
Carlos Tadeu Panato Junior
961a3ab920 Remove force delete of pv and improve cleanup logic (#150)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-04-24 22:25:13 +02:00
Reinhard Nägele
d427587049 Prepare release v2.3.2 (#149)
Signed-off-by: Reinhard Nägele <reinhard.naegele@codecentric.de>
v2.3.2
2019-04-23 22:48:15 +02:00
Reinhard Nägele
bc028fd7c4 Update readme and examples for v2.3.1 release (#148)
Signed-off-by: Reinhard Nägele <reinhard.naegele@codecentric.de>
2019-04-23 22:27:19 +02:00
Carlos Tadeu Panato Junior
d9dba63311 Update golang on circleci (#146)Update golang on circleci (#146)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
v2.3.1
2019-04-23 17:04:15 +02:00
Reinhard Nägele
0e5c65006a Fix kind timeout (#144)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-04-22 21:02:20 +02:00
Reinhard Nägele
bc772e2051 Trim leading hyphens from names (#143)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-04-22 18:02:20 +02:00
Carlos Tadeu Panato Junior
08d07244ea update docker image to use helm 2.13.1 (#141)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-04-12 19:52:41 +02:00
Jacob LeGrone
b060fc83f2 Add git version documentation, rename worktree methods, and handle existing worktree (#133)
Signed-off-by: Jacob LeGrone <git@jacob.work>
v2.3.0
2019-03-28 21:46:30 +01:00
Jacob LeGrone
ea18dc6af1 fix(account): handle invalid repository domain matches (#137)
fixes #136 

Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-03-28 20:55:55 +01:00
Rimas Mocevicius
c97c7907c3 Update kind to v0.2.0 (#135)
Signed-off-by: rimas <rmocius@gmail.com>
2019-03-27 18:48:49 +01:00
Jacob LeGrone
acfb89768e Add option to skip upgrade testing of deleted/renamed values files (#132)
* feat(upgrade): allow skipping missing values files

This allows fixing previous chart versions in a single pull request
without applying a major version bump to the chart version.

Signed-off-by: Jacob LeGrone <git@jacob.work>

* test(skip-missing-values): validate config and HasCIValuesFile method

Signed-off-by: Jacob LeGrone <git@jacob.work>

* docs(skip-missing-values): generate documentation

Signed-off-by: Jacob LeGrone <git@jacob.work>

* fix(chart): switch to filepath from path

Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-03-25 13:53:21 -04:00
Jacob LeGrone
52a4be9561 Add Helm/Kubernetes integration tests (#120)
* Add helm/kubectl integration test

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Use Chart type from integration tests

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Update .circleci/config.yml

Co-Authored-By: jlegrone <jlegrone@users.noreply.github.com>
Signed-off-by: Jacob LeGrone <git@jacob.work>

* Remove extraneous test chart files

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Fix shellcheck lint

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Remove example kind config from e2e tests

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Remove breaking semver test

This wasn't super clear and was no longer working properly
after the switch to git-worktree.

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Bump kind version

Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-03-25 13:47:22 -04:00
Jacob LeGrone
8ddee49c8b Handle empty chart path, add Chart type (#104)
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-03-21 10:09:48 +01:00
Reinhard Nägele
e3136ec117 Update local-path-provisioner (#128)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-03-18 11:58:47 -04:00
Jacob LeGrone
de59b1cdfb Test chart upgrades (#103)
* Test chart upgrades against previous version

Upgrade testing will be run if the --upgrade flag is set (default true)
and chart version increment does not indicate a breaking change
according to the SemVer 2.0 spec.

Any releases associated with previous chart versions which fail to roll
out or for which an initial `helm test` fails will be ignored.

Signed-off-by: Jacob LeGrone <git@jacob.work>

* fix(dep): add version constraint for github.com/otiai10/copy

Signed-off-by: Jacob LeGrone <git@jacob.work>

* refactor(git): checkout whole repository with worktree

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Rename test* to do*

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Return bool, error from BreakingChangeAllowed

Signed-off-by: Jacob LeGrone <git@jacob.work>

* Use errors.Wrapf

Co-Authored-By: jlegrone <jlegrone@users.noreply.github.com>
Signed-off-by: Jacob LeGrone <git@jacob.work>

* Explicitly disable upgrade when not install

Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-03-18 11:11:57 -04:00
Reinhard Nägele
9dfa4f21be Add badges for build status and license (#127)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-03-15 21:51:50 +01:00
Louis Cloutier
47ae4d51c9 Readme update: lint-changed > list-changed (#126)
Signed-off-by: Louis Cloutier <louis.cloutier@qlik.com>
2019-03-11 11:22:43 +01:00
Jacob LeGrone
60640c0e6d Fix goreleaser docker.binary deprecation notice (#121)
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-03-11 11:21:05 +01:00
Reinhard Nägele
27b25831d9 Fix gofmt errors (#122) 2019-03-05 09:57:03 +01:00
Carlos Tadeu Panato Junior
010642b8fe Force the namespace deletion by updating the finalizers in the namespace obj (#112)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-03-04 18:32:33 +01:00
Rimas Mocevicius
8e67de44ae Update kind cluster example with working local storage for all nodes (#116)
Signed-off-by: rimas <rmocius@gmail.com>
2019-03-02 21:26:40 +01:00
Gábor Lipták
79e49e15b3 Add GoReportCard badge to README (#105)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2019-03-01 08:00:00 +01:00
Gábor Lipták
bdb3543053 Add gofmt to CircleCI (#107)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2019-03-01 07:59:36 +01:00
Carlos Tadeu Panato Junior
ebf0014515 Add explicit deletion of pv and pvcs (#119)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-02-28 14:10:08 +01:00
Rimas Mocevicius
b33b7c0947 Update kind readme to reflect one worker node cluster setup (#118)
Signed-off-by: rimas <rmocius@gmail.com>
2019-02-22 12:29:52 +01:00
Rimas Mocevicius
4040c6ed7f Set kind node to 1 worker (#117)
Signed-off-by: rimas <rmocius@gmail.com>
2019-02-22 11:30:00 +01:00
Jacob LeGrone
e68cef097d Break docker build if ct is not executable (#114)
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-02-22 09:10:56 +01:00
Rimas Mocevicius
d22fd59727 docker4mac 2.0 has changed cluster name to docker-desktop (#115)
Signed-off-by: rimas <rmocius@gmail.com>
2019-02-22 09:09:41 +01:00
Jacob LeGrone
a1528a422b Enable installing with go get (#110)
Signed-off-by: Jacob LeGrone <git@jacob.work>
2019-02-18 20:43:23 +01:00
Gábor Lipták
0802a2d50b Bring Go current for CircleCI (#108)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2019-02-18 20:28:54 +01:00
Reinhard Nägele
e3d58a1f03 Add missing link to --list-changed flag docs (#102)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-02-12 21:44:06 +01:00
Reinhard Nägele
d69c43e71b Add list-changed command (#98)
Allows to identify chart changes before actually running
lint or install commands. This can be useful in the following
cases:

* In a CI setup where kind clusters are spun up on the fly,
  this makes it possible to decide whether a cluster is necessary
  at all. A PR may only contain changes that are not relevant
  to any charts.
* By knowing upfront which charts have changed, it is
  possible to load a per-chart CI configuration which would
  allows us to determine the number of nodes needed in a kind
  cluster. For most charts, one node is enough, but in certain
  scenarios, especially for StatefulSets, we may want to test
  with pod anti-affinity where replicas have to be spread across
  multiple nodes.

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-01-31 17:17:25 +01:00
Reinhard Nägele
1d3db5408c Upgrade Helm and kubectl in Docker image (#97)
* Helm 2.12.3
* kubectl 1.13.2

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-01-25 14:53:41 +01:00
Reinhard Nägele
3e4f4f88fa Log values files used (#96)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-01-24 11:14:17 -05:00
Reinhard Nägele
9de228d2ca Update kind example (#94)
* Use kind release from GitHub instead of 'go get sigs.k8s.io/kind'
* Run ct container with '--network host' to avoid patching kubeconfig
* Create multi-node cluster with one master and three worker nodes
  so pods with anti-affinity can be tested
* Improve wait logic to cater for multiple nodes
* Add log statements
* Remote unnecessary 'k8s' remote to avoid confusion
* Extract function for 'docker exec' calls

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-01-24 15:50:20 +01:00
Reinhard Nägele
75c69d57de Improve docs on releasing (#95)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-01-24 09:46:07 -05:00
Reinhard Nägele
9e980f87cc Use visitor to bind flags to Viper (#92)
Simplifies the logic and no longer requires that flags be
listed individually in order to get bound.

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-01-24 09:26:43 -05:00
Reinhard Nägele
868038e2e8 Improve error logging (#91)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-01-23 19:15:12 +01:00
Reinhard Nägele
00f37261fa Prepare release v2.2.0 (#89)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
v2.2.0
2019-01-23 15:29:06 +01:00