Template for a new Smaug project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
827 B

---
kind: pipeline
type: docker
name: Waypoint
workspace:
path: /drone/workspace
steps:
3 years ago
- name: smaug_build
image: registry.digitalocean.com/smaug/smaug
commands:
- ls
- name: waypoint_deploy
image: hashicorp/waypoint:latest
environment:
WAYPOINT_SERVER_TOKEN:
from_secret: WAYPOINT_SERVER_TOKEN
WAYPOINT_SERVER_ADDR: waypoint.smaug.dev:9701
WAYPOINT_SERVER_TLS: 1
WAYPOINT_SERVER_TLS_SKIP_VERIFY: 1
commands:
- waypoint init
- waypoint build -remote
- waypoint deploy -remote -release=false
- waypoint release -remote -prune-retain=0
trigger:
branch:
- master
- main
event:
- push
- pull_request
3 years ago
image_pull_secrets:
- DOCKER_CONFIG
---
kind: secret
name: WAYPOINT_SERVER_TOKEN
data: yYSmJ+ShC0BcgGptRBVK2pbdagqE+N03A5++izgkwIgs1IyHIDfpzrdtlVtkvMHAnw==