DigitalOcean CLI

Do more with DigitalOcean CLI

Buddy CI/CD allows you to instantly implement DigitalOcean CLI with 100+ ready to use actions to automate your development and build better apps faster.

Use DigitalOcean CLI in Buddy CI/CD

DigitalOcean CLI - Features, integrations, alternatives & more

What it does

This action executes DigitalOcean CLI commands. The doctl makes it easy to create and manage your DigitalOcean integration directly from the terminal. It’s an essential part of using DigitalOcean.

How it works

The action launches a container with preinstalled DigitalOcean CLI. Once launched, it’s already authorized against provided in the action settings of DigitalOcean account. The container has mounted pipeline filesystem which contains pulled repository.

The action uses Buddy’s OAuth integration with a DigitalOcean account.

Action preview

Preview DigitalOcean CLI action

DigitalOcean Action Features

Heroku CLI Action Features

  • The commands support Environment Variables
  • The field Run commands supports multiple commands (one per line), piping commands together, or splitting a single command into multiple lines with \ (backslash) at the end of each line
  • The action can be configured in YAML mode. See DigitalOcean CLI YAML parameters and DigitalOcean CLI YAML config example
  • Buddy's DigitalOcean CLI API is supported
  • The action supports conditional execution: it can be run on each execution, only if there are changes in the repository or specific paths since last execution or if an environment variable has a specific value
  • Optionally it’s possible to select Heroku application using the action UI, in that case parameter --app is not needed
  • The commands are executed in the context of the pipeline’s filesystem, it means that if a command creates a file, it will stay in the filesystem
  • It’s possible to get data from Heroku and pass it to settable environment variables which can be later used by the next actions in the pipeline
  • Action is marked as failed when a command exits with non-zero value
  • Error handling: you can either stop the execution, mark action and pipeline as failed or proceed the execution, mark action as warning and jump to the next action

More about DigitalOcean CLI

More about DigitalOcean CLI

1 - 3 (of 145)