Implementing a deployment kill switch
Working on rollbacks we realized that if we have to stop a new deployment, there's no safe way to do it.
A release manager should cancel each pipeline manually, hoping to do it at the right time. As a result of this, we can expect the environment to be in a weird state. Likely some machine will be in DRAIN
state.
We need a killswitch to safely block a deployment and restore HAProxy status
🤖
Auto-Summary Discoto Usage
Points
Discussion points are declared by headings, list items, and single lines that start with the text (case-insensitive)
point:
. For example, the following are all valid points:
#### POINT: This is a point
* point: This is a point
+ Point: This is a point
- pOINT: This is a point
point: This is a **point**
Note that any markdown used in the point text will also be propagated into the topic summaries.
Topics
Topics can be stand-alone and contained within an issuable (epic, issue, MR), or can be inline.
Inline topics are defined by creating a new thread (discussion) where the first line of the first comment is a heading that starts with (case-insensitive)
topic:
. For example, the following are all valid topics:
# Topic: Inline discussion topic 1
## TOPIC: **{+A Green, bolded topic+}**
### tOpIc: Another topic
Quick Actions
Action Description /discuss sub-topic TITLE
Create an issue for a sub-topic. Does not work in epics /discuss link ISSUABLE-LINK
Link an issuable as a child of this discussion
Last updated by this job
-
⏫ ROOT Pipeline for code rollback &411 (closed) -
◀ PARENT Blocking a new deployment and attempting a rollback #1606 (comment 526011417) -
TOPIC killswitch storage - CI variables #1627 (comment 531399092)
- we cannot use CI variables as a storage of the killswitch status because we cannot re-evaluate them once the job started. #1627 (comment 531399092)
- TOPIC killswitch storage - object storage #1627 (comment 531405635)
- TOPIC killswitch storage - consul #1627 (comment 531406711)
-
TOPIC killswitch storage - feature flags #1627 (comment 531409804)
- Our feature flags could do the job, but this will be a hack. #1627 (comment 531409804)
Discoto Settings
---
summary:
max_items: -1
sort_by: created
sort_direction: ascending
See the settings schema for details.