Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Add Jenkins and Spinnaker comparsion comments on Pipeline

天舟2434edb0b348
diff --git a/frontend/src/types/bytebase.ts b/frontend/src/types/bytebase.ts
index 55d2bf1708..6696c9f9f9 100644
--- a/frontend/src/types/bytebase.ts
+++ b/frontend/src/types/bytebase.ts
@@ -984,6 +984,16 @@ export const ASSIGNEE_APPLICABLE_ACTION_LIST: Map<
// STAGE = Octopus Phase + Task
// TASK = Octopus Step
//
+// Comparsion with Jenkins:
+// PIPELINE = Jenkins Pipeline
+// STAGE = Jenkins Stage
+// TASK = Jenkins Step (but it's also called task from its doc)
+//
+// Comparsion with Spinnaker:
+// PIPELINE = Spinnaker Pipeline
+// STAGE = Spinnaker Stage
+// TASK = Spinnaker Task
+//
//
// Design consideration
//
@@ -1011,6 +1021,8 @@ export const ASSIGNEE_APPLICABLE_ACTION_LIST: Map<
// respective fields. Client code could combine Pipeline status and its running step status (substatus)
// to achieve more granular behavior.
//
+// So we finally arrive the same conclusion as spinnaker
+//
// We require a stage to associate with a database. Since database belongs to an instance, which
// in turns belongs to an environment, thus the stage is also associated with an instance and environment.
// The environment has tiers which defines rules like whether requires manual approval.