• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zalando-incubator / stackset-controller / 1000
50%

Build:
DEFAULT BRANCH: master
Ran 10 Jul 2019 01:24PM UTC
Jobs 1
Files 12
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1000

push

travis-ci

mikkeloscar
Improve error handling (#144)

* Add stacksetLogger()

Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de>

* Proceed with reconciliation if stack creation fails

Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de>

* Remove error from MarkExpiredStacks()

Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de>

* Get rid of trafficSwitchError

Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de>

* ReconcileStackSet: don't abort on most errors

Instead of just aborting on the first encountered error, try to proceed
and reconcile the remaining resources. The only thing that currently
causes a hard error is UpdateFromResources(), the rest should be logged,
reported as an event and ignored.

StackContainer logic has been adjusted to check other stack resources in
IsReady() as well to prevent a situation where traffic is directed to a
stack that can't be reconciled.

Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de>

* HPA: don't check status.observedGeneration

This apparently doesn't work at all for HPA resources for some reason.

Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de>

* Fix TypeMeta on the stackset _again_

Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de>

* Add an e2e test for handling of broken stacks

Signed-off-by: Alexey Ermakov <alexey.ermakov@zalando.de>

90 of 90 new or added lines in 6 files covered. (100.0%)

1408 of 1810 relevant lines covered (77.79%)

11.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1000.1 (GO111MODULE=on GOLANGCI_RELEASE="v1.16.0") 10 Jul 2019 01:24PM UTC 0
77.79
Travis Job 1000.1
Source Files on build 1000
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1000
  • 758099ae on github
  • Prev Build on master (#989)
  • Next Build on master (#1001)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc