This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
forked from ForstaLabs/forsta-web-messenger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
64 lines (64 loc) · 1.51 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
kind: pipeline
name: default
clone:
depth: 1
trigger:
event:
- push
steps:
- name: build
image: plugins/ecr
privileged: true
settings:
repo: 577012953595.dkr.ecr.us-west-2.amazonaws.com/relay-web-app
registry: 577012953595.dkr.ecr.us-west-2.amazonaws.com
region: us-west-2
tags: commit-${DRONE_COMMIT},dev-build-${DRONE_BUILD_NUMBER}
build_args:
- source_version=${DRONE_COMMIT}
- build_target=ci
volumes:
- name: docker
path: /var/run/docker.sock
- name: deploy-master
image: quay.io/honestbee/drone-kubernetes
when:
branch:
- master
settings:
kubernetes_server: https://172.20.0.1
kubernetes_token:
from_secret: drone-deploy-token
kubernetes_cert:
from_secret: drone-deploy-cert
deployment: relay-web-app
repo: 577012953595.dkr.ecr.us-west-2.amazonaws.com/relay-web-app
container: web
tag: commit-${DRONE_COMMIT}
- name: deploy-bleeds
image: quay.io/honestbee/drone-kubernetes
when:
branch:
- bleeds
settings:
kubernetes_server: https://172.20.0.1
kubernetes_token:
from_secret: drone-deploy-token
kubernetes_cert:
from_secret: drone-deploy-cert
deployment: relay-web-app-bleeds
repo: 577012953595.dkr.ecr.us-west-2.amazonaws.com/relay-web-app
container: web
tag: commit-${DRONE_COMMIT}
- name: notify
image: plugins/webhook
settings:
urls: http://172.20.207.235/drone
when:
status:
- success
- failure
volumes:
- name: docker
host:
path: /var/run/docker.sock