Prerequisites
Before you can deploy your application with GitLab CI, you need to:- Install the Qovery CLI
- Generate a Qovery API token (via CLI or Console)
- Set the environment variable
QOVERY_CLI_ACCESS_TOKENwith your API token - Disable Qovery Auto Deployment on the services you want to deploy manually
Deploy a Container Application
Here is an example of a GitLab CI configuration file (.gitlab-ci.yml) to deploy a container application:
- A container registry connected to Qovery
- An existing container application on Qovery
- Set the
QOVERY_CLI_ACCESS_TOKENvariable in your GitLab CI/CD settings