-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(ci/cd): add
cd-github-vs-gitlab
doc
- Loading branch information
1 parent
ab7f069
commit fd35504
Showing
4 changed files
with
2,598 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
apps/archive/docs/engineering-playbook/CI-CD/cd-github-vs-gitlab.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: Continuous Delivery GitHub vs GitLab | ||
--- | ||
|
||
# Continuous Delivery: GitHub vs GitLab | ||
|
||
![Continuous Delivery: GitHub vs GitLab](/img/cd-github-vs-gitlab.png) | ||
|
||
## GitHub: | ||
|
||
Github does not support manual jobs out of the box. We can only create manually triggered workflows. | ||
|
||
- On the image we could see the GitHub Continuous Delivery mainline - a manually triggered workflow for deploying to production runs only on the latest commit in our mainline branch. | ||
- Only the last deployed commit is marked as deployable, with no deployment actions along the way. | ||
- Rollback is indicated on one of the earlier commits that was deployed to production. | ||
|
||
Conclusion: We don't have an ability to deploy any version of the mainline branch, only the latest commit. | ||
|
||
## GitLab | ||
|
||
- In the GitLab workflow, each Conitnuous Delivery pipeline on the mainline its own manual `Deploy to Prod` job, and each successful deployment is labeled as "Deployed". | ||
- Each commit is marked as deployable. | ||
- Rollback is indicated on one of the earlier commits that was deployed to production. | ||
|
||
Conclusion: We have an ability to deploy any version of the mainline branch, not only the latest commit. | ||
|
||
## Conclusion | ||
|
||
GitLab provides a more flexible approach to deployment, improves Continuous Delivery process, and provides easier rollback options. |
Oops, something went wrong.