A service for recording videos of a webpage
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.
 
 
 

65 lines
1.3 KiB

---
kind: pipeline
type: docker
name: Waypoint
environment:
WAYPOINT_SERVER_ADDR: waypoint.smaug.dev:9701
WAYPOINT_SERVER_TLS: 1
WAYPOINT_SERVER_TLS_SKIP_VERIFY: 1
steps:
- name: build
image: registry.gitlab.com/gitlab-org/waypoint-images:latest
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- waypoint init
- waypoint build
environment:
WAYPOINT_SERVER_TOKEN:
from_secret: WAYPOINT_SERVER_TOKEN
WP_VAR_redis_password:
from_secret: REDIS_PASSWORD
- name: deploy
image: registry.gitlab.com/gitlab-org/waypoint-images:latest
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- waypoint deploy -local=false -release=false
environment:
WAYPOINT_SERVER_TOKEN:
from_secret: WAYPOINT_SERVER_TOKEN
WP_VAR_redis_password:
from_secret: REDIS_PASSWORD
- name: release
image: registry.gitlab.com/gitlab-org/waypoint-images:latest
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- waypoint release -local=false -prune-retain=0
environment:
WAYPOINT_SERVER_TOKEN:
from_secret: WAYPOINT_SERVER_TOKEN
WP_VAR_redis_password:
from_secret: REDIS_PASSWORD
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
trigger:
branch:
- master
- main
event:
- push
- pull_request
- custom