Commit Graph
124 Commits
Author SHA1 Message Date
Lachlan EvensonandKubernetes Prow Robot 3614cbc843 [ci] Upgrade to chart-testing v2.1.0 (#10484)
* [ci] Upgrade to chart-testing v2.1.0

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

* Update tag in build.sh

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>
2019-01-15 09:14:38 -08:00
Reinhard Nägeleandk8s-ci-robot c637d6c419 [ci] Upgrade to chart-testing v2.0.1 (#9319)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2018-11-16 05:12:50 -08:00
Reinhard Nägeleandk8s-ci-robot 110bb90027 [test] Fix setting Helm timeout (#9165)
The --timeout flag was replaced with the more general --helm-extra-args.

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2018-11-10 03:37:50 -08:00
Reinhard Nägeleandk8s-ci-robot 408a5abdde [test] Update to chart-testing v2.0.0 (#8745)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2018-11-07 14:01:25 -08:00
Reinhard Nägeleandk8s-ci-robot 6528846744 [CI] Use latest chart-testing image (#7673)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2018-09-11 13:29:11 -07:00
Reinhard Nägeleandk8s-ci-robot dfc1a33ece [CI] Use latest chart-testing image (#7203) 2018-08-16 06:15:00 -07:00
Scott Rigbyandk8s-ci-robot fd54977079 Update README to change k8s member step (#6779)
* After repo move to helm/helm, update steps for Owning and Maintaining A Chart

* Change repo URL from kubernetes/helm to helm/helm everywhere above chart directories (those may be separate PRs)

* Fix earlier missing apostrophe and incorrect case

* Add missing k8s/ > helm/ string changes
2018-08-14 13:39:45 -07:00
Reinhard Nägeleandk8s-ci-robot 21bf1ad2f8 [CI] Use repo url in sync (#5981) 2018-06-07 03:41:23 -07:00
Reinhard Nägeleandk8s-ci-robot 20e3f9d6d4 [CI] Fix url for indexing (#5980) 2018-06-07 02:58:24 -07:00
Reinhard Nägeleandk8s-ci-robot ff46a5d14b [CI] Fix repo sync (#5979) 2018-06-07 02:28:25 -07:00
Reinhard Nägeleandk8s-ci-robot cad8ca9303 Use factored out testing lib (#5231)
* [WIP][CI] Use factored out testing lib

* Incorporate upstream changes

* Update Docker image for CircleCI

* Update Docker image

* Update Docker image

* Align with upstream changes

* Remove dummy chart and bump a few charts for testing

* Fix Dockerfile

* Align with upstream changes

* Add summary

* Update Chart.yaml

* Update Docker images

* Remove chart test bumps

* Align with upstream changes

* Bump some charts for testing

* Create v2.0.0

* Remove chart version bumps

* Revert repo-sync.sh in favor of #5847

* Bump image version

* Use latest chart testing image
2018-06-06 07:39:25 -07:00
Reinhard Nägeleandk8s-ci-robot efa000e429 [CI] Refactor repo sync (#5847)
* [CI] Refactor repo sync

With the upcoming refactoring of the chart testing, Shellcheck is added
to CircleCI for shell scripts. In order to prepare for this, several
adjustments are necessary so it passes. On top of that, the script is
refactored as follows:

* Reorganize code into several functions for better readability and to
  eliminate code redundancies
* Use curl instead of wget for intalling Helm because it's already
  available in the Docker image
* Treat index.yaml separately and copy it to the bucket after syncing
  charts in order to avoid chart fetch errors

* Fix repo bucket urls

* Only log errors but don't exit with non-zero exit code
2018-06-06 06:51:26 -07:00
Matt Farinaandk8s-ci-robot ff960c5cb8 Fixing incubator sync (#5841) 2018-05-30 15:02:57 -07:00
Matt Farinaandk8s-ci-robot c0cc34640a Updating sync script error handling to be more fault tolerant (#5839) 2018-05-30 14:48:55 -07:00
Matt Farinaandk8s-ci-robot f1a06f5906 Fixing wget for sync runs (#5837) 2018-05-30 13:38:56 -07:00
Matt FarinaandAdnan Abdulhussein 94c44be7cd Give the repo sync script execute permission (#5834) 2018-05-30 12:00:22 -07:00
Matt Farinaandk8s-ci-robot b74d963601 Using circleci for sync job (#5832) 2018-05-30 11:46:55 -07:00
Reinhard NägeleandMatt Farina afb4f01d5a [CI] Update Helm to v2.9.1 (#5814) 2018-05-29 13:09:18 -04:00
AdamDangandk8s-ci-robot 2d7695a87d Typo fix in test/README.md: Kuberentes->Kubernetes (#5307)
Kuberentes->Kubernetes
2018-05-08 05:31:53 -07:00
Reinhard Nägeleandk8s-ci-robot bbcf1ea38b [linting] Temporarily make maintainers optional for linting (#4663) 2018-04-03 10:09:06 -07:00
Vic Iglesiasandk8s-ci-robot e32de0bbeb Add info about Jenkins sync (#4477) 2018-03-27 10:40:03 -07:00
Ilya Kislenkoandk8s-ci-robot bd8016c536 Enhancing lint.sh with additional checks for Chart.yaml (#4161)
* Enhancing lint.sh with additional checks

* reverting post local testing changes

* addressing reviews.

removing yq installetion
chaning yq with yaml for Chart.yaml parsing.
modifing Erro message for not github account check.

also modifing lint.sh so it can be used locally
2018-03-27 09:30:03 -07:00
Reinhard Nägeleandk8s-ci-robot b5c3e51568 Enable testing charts with test values (#4157)
* Refactor and fix shellcheck issues

* Make constants readonly and uppercase

* Remove .editorconfig

* Enable testing charts with test values

* Remove dummy chart
2018-03-22 06:57:07 -07:00
Matt Farinaandk8s-ci-robot 0acc15eb83 When tests fail fetching description of each pod (#4278) 2018-03-19 07:12:58 -07:00
Matt FarinaandGitHub 30728448eb Fixing for the unset case by supplying a default value for batch test (#4238) 2018-03-16 15:39:58 -04:00
Matt FarinaandGitHub bcb65dff67 This fixes two testing issues (#4237)
1. BUILD_NUMBER is deprecated and needed to be replaced for prow jobs
2. PULL_NUMBER is not available when batch jobs, including merges,
   are executed. Need a fallback to avoid errors.
2018-03-16 15:27:36 -04:00
Matt FarinaandGitHub b72d033b0b Upgrading to Helm 2.8.2 (#4214) 2018-03-16 14:17:00 -04:00
Ilya KislenkoandMatt Farina 72c8d48235 helm version upgrade (#4158)
upgrading helm version for circleci testing
2018-03-16 14:14:29 -04:00
Lachlan Evensonandk8s-ci-robot 1bf5c4eca5 Bumped helm release for e2e tests (#3907) 2018-02-27 11:17:47 -08:00
Lingming Xiaandk8s-ci-robot f04a361532 fix typo in test/circle/lint.sh (#3674) 2018-02-10 05:39:51 -08:00
TaoGeandk8s-ci-robot 4ab7343790 Typo fix: repostory -> [repository] (#3666) 2018-02-10 05:36:50 -08:00
chenjianhuaandk8s-ci-robot e19ad0ce78 fix a typo in publish-docker.sh (#3630) 2018-02-09 14:07:51 -08:00
Matt Farinaandk8s-ci-robot f96469be73 Fix CI failures and orphaned releases (#3581)
* Fixing orphaned helm deploys left by CI

The CI system has cases where helm delete and namespace cleanup
are skipped if there is an error getting logs on a pod. This causes
the pod logs to always return true and avoid a premature exit before
cleanup is run

* Fixing issue where pods not yet running to not have delay before rechecking

When pods are not yet in a running state there is no delay before
rechecking. This is causing timeouts to happen waiting for pods.
2018-02-06 10:19:13 -08:00
Reinhard Nägeleandk8s-ci-robot e2c7e831f3 [ci] Fix potential endless loop (#3529) 2018-02-02 07:00:10 -08:00
Reinhard Nägeleandk8s-ci-robot 97bab65a1d Improve readiness check (#3509)
This fixes flaky readiness checks by double-checking readiness. It could
happen that the script deemed all pods ready when at the moment the
check is executed only ready pods are reported but not all replicas are
running yet.
2018-02-01 06:31:10 -08:00
Reinhard Nägeleandk8s-ci-robot 09d514a953 [ci] Increase timeout by 1.5x (#3501) 2018-01-31 07:36:13 -08:00
Reinhard Nägeleandk8s-ci-robot 65cdc689d5 [ci] Fix regression in changed.sh (#3498) 2018-01-31 06:15:09 -08:00
Matt Farinaandk8s-ci-robot 70145fdb19 Updated log reporting on failed CI runs to include all pods for the PR (#3348)
This will report logs on all containers for all pods in a
namespace created for a pull request.
2018-01-26 10:58:40 -08:00
Matt Farinaandk8s-ci-robot 68b8c655c7 Fix broken end to end tests resulting from cleanup code issues (#3168) 2017-12-27 12:50:35 -08:00
Matt Farinaandk8s-ci-robot a3e5eae76c Add more verbose output when helm test fails (#2750)
This change does 3 things:
1. Gets the logs from the test pods
2. Prints the output of helm status
3. Gets the logs from the pods running for a release
2017-12-27 12:19:36 -08:00
Matt Farinaandk8s-ci-robot e72f702fad Handling the case of a new chart in the e2e tests (#3083) 2017-12-18 14:15:35 -08:00
Reinhard Nägeleandk8s-ci-robot ed12196be2 Double test timeout (#3048) 2017-12-17 07:56:34 -08:00
Matt Farinaandk8s-ci-robot 7cbb848a75 Fixing edge case for patch version of 0 (#3063)
When the array splitting happen there are cases where the patch
(maj.min.patch) is 0. Using ++ to increment that 0 causes a
return code of 1. Using +=1 instead increments the value but has
a return code of 0.
2017-12-17 07:53:34 -08:00
Matt Farina b69c46199b Adding a version comparison to the k8s CI tests
The bot that merges PRs re-runs the e2e job before merging a pull
request. By also having it here (circleci provides fast response
to PR authors) we make sure the version has been incremented in
the chart prior to it being merged.
2017-12-15 15:31:21 -05:00
Christoph Blecker a0a55dbb47 Fix kubectl/helm paths for real 2017-12-13 18:47:46 -08:00
Christoph Blecker 1da2e801a4 Use proper kubectl path 2017-12-13 16:43:58 -08:00
Christoph Blecker 7d139e282a Fix junit artifacts output dir 2017-12-13 15:22:49 -08:00
Christoph BleckerandGitHub a5d9c7a33f Add debugging output to find PV errors in CI 2017-12-12 14:53:31 -08:00
Vic IglesiasandGitHub 202a7ad8e8 Add sleep after ns so resources can be cleaned properly (#2992) 2017-12-11 11:45:29 -08:00
Vic IglesiasandMatt Farina 9ffa508edb Remove Spinnaker from e2e tests (#2990) 2017-12-11 10:58:48 -06:00