Sign inSign up

duplocloud/pipe

By duplocloud

Updated 6 months ago

Image
0

3.4K

duplocloud/pipe repository overview

Bitbucket Pipe for Duploctl

A bitbucket wrapper for the duploctl. Implements the bitbucket pipe tools and the duploctl as python libraries to give a nice and integrated kinda feel to it.

YAML Definition

- pipe: &duplo docker://duplocloud/pipe:latest
  variables: &duplovars
    TOKEN: <string>
    HOST: <string>
    TENANT: <string>
    KIND: service
    NAME: my-app
    CMD: update_image
    ARGS: registry.com/my-app:${BITBUCKET_TAG}
    WAIT: 'true' # waits for deploy to finish
- pipe: *duplo
  variables:
    <<: *duplovars
    KIND: lambda
    NAME: my-lambda
    ARGS: registry.com/my-lambda:latest

Variables

VariableUsage
TOKENAuth token for Duplo
HOSTThe domain of your Duplo instance
TENANTThe tenant where the service is in
KINDThe kind of the service (service, lambda)
NAMEThe name of the service
CMDThe command to run on the service
ARGSAdditional arguments to pass to the command
ADMINRun the command as an admin
QUERYThe JMESPATH query to run on the output of the command
OUTPUTThe output format (yaml, json)
WAITTells duploctl to wait until a process has completed before continuing
OUTPUT_FILEWrite the output to a file
LOG_LEVELLog verbosity for the duploctl client (DEBUG, INFO, WARN, ERROR). Default: WARN

Prerequisites

To make an update to a service you will need a duplo token.

References

GitHub Actions

Tag summary

Content type

Image

Digest

sha256:bcbd5cfaa

Size

54.4 MB

Last updated

6 months ago

docker pull duplocloud/pipe