Commit 4a38a3bb authored by Mark Pundsack's avatar Mark Pundsack

Add development workflows

parent e278feb2
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -13,7 +13,7 @@ executed. ...@@ -13,7 +13,7 @@ executed.
![Pipelines example](img/pipelines.png) ![Pipelines example](img/pipelines.png)
### Types of Pipelines ## Types of Pipelines
There are three types of pipelines that often use the single shorthand of "pipeline". People often talk about them as if each one is "the" pipeline, but really, they're just pieces of a single, comprehensive pipeline. There are three types of pipelines that often use the single shorthand of "pipeline". People often talk about them as if each one is "the" pipeline, but really, they're just pieces of a single, comprehensive pipeline.
...@@ -23,6 +23,18 @@ There are three types of pipelines that often use the single shorthand of "pipel ...@@ -23,6 +23,18 @@ There are three types of pipelines that often use the single shorthand of "pipel
2. **Deploy Pipeline**: Deploy stage(s) defined in `.gitlab-ci.yml` The flow of deploying code to servers through various stages: e.g. development to staging to production 2. **Deploy Pipeline**: Deploy stage(s) defined in `.gitlab-ci.yml` The flow of deploying code to servers through various stages: e.g. development to staging to production
3. **Project Pipeline**: Cross-project CI dependencies [triggered via API]((triggers)), particularly for micro-services, but also for complicated build dependencies: e.g. api -> front-end, ce/ee -> omnibus. 3. **Project Pipeline**: Cross-project CI dependencies [triggered via API]((triggers)), particularly for micro-services, but also for complicated build dependencies: e.g. api -> front-end, ce/ee -> omnibus.
## Development Workflows
Pipelines accommodate several development workflows:
1. **Branch Flow** (e.g. different branch for dev, qa, staging, production)
2. **Trunk-based Flow** (e.g. feature branches and single master branch, possibly with tags for releases)
3. **Fork-based Flow** (e.g. merge requests come from forks)
Example flow:
![](img/pipelines-goal.svg)
## Builds ## Builds
Builds are individual runs of [jobs]. Not to be confused with a `build` job or Builds are individual runs of [jobs]. Not to be confused with a `build` job or
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment