-
Notifications
You must be signed in to change notification settings - Fork 2
/
continuous-pipe.yml
39 lines (36 loc) · 1.46 KB
/
continuous-pipe.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
variables:
- name: COMMIT_SHA
expression: code_reference.sha
defaults:
cluster: ${CLUSTER}
environment:
name: '"documentation-" ~ code_reference.branch'
tasks:
image:
build:
services:
web:
image: quay.io/inviqa_images/continuouspipe
tag: documentation-${COMMIT_SHA}
deployment:
deploy:
services:
web:
endpoints:
- name: dev
ingress:
class: nginx
host_suffix: 'documentation-dev.continuouspipe.io'
cloud_flare_zone: { zone_identifier: '${CLOUD_FLARE_ZONE}', proxied: true, authentication: { email: '${CLOUD_FLARE_EMAIL}', api_key: '${CLOUD_FLARE_API_KEY}' } }
ssl_certificates: [{ name: auto, cert: automatic, key: automatic }]
- name: stable
ingress:
class: nginx
host: continuouspipe.github.io
condition: 'code_reference.branch == "master"'
ssl_certificates: [{ name: auto, cert: automatic, key: automatic }]
deployment_strategy:
readiness_probe:
type: http
port: 80
path: /