You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Pull Request**|`.github/workflows/cicd-1-pull-request.yml`|`pull_request` (opened/sync/reopened) | Commit/Test/Build/Acceptance stages | No tags/releases |
22
-
|**Dev**|`.github/workflows/cicd-2-publish.yml`|`push` to `main`| Builds & deploys to dev| Creates and pushes `dev-YYYYMMDDHHMMSS` tag |
22
+
|**Dev**|`.github/workflows/cicd-2-publish.yml`|`push` to `main`| Builds & deploys to Dev| Creates and pushes `Dev-YYYYMMDDHHMMSS` tag |
23
23
|**Test**|`.github/workflows/cicd-3-test.yml`| Manual (`workflow_dispatch`) | Deploys the chosen tag to test | No tags, no releases |
24
-
|**Preprod**|`.github/workflows/cicd-4-preprod-deploy.yml` → calls `base-deploy.yml`| Manual (`workflow_dispatch`) | Deploys chosen ref and **creates/bumps an RC tag**; pre-release |`vX.Y.Z-rc.N` + GitHub **pre-release**|
24
+
|**Preprod**|`.github/workflows/cicd-4-Preprod-deploy.yml` → calls `base-deploy.yml`| Manual (`workflow_dispatch`) | Deploys chosen ref and **creates/bumps an RC tag**; pre-release |`vX.Y.Z-rc.N` + GitHub **pre-release**|
25
25
|**Prod**|`.github/workflows/cicd-5-prod-deploy.yml` → calls `base-deploy.yml`| Manual (`workflow_dispatch`) | Promotes a specific RC to final |`vX.Y.Z` + GitHub **Release**|
26
26
27
-
> **Note:** The preprod/prod entry workflows are thin wrappers around a **reusable** workflow (`base-deploy.yml`).
27
+
> **Note:** The Preprod/prod entry workflows are thin wrappers around a **reusable** workflow (`base-deploy.yml`).
28
28
29
29
---
30
30
@@ -47,11 +47,11 @@ Releases are immutable and auditable:
47
47
**File:**`CI/CD publish`
48
48
**Trigger:** push to `main`
49
49
50
-
- Builds & deploys to **dev**.
51
-
- Creates a timestamped **dev tag**: `dev-YYYYMMDDHHMMSS`
50
+
- Builds & deploys to **Dev**.
51
+
- Creates a timestamped **Dev tag**: `Dev-YYYYMMDDHHMMSS`
52
52
- No SemVer, no GitHub Release.
53
53
54
-
**Why:** fast feedback and a stable pointer (the dev tag) you can later promote to **test** or use as the **preprod ref**.
54
+
**Why:** fast feedback and a stable pointer (the Dev tag) you can later promote to **test** or use as the **Preprod ref**.
55
55
56
56
---
57
57
@@ -62,7 +62,7 @@ Releases are immutable and auditable:
62
62
63
63
### Inputs
64
64
65
-
-`tag`: the ref to deploy (e.g., a **dev** tag created by the dev workflow).
65
+
-`tag`: the ref to deploy (e.g., a **Dev** tag created by the Dev workflow).
66
66
-`environment`: fixed to `test`.
67
67
68
68
### Behavior
@@ -72,18 +72,18 @@ Releases are immutable and auditable:
72
72
73
73
### Recommended usage
74
74
75
-
- Deploy the **same commit** that was verified in dev by supplying the `dev-<timestamp>` tag here.
75
+
- Deploy the **same commit** that was verified in Dev by supplying the `Dev-<timestamp>` tag here.
| Deploy automatically after merge to main |**Dev** (auto) |`main` (implicit) | n/a | Deploys to dev, creates `dev-YYYYMMDDHHMMSS`|
129
-
| Deploy an existing build to test |**Test** (manual) | a tag (e.g. `dev-20250817…`) | n/a | Deploys to test (no tags/releases) |
130
-
| Start a **new patch release** into preprod|**Preprod** (manual) | branch/tag/SHA |`patch`|`vX.Y.(Z+1)-rc.1` + pre-release |
131
-
| Start a **new minor release** into preprod|**Preprod**| branch/tag/SHA |`minor`|`vX.(Y+1).0-rc.1` + pre-release |
132
-
| Start a **new major release** into preprod|**Preprod**| branch/tag/SHA |`major`|`v(X+1).0.0-rc.1` + pre-release |
128
+
| Deploy automatically after merge to main |**Dev** (auto) |`main` (implicit) | n/a | Deploys to Dev, creates `Dev-YYYYMMDDHHMMSS`|
129
+
| Deploy an existing build to test |**Test** (manual) | a tag (e.g. `Dev-20250817…`) | n/a | Deploys to test (no tags/releases) |
130
+
| Start a **new patch release** into Preprod|**Preprod** (manual) | branch/tag/SHA |`patch`|`vX.Y.(Z+1)-rc.1` + pre-release |
131
+
| Start a **new minor release** into Preprod|**Preprod**| branch/tag/SHA |`minor`|`vX.(Y+1).0-rc.1` + pre-release |
132
+
| Start a **new major release** into Preprod|**Preprod**| branch/tag/SHA |`major`|`v(X+1).0.0-rc.1` + pre-release |
133
133
| Cut **another candidate** for the **same base**|**Preprod**| branch/tag/SHA (same train) |`rc`|`vX.Y.Z-rc.N+1` + pre-release |
134
134
| Promote a **tested RC** to production |**Prod** (manual) | RC tag (e.g. `v1.4.0-rc.2`) | n/a |`v1.4.0` + GitHub Release |
135
135
136
136
---
137
137
138
138
## Versioning Rules
139
139
140
-
-**Dev tags**: `dev-YYYYMMDDHHMMSS` (automation convenience; never promoted to prod directly).
141
-
-**RC tags**: `vX.Y.Z-rc.N` (preprod only; immutable; one per candidate).
140
+
-**Dev tags**: `Dev-YYYYMMDDHHMMSS` (automation convenience; never promoted to prod directly).
141
+
-**RC tags**: `vX.Y.Z-rc.N` (Preprod only; immutable; one per candidate).
142
142
-**Final tags**: `vX.Y.Z` (prod only; immutable; exactly what shipped).
143
143
144
144
### Promotion path
145
145
146
-
- Choose a commit (often via a **dev tag**) → cut RC(s) in **preprod** → promote the selected RC to **prod**.
146
+
- Choose a commit (often via a **Dev tag**) → cut RC(s) in **Preprod** → promote the selected RC to **prod**.
147
147
148
148
---
149
149
150
150
## Common Q&A
151
151
152
-
**Can I use a dev tag as the preprod`ref`?**
153
-
Yes. `ref` can be any branch/tag/SHA. Using a `dev-<timestamp>` tag guarantees you deploy the **same commit** previously built on dev.
152
+
**Can I use a Dev tag as the Preprod`ref`?**
153
+
Yes. `ref` can be any branch/tag/SHA. Using a `Dev-<timestamp>` tag guarantees you deploy the **same commit** previously built on Dev.
154
154
155
155
**What does `rc` mean?**
156
156
**Release Candidate**: a build that could become the final version if it passes testing. Each new candidate for the same base version increments the suffix: `-rc.1`, `-rc.2`, …
157
157
158
-
**What if I already have `v1.4.0-rc.1` and I need another preprod build for the same release?**
158
+
**What if I already have `v1.4.0-rc.1` and I need another Preprod build for the same release?**
159
159
Run **Preprod Deploy** with `release_type=rc` to get `v1.4.0-rc.2`.
160
160
161
-
**What if I discover issues after preprod?**
161
+
**What if I discover issues after Preprod?**
162
162
Fix, then cut a new RC (`-rc.N+1`). Only promote to prod when ready.
163
163
164
164
---
@@ -167,8 +167,8 @@ Fix, then cut a new RC (`-rc.N+1`). Only promote to prod when ready.
0 commit comments