Commit Graph
261 Commits
Author SHA1 Message Date
Daniel HolbachandGitHub de4e9a9bd9 Merge pull request #249 from evrardjp/produce-more-logs-for-stopped-containers
Add more logs into gates
2020-11-27 13:49:17 +01:00
Jean-Philippe Evrard 81ee206a87 Add more logs into gates
This will be necessary to find out why some docker containers fail
to come back up in github actions.
2020-11-27 13:31:20 +01:00
Daniel HolbachandGitHub 77594f2e31 Merge pull request #248 from evrardjp/add-shellcheck
Add Shellcheck
2020-11-27 12:52:25 +01:00
Daniel HolbachandGitHub 36a9e4e3d6 Merge pull request #247 from evrardjp/make-shellcheck-happy
Fix shellcheck issue
2020-11-27 12:49:21 +01:00
Jean-Philippe Evrard 98b547a66e Add Shellcheck
Ensures our bash is neat!
2020-11-27 12:23:39 +01:00
Jean-Philippe Evrard 1165cfe6f4 Fix shellcheck issue
Without this, shellcheck will complain about double quotes
missing.
2020-11-27 12:12:39 +01:00
Daniel HolbachandGitHub 91a8ed0638 Merge pull request #246 from evrardjp/separate-debug-output
Improve coordinated reboot output
2020-11-27 11:38:34 +01:00
Jean-Philippe Evrard 67ea5922f4 Improve coordinated reboot output
When a failure is happening and the cluster doesn't manage to
be back up on time, we exit 1, and don't show docker logs.

This is a problem, as we would benefit from a detailed docker
output on those cases, when debugging.

This fixes it by ensuring the logging is always done at the
exit of the script.
2020-11-27 10:59:14 +01:00
Daniel HolbachandGitHub 88b8b5d223 Merge pull request #181 from evrardjp/kustomize-kind-tests
Add manifests testing
2020-11-27 09:43:07 +01:00
Daniel HolbachandGitHub 645ca7f88f Merge pull request #242 from weaveworks/dependabot/github_actions/nick-invision/retry-v2.2.0
Bump nick-invision/retry from v1 to v2.2.0
2020-11-27 09:40:34 +01:00
Daniel HolbachandGitHub f152a15552 Merge pull request #184 from evrardjp/multiple-k8s-versions
Increase test matrix for smoke tests
2020-11-27 09:36:18 +01:00
dependabot[bot]andGitHub 470b887ea4 Bump nick-invision/retry from v1 to v2.2.0
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from v1 to v2.2.0.
- [Release notes](https://github.com/nick-invision/retry/releases)
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-invision/retry/compare/v1...fb3bca3fb54f6488d7508c8d1eeb64b94efd5a93)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-27 06:12:15 +00:00
Jean-Philippe Evrard 9ca74a6062 Simplify manifest testing
We don't need to test with kustomize, manifest testing is good
enough, as we just test that the manifest are correct, not that
they are functional (which would require a change in the poll time).
2020-11-26 14:14:18 +01:00
Jean-Philippe Evrard 7f379ac920 Add kustomize testing
This extends our test coverages for kured-* manifest changes on PRs,
and any eventual changes in kubernetes/kubectl on periodics.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
2020-11-26 09:46:07 +01:00
Jean-Philippe Evrard fa9991f929 Increase kubernetes versions test matrix for smoke tests
This allows us to test this branch with multiple kubernetes
versions.
2020-11-26 09:41:32 +01:00
Daniel HolbachandGitHub 596394db79 Merge pull request #183 from evrardjp/helm-smoke-test
Add smoke/basic functional test
2020-11-26 09:40:18 +01:00
Jean-Philippe Evrard c9367eeff5 Always have latest helm binary installed
This will ease our maintenance.
2020-11-26 09:19:41 +01:00
Daniel HolbachandGitHub 8ad6bb7c24 Merge pull request #240 from weaveworks/dependabot/github_actions/actions/stale-v3.0.14
Bump actions/stale from v1 to v3.0.14
2020-11-26 08:57:34 +01:00
Daniel HolbachandGitHub 722db47b2d Merge pull request #212 from DaniJG/master
GH-125, add additional parameters for the drain/reboot slack message template
2020-11-26 08:53:29 +01:00
dependabot[bot]andGitHub 3f2027da32 Bump actions/stale from v1 to v3.0.14
Bumps [actions/stale](https://github.com/actions/stale) from v1 to v3.0.14.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v1...87c2b794b9b47a9bec68ae03c01aeb572ffebdb1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-26 06:26:14 +00:00
Daniel Jimenez Garcia 51cab0dedc rename message template parameters so they are not related to slack 2020-11-25 16:20:54 +00:00
Daniel Jimenez Garcia f059cec794 GH-125, add additional parameters to override the drain/reboot slack messages 2020-11-25 16:19:31 +00:00
Daniel HolbachandGitHub 2fef8b1b12 Merge pull request #206 from chentex/time-wrap
Added support for time wrap in timewindow.Contains
2020-11-25 10:28:57 +01:00
Daniel HolbachandGitHub e9a7c4535a Merge pull request #224 from evrardjp/auto-expire-issues
Auto expire issues and PRs
2020-11-25 10:14:45 +01:00
Daniel HolbachandGitHub da60edbe7b Merge pull request #229 from weaveworks/dependabot/github_actions/helm/kind-action-v1.1.0
Bump helm/kind-action from v1.0.0 to v1.1.0
2020-11-25 10:12:54 +01:00
Daniel HolbachandGitHub a6040aa12d Merge pull request #230 from weaveworks/dependabot/github_actions/helm/chart-testing-action-v2.0.1
Bump helm/chart-testing-action from v1.0.0 to v2.0.1
2020-11-25 10:10:05 +01:00
Daniel HolbachandGitHub 685f32881b Merge pull request #235 from dholbach/prep-1.5.1-release
Prepare 1.5.1 release
1.5.1
2020-11-24 15:34:27 +01:00
Daniel HolbachandGitHub 1931b9b939 Merge pull request #238 from dholbach/rename-annotationTTL-in-chart
rename annotation-ttl to lock-ttl in all places, follow-up to #213
2020-11-24 09:55:21 +01:00
Daniel Holbach 32aa77f75b rename annotation-ttl to lock-ttl in all places, follow-up to #213 2020-11-24 09:28:57 +01:00
Daniel HolbachandGitHub 4b1e4036e3 Merge pull request #237 from weaveworks/drain-grace
Drain: allow pods grace period to terminate
2020-11-24 07:46:05 +01:00
Bryan Boreham 1ba3acab98 Drain: allow pods grace period to terminate
The default of 0 is taken as "delete immediately", which is
not appropriate.
2020-11-23 18:07:56 +00:00
Daniel Holbach 038a3412b1 Prepare 1.5.1 release 2020-11-23 10:47:16 +01:00
dependabot[bot]andGitHub cc4a4f5161 Bump helm/chart-testing-action from v1.0.0 to v2.0.1
Bumps [helm/chart-testing-action](https://github.com/helm/chart-testing-action) from v1.0.0 to v2.0.1.
- [Release notes](https://github.com/helm/chart-testing-action/releases)
- [Commits](https://github.com/helm/chart-testing-action/compare/v1.0.0...b0d4458c71155b54fcf33e11dd465dc923550009)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-16 07:06:39 +00:00
dependabot[bot]andGitHub 8a29c218da Bump helm/kind-action from v1.0.0 to v1.1.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from v1.0.0 to v1.1.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.0.0...7a937c0fb648064a83b8b9354151e5e543d9fcec)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-16 07:06:38 +00:00
Daniel HolbachandGitHub 64202ff440 Merge pull request #185 from evrardjp/release-helper
Release helper
2020-11-09 16:43:12 +01:00
Daniel HolbachandGitHub 08ae57579c Merge pull request #221 from evrardjp/lint-job
Add Lint job in github actions
2020-11-09 13:22:26 +01:00
Jean-Philippe Evrard 2e5ea66e91 Add lint job
In the past, we had lint issues which were merged into the code,
and/or lint changed without us adapting our code.

This should allow us to stay on top of linting issue by
highlighting them in PRs.
2020-11-09 13:11:58 +01:00
Daniel HolbachandGitHub 7461ab8d95 Merge pull request #222 from evrardjp/make-lint-happier-for-pkg-folder
Make go lint on pkg folder happier
2020-11-09 11:50:58 +01:00
Daniel HolbachandGitHub aa49cfd8c4 Merge pull request #215 from evrardjp/make-lint-happier
Make go lint on cmd folder happier
2020-11-09 11:49:51 +01:00
Bryan BorehamandGitHub 4c31184422 Merge pull request #213 from mvisonneau/lock_ttl
Replaced --annotationTTL with --lockTTL and fixed bug
2020-11-06 11:31:19 +00:00
Jean-Philippe Evrard 8a0f38ac2a Auto expire issues and PRs
Without this patch, we might hold old issues and PR for a long
time. Instead we should close them. People can reopen if necessary.

This would show that we have a proper triage process, and a proper
way to handle those.
2020-11-05 11:23:05 +01:00
Daniel HolbachandGitHub 6177c3a996 Merge pull request #217 from weaveworks/post-210-cleanup
Clean up deps, update docs to explain state post-210
2020-11-05 11:10:36 +01:00
Jean-Philippe Evrard 5d88e6c6db Make lint happier in pkg folder
Without this patch, lint will complain about a few cosmetic details.
2020-11-05 11:01:49 +01:00
Jean-Philippe Evrard 7091debe23 Make lint happier
Without this, golint is complaining about a few cosmetic changes.
This solves it, and is necessary if we want to add a lint test
in CI.
2020-11-05 10:14:39 +01:00
Jean-Philippe Evrard ce6075c800 Remove prom-active-alerts
Prom-active-alerts command is not used, not tested, and
currently broken. Let's remove it.
2020-11-05 10:13:50 +01:00
Daniel Holbach 4ed5b823fc update docs following #210 2020-11-04 12:09:20 +01:00
Daniel Holbach cadb6c263f run 'go mod tidy' 2020-11-04 12:07:05 +01:00
Daniel HolbachandGitHub d5fe4fbaec Merge pull request #210 from evrardjp/remove-kubectl-bin
feature: Remove kubectl bin
2020-11-04 12:01:47 +01:00
Maxime VISONNEAU 9648d1d759 Replaced --annotationTTL with --lockTTL and made it work correctly 2020-10-30 10:39:18 +00:00
Jean-Philippe Evrard e5a2d4acc7 Refactor drain/uncordon
Moving the drainer object close to its usage is more readable.
2020-10-29 11:45:20 +01:00