Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 1.82 KB

continuous-deployment.md

File metadata and controls

45 lines (25 loc) · 1.82 KB
description
Function is still in the works, anomalies might occur.

Continuous Deployment

How it works?

After the CI/CD pipeline builds and pushes the image to a container registry, the pipeline triggers the deployment on the platform. The platform automatically signals to the agent that it should pull and start the image with the tag that already exists on the node.

Generate CD token

Step 1. Create a versioned project.

Step 2. Add a rolling version to the project.

Step 3. Add images to the version.

Step 4. Add a deployment to the version.

Step 5. Click Create in the Deployment token card.

Step 6. Enter a name for your deployment token and set its expiration time, then click Create. You'll need to generate a new one when the token expires.

Step 7. Save the token somewhere secure as you won't be able to retrieve it later. Click Close when you're done.

Step 8. Paste the curl command into the pipeline.

{% hint style="danger" %} Never store your token in your git repository. Use pipeline secrets instead. {% endhint %}

How to revoke token?

You can revoke the token by clicking on the Revoke token button in the Deployment token card.