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.
 
 
 

37 lines
691 B

---
kind: pipeline
type: docker
name: Waypoint
workspace:
path: /drone/workspace
steps:
- name: build
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
---
kind: secret
name: WAYPOINT_SERVER_TOKEN
data: yYSmJ+ShC0BcgGptRBVK2pbdagqE+N03A5++izgkwIgs1IyHIDfpzrdtlVtkvMHAnw==