Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Latest commit

 

History

History
47 lines (36 loc) · 2.52 KB

README.md

File metadata and controls

47 lines (36 loc) · 2.52 KB

AzureDevOps Deployment operator

license DockerHub Quay.io

Triggers (re)deployments of releases in AzureDevOps and also auto approves them if configured.

Supports shoutrrr notifications.

Configuration

Usage:
  azuredevops-deployment-operator [OPTIONS]

Application Options:
      --dry-run                      Dry run (no redeploy triggered) [$DRY_RUN]
      --config=                      Config file (yaml) [$CONFIG]
      --singleshot                   Trigger deployments and exit (ignoring cron) [$SINGLESHOT]
      --debug                        debug mode [$DEBUG]
  -v, --verbose                      verbose mode [$VERBOSE]
      --log.json                     Switch log output to json format [$LOG_JSON]
      --azuredevops.organizationurl= Url to AzureDevops organization (eg. https://dev.azure.com/myorg) [$AZUREDEVOPS_ORGANIZATIONURL]
      --azuredevops.accesstoken=     Personal access token [$AZUREDEVOPS_ACCESSTOKEN]
      --notification.template=       Notification template (default: %v) [$NOTIFICATION_TEMPLATE]
      --notification=                Shoutrrr url for notifications (https://containrrr.github.io/shoutrrr/) [$NOTIFICATION]
      --bind=                        Server address (default: :8080) [$SERVER_BIND]

Help Options:
  -h, --help                         Show this help message

for configuration file see example.yaml

Metrics

(see :8080/metrics)

Metric Description
azuredevops_deployment_operator_deployment_counter Count of (re)deployments
azuredevops_deployment_operator_deployment_status Status if deployment was triggered
azuredevops_deployment_operator_deployment_time Last deployment time