CI: Remove stable/phosphorus jobs
[releng/builder.git] / jjb / autorelease / autorelease-branch-lock.yaml
index 4fd72cdd0f162834a315d929671a6a802340839f..25ba3e5c860b56a1c07635e7403c4a755b276ec9 100644 (file)
           project: "{project}"
           stream: "{stream}"
           branch: "{branch}"
+      - string:
+          name: GERRIT_BRANCH_NEXT
+          default: ""
+          description: |
+            Gerrit parameter to identify a new Gerrit branch for branch cutting.
+            ex: stable/sulfur, stable/chlorine
       - bool:
           name: DRY_RUN
           default: true
       - choice:
           name: GERRIT_ACCESS_MODE
           choices:
+            - branch-cut
             - code-freeze
             - supercommitters
             - release-prep
             - unlock
           description: |
+            If BRANCH_CUT is selected then the GERRIT_BRANCH and master is locked for registered users.
             If CODE_FREEZE is selected then the GERRIT_BRANCH is locked for registered users.
             If RELEASE_PREP is selected then the GERRIT_BRANCH is locked for registered users and unlocked for RELENG.
             If SUPERCOMMITTERS is selected then supercommitters rights are granted on the GERRIT_BRANCH.
@@ -80,9 +88,9 @@
     jobs:
       - "{project-name}-gerrit-branch-lock-{stream}"
     stream:
-      - sulfur:
+      - argon:
           branch: "master"
-      - phosphorus:
-          branch: "stable/phosphorus"
-      - silicon:
-          branch: "stable/silicon"
+      - chlorine:
+          branch: "stable/chlorine"
+      - sulfur:
+          branch: "stable/sulfur"