add a label to signal that a deploy is a chaos deploy #265
No reviewers
Labels
No Label
bug
build
ci/cd
contributing
design
documentation
duplicate
enhancement
help wanted
invalid
meta
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/abra#265
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "moritz/abra:chaos_label"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves coop-cloud/organising#390 by adding the following label
coop-cloud.${STACK_NAME}.chaos=true
(according to the version label).This is required for the auto updater coop-cloud/organising#236 (comment)
LGTM! Some small nitpicks, fix / merge as you see fit, thanks!
@ -449,1 +450,4 @@
}
// add a label to signal that a deploy is a chaos deploy
func SetChaosLabel(compose *composetypes.Config, stackName string, chaos bool) {
Also need to re-work the format of this like:
@ -450,0 +453,4 @@
func SetChaosLabel(compose *composetypes.Config, stackName string, chaos bool) {
for _, service := range compose.Services {
if service.Name == "app" {
logrus.Debugf("set chaos label to %s", chaos)
Perhaps including the app / recipe name would be good for debugging?
36e7d936fc
toc4560023d1