Commit Graph
74 Commits
Author SHA1 Message Date
Matt Farina 88f888bcd9 Fixing CI failures for charts with dependencies (#2934)
Closes #2896
2017-12-05 19:59:08 +01:00
Matt Farina 08cf223ba3 Revert "Run helm dep build in circle lint.sh (#2919)" (#2929)
This reverts commit 54f82ea525.
2017-12-04 14:59:58 -05:00
Josh Dolitsky 54f82ea525 Run helm dep build in circle lint.sh (#2919) 2017-12-04 14:11:12 -05:00
Matt Farina 482f8b0f5b Update to Helm 2.7.2 (#2764)
Helm 2.7.2 contains a security fix for SSL CA with tiller. For
more information see the helm release notes.
2017-11-16 09:58:58 -08:00
Matt Farina 59472e8163 Make chart dependency builds immutable (#2706)
The previous version of the sync script ran `helm dep update` which
would recreate the requirements.lock file. This caused new builds
of charts as a total package with different versions of dependencies
but the same chart version. The package was mutating.

This change works towards our goal of immutable charts for a chart
at a version.
2017-11-14 18:35:15 +01:00
Matt Farina bbfa695607 Update CI to use Helm 2.6.2 (#2405) 2017-10-19 11:50:17 -07:00
Matt Farina ec99fad17e Fix bug where semver increment handling does not handle new charts (#2499) 2017-10-17 05:34:49 +02:00
Matt Farina ffc3faa15d Remove comment indentation checking due to false errors (#2498)
Indentation checking was catching catching out the commenting of
whole sections of indented code in values.yaml files as being
errors. Yet, code editors and other tools automatically indented
to this level. Removing the check.
2017-10-17 05:31:39 +02:00
Matt Farina 8ca39ffce9 Adding a CI check for the NOTES.txt file (#2453)
Points to docs when file missing to point user to a fix

Ref #2373
2017-10-13 17:23:51 +01:00
Matt Farina f085700f96 CI Check that a chart version was incremented (#2462)
This commit does a couple things
1. It reformats the layout to have checks via self contained
   functions rather than all in one loop.
2  Adds a check that the chart.version was incremented

Ref #2373
2017-10-12 11:21:35 +02:00
Matt Farina 4baaa42525 Fixing broken tests caused by #2428 (#2461)
The changed.sh script tried to find the merge base but the merge
base branch was not available. This change provides it so that
a common ancestor can be found.
2017-10-12 11:15:23 +02:00
Matt Farina 2f12841300 Adding linting to Chart and values yaml files (#2429)
This does not lint yaml templates as they are templates rather
than valid yaml files. They cannot be linted with a normal linter

yamllint is used for linting. This is an existing Python project
https://github.com/adrienverge/yamllint

The rules are not the default rules and are stored in their
entirity so they can be controlled over time

The existance of a Chart.yaml file and values.yaml file is checked
and an error is thrown if one is missing. Helm lint will not
detect a chart if Chart.yaml is missing and if a values.yaml file
is missing it is noted as info.

The run function is introduced to enable running all the linters,
capturing non-zero exit codes, and exiting with a non-zdero code
if any of them fail. This is used instead of exiting when the
first failure happens to provide more feedback to chart developers.
2017-10-09 21:23:39 +02:00
Matt Farina f8d3a1197e Update changed test to focus on changes introduced in current PR (#2428)
The previous diff was a comparison against master. If master had
changed since the current PR was created the changed charts would
be re-tested. This could create a problem when helm was upgraded
and lint changed causing previously passing charts to fail. Since
they were not associated with the current PR it was an outlier
problem for the PR author.

The new diff does a comparison to the merge-base which ties to look
for changes introduced by the current pull request.
2017-10-08 17:23:46 +01:00
Matt Farina 64fffcf600 Add support for linting of charts on every PR via CircleCI (#2404)
This change does the following:
- Adds a circleci config file
- Has 2 scripts. One for installing tools and a separate one for
  executing tests
- Removes lint testing from the changed.sh script since it is
  performed elsewhere
- For linting changes the git diff mechanism to look at the merge
  base rather than all differences from master. The intent is to
  look for changes in this request rather than including those
  in PRs that may have already been merged to master while this
  one lingered.

Ref #2337
2017-10-04 12:50:30 -07:00
Vic Iglesias 237caa0ea6 Add README to test folder (#2339)
* Add README to test folder

* Kubernetes members can trigger PR tests
2017-09-27 09:50:29 -07:00
Josh Dolitsky 4551593403 pull-charts-e2e should grab deps before running lint (#2313) 2017-09-22 10:11:29 +01:00
Anirudh Ramanathan 02a620f7b5 Fix testgrid (#2316) 2017-09-22 10:08:49 +01:00
Adnan Abdulhussein e163767afc add common chart to incubator (#1611)
* add common chart to incubator

moving the common chart to incubator so we can actively work on it

* Excuse incubator/common from tests
2017-09-04 18:08:48 -05:00
Michael Goodness 481fc439b6 [testing] Wait for ready containers (#1923)
* Test container readiness

* Test Pods running & containers Ready

* Include container name in output
2017-09-04 09:24:45 -05:00
Anirudh Ramanathan bfecb49c63 Update the helm-test path (#1916) 2017-09-04 14:45:04 +01:00
Anirudh Ramanathan d8a4481a14 Trivial fix to make test-infra pass again 2017-09-01 11:45:12 -07:00
Michael Goodness 0983f9539d Add release name to helm test (#1751) 2017-08-16 09:16:01 -07:00
Vic Iglesias f2c2c90184 Add helm test to CI (#1702) 2017-08-15 12:03:24 -07:00
Vic Iglesias 0af6cb13b3 Bump Helm to v2.5.1 in CI (#1701)
* Bump Helm to v2.5.1

* Update repo-sync to Helm 2.5.1
2017-08-15 12:03:00 -07:00
Dhilip fda6e45ebd Increase the verify retry from 2 mins to 3 mins (#1645) 2017-08-09 21:17:52 +05:30
Anirudh Ramanathan 8fe482e143 Add helm update deps step to CI (#1381)
* Update testing to install deps

* Add dep update step

* Addressed review comments
2017-06-30 09:32:41 +01:00
Adnan Abdulhussein 1ba823f7c3 Bump Helm version in repo-sync (#1378) 2017-06-26 21:19:14 +02:00
Anirudh Ramanathan 72c243cc89 Update to use helm service account as rbac is on by default (#1291) 2017-06-13 13:57:56 -07:00
Anirudh Ramanathan f88400931f Update test to start testing charts in e2e 2017-06-13 00:37:15 -07:00
Anirudh Ramanathan 9887c7e394 Set gopath before calling go get 2017-06-11 02:10:54 -07:00
Anirudh Ramanathan 2058e36cce Fix shell script to install deps (#1274)
* Fix shell script to install deps

* newline
2017-06-09 17:23:38 -07:00
Anirudh Ramanathan b34cc6712d Adding whitelisted charts to test. (#1272)
Adding whitelisted charts to test
2017-06-09 13:25:40 -07:00
Anirudh Ramanathan 66135f0ed4 Bumping up CI version to use helm 2.4.2 (#1142) 2017-05-23 12:09:26 -07:00
Vic Iglesias 505f1a3913 Update test image (#1004)
* Use helm 2.4.1 and set install timeout to 10m

* Update test image version

* Update gcloud/kubectl version
2017-05-04 12:25:55 -07:00
Vic Iglesias b9f65604d6 Use helm 2.4.1 and set install timeout to 10m (#1003) 2017-05-04 11:12:46 -07:00
Anirudh Ramanathan 81abdae9d7 Better reporting in the testgrid (#946)
* Better reporting in the testgrid

* gofmt
2017-04-20 12:41:22 +01:00
Anirudh Ramanathan 02677244e6 Improvements to testing. (#939) 2017-04-19 20:34:57 +01:00
Anirudh Ramanathan a8a58db3b8 Update junit file name (#937)
prevent clobbering file produced by test-infra
2017-04-18 16:59:48 -07:00
Anirudh Ramanathan 0762c87594 Adding helm testing script for e2e tests (#824) 2017-04-18 14:01:28 -07:00
James Gregory c9c43614eb [stable/kapacitor] Fixes broken Persistent Volume support (#670)
* Fix pvc metadata

The `chart` and `name` keys are in the wrong place.

* Fix indentation for persistent volume

* [stable/kapacitor] bump chart version to 0.2.2

* fix test flake
2017-03-22 15:12:16 -07:00
Michael Goodness d0064e596b fix test flake (#605) 2017-02-10 11:44:23 -06:00
Vic Iglesias a95b464c52 Fix CI scripts (#472)
* Fix CI GOOGLE_APPLICATION_CREDENTIALS

* Revert "spinnaker: fix minio service discovery"

This reverts commit 2e5d9565a9.
2017-01-20 16:06:20 -08:00
Adnan Abdulhussein 362242a06c ci: fix repo-sync to helm 2.1.3 (#473) 2017-01-20 15:46:00 -08:00
Adnan Abdulhussein c26821c495 use correct stable repo url when adding to index (#471) 2017-01-20 14:01:23 -08:00
Vic Iglesias 788af1a270 Add light functional test and PR review helper script (#369)
* Add basic verification of release

* Set BUILD_NUMBER in pr-review.sh

* Set default verification pause if not set

* Work around default pause value with -u

* Fix default pause value in pr-review

* Use kubconfig for tests if possible

* Add basic verification of release

* Add basic verification of release

* Set BUILD_NUMBER in pr-review.sh

* Set default verification pause if not set

* Work around default pause value with -u

* Fix default pause value in pr-review

* Use kubconfig for tests if possible

* Add basic verification of release

* Ensure kubeconfig works standalone
2017-01-20 11:58:12 -08:00
Vic Iglesias f2cc992094 Bump helm version to 2.1.3 (#364) 2017-01-04 13:52:42 -08:00
Vic Iglesias c97d191581 Use correct env vars for CI 2016-11-29 19:31:20 -08:00
Adnan Abdulhussein 9f71950807 Update repository URLs in requirement files and ci scripts 2016-11-18 16:09:56 -08:00
Vic Iglesias a7c6a6a294 Update to helm 2.0.0 2016-11-18 13:39:18 -05:00
Adnan Abdulhussein 4c849cbc3d Switch to Helm rc.1 release 2016-11-02 19:44:33 -07:00