How to deploy a pipeline?
What is Deployment?​
A deployment is an instance of a pipeline execution (which pulls the code from the source code repository, builds it and releases it in a particular environment).
Once the pipeline is created, it can be deployed via direct commits on code repositories (if CD is enabled) or manual deployments from the pipelines page UI.
Accessing the deployment page​
- Go to Humalect console's
dashboard
. - Click on
Projects
. Select a Project of your choice. - Click on
Pipelines
. Select a Pipeline of your choice. - Click on
Deployments
and you will see the page as below.
Components of Deployments​
- At the top, you can see the name of the
project
,cluster
, andrepository
with which your pipeline is created. - You can see the
branch
and theenvironment
(default in this case), to which your pipeline is linked. Deploy Pipeline
button can be used for manual deployment of the pipeline.Show Metrics and Logs
shows real timeCPU
andmemory
usage of your deployment. It also streams the logs of your existing Kubernetes deployment.Time
field displays timestamp of the deployment.Trigger
shows the type of deployment, it can bemanual
orautomatic
. The value of the field isautomatic
ifCD
was enabled in pipeline andmanual
if the pipeline was deployed manually.Commit
field redirects the user to the exact git commit which was deployed.Deployment
field shows the deployment progressStatus
fields shows the status of various steps involved.
What are various ways of deploying my pipeline?​
There are two ways of deploying your pipeline via Humalect's console:
- Manual: It could be done by clicking on the `Deploy Pipeline` button.
- Automatic: Deployment happens automatically on every commit in the specific branch of the source code repository.
Troubleshooting​
Need help? Contact us