-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
47 lines (39 loc) · 927 Bytes
/
circle.yml
File metadata and controls
47 lines (39 loc) · 927 Bytes
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
machine:
environment:
PATH: $PATH:node_modules/.bin
CI_SHA1: $CIRCLE_SHA1
CI_BRANCH: $CIRCLE_BRANCH
CI_BUILD_NUM: $CIRCLE_BUILD_NUM
KUBECONTEXTQA: ctm-staging
KUBECONTEXTPROD: ctm-prod
node:
version: 4.5.0
services:
- docker
dependencies:
pre:
- npm install
- ensure-kubectl
- prepare-kubectl
- make all
override:
- echo "overriding inferred dependencies"
database:
override:
- echo "overriding inferred dependencies"
test:
override:
- echo "overriding inferred dependencies"
deployment:
staging:
branch: master
owner: cloudytimemachine
commands:
- kubectl config use-context ${KUBECONTEXTQA}
- k8s-deploy -f deploy/staging.config
production:
tag: /v[0-9]+(\.[0-9]+)*/
owner: cloudytimemachine
commands:
- kubectl config use-context ${KUBECONTEXTPROD}
- k8s-deploy -f deploy/production.config