Understanding Pipelines¶
Common Stages¶
The following stages are implemented by default:
Name | Description |
---|---|
.pre | default stage via GitLab |
lint | Linting stage for all linting jobs before build |
build | Build stage for all software builds |
test | Test stage to validate all software builds |
deploy | Deploy stage to ship a build to environments |
.post | default stage via GitLab populated with some helper tasks |
Example Overview of a S2I Pipeline¶
The pipeline will iterate through the stages in GitLab and hold on error, if it makes sense.
.
How a pipeline uses S2I Builds¶
A general documentation on S2I can be found here or in specific here for PHP.
.
S2I Introduction Video
Within the Pipeline there is for each stack one build:container jobs and template that triggers this automation. See .template:s2i:php_build
in .gitlab-common.yml