Skip to main content

Azure DevOps Pipeline

You can use our CLI inside a Azure DevOps Pipeline as any other tool CLI tool.

We also provide our own Docker image to run our CLI from it.

Let's understand how you can use our CLI Docker image in your Azure DevOps Pipeline to deploy your app.

Deploy using our CLI Image

You can use our CLI Image in your Azure DevOps Pipeline to deploy your app like this:

trigger:
- main

pr:
- main

jobs:
- job: deploy
pool:
vmImage: 'ubuntu-latest'

container:
image: quaveone/quaveone-cli:latest

steps:
- checkout: self

- script: |
quaveone deploy --user-token $(QUAVEONE_USER_TOKEN) --env your-environment-name
displayName: 'Deploy with Quave ONE CLI'

Configurations:

  • env: In the Quave ONE web app, get this value under Environment Settings → CLI instructions (Environment name).
  • dir: the directory that you want to provide as the root directory of your app (optional).
  • user-token: In Quave ONE web app you get this token for your user at app.quave.cloud/profile. We recommend you to create a variable in your Azure DevOps Pipeline called QUAVEONE_USER_TOKEN.

With this configuration in place every time you push code to main branch a deployment will be triggered.

To learn more options in our CLI check our CLI docs page.