Update Continuous Integration and Delivery authored by Jens Henrik Goebbert's avatar Jens Henrik Goebbert
......@@ -251,5 +251,20 @@ In this project the [CI Job "deploy-doc"](https://gitlab.version.fz-juelich.de/v
# Continuous Delivery (CD) Pipeline
... to be continued ...
| **Note:** GitLab's Continuous Delivery (CD) Pipeline can do any automatic deployment for you defined in [.gitlab-ci.yml.](https://docs.gitlab.com/ee/ci/yaml/README.html).
|:---------------------------------------------------------------------------:|
During the development of software, there can be many stages until it's ready for public consumption. You sure want to first test your code and then deploy it in a testing or staging environment before you release it to the public. That way you can prevent bugs not only in your software, but in the deployment process as well.
GitLab CI is capable of not only testing or building your projects, but also deploying them in your infrastructure, with the added benefit of giving you a way to track your deployments. In other words, you can always know what is
currently being deployed or has been deployed on your servers.
## GitLab Environments
With [GitLab Environments](https://gitlab.version.fz-juelich.de/help/ci/environments), you can control the Continuous Deployment of your software all within GitLab. All you need to do is define them in your project's
[`.gitlab-ci.yml`](yaml/README.md) as we will explore below. GitLab provides a full history of your deployments per every environment.
[GitLab Environments](https://gitlab.version.fz-juelich.de/help/ci/environments) are like tags for your CI jobs, describing where code gets deployed. Deployments are created when [jobs](yaml/README.md#jobs) deploy versions of code to environments, so every environment can have one or more deployments. GitLab keeps track of your deployments, so you always know what is currently being deployed on your servers. If you have a deployment service such as [Kubernetes](../user/project/clusters/index.md) enabled for your project, you can use it to assist with your deployments, and can even access a [web terminal](#web-terminals) for your environment from within GitLab!, you can control the Continuous Deployment of your software all within GitLab. All you need to do is define them in your project's [`.gitlab-ci.yml`](yaml/README.md) as we will explore below. GitLab provides a full history of your deployments per every environment.
Environments are like tags for your CI jobs, describing where code gets deployed. Deployments are created when [jobs](yaml/README.md#jobs) deploy versions of code to environments, so every environment can have one or more deployments. GitLab keeps track of your deployments, so you always know what is currently being deployed on your
servers. If you have a deployment service such as [Kubernetes](../user/project/clusters/index.md) enabled for your project, you can use it to assist with your deployments, and can even access a [web terminal](#web-terminals) for your environment from within GitLab!
\ No newline at end of file