-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpipeline.gocd.yml
40 lines (38 loc) · 976 Bytes
/
pipeline.gocd.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
format_version: 2
environments:
ci:
pipelines:
- "team1UI"
pipelines:
"team1UI":
group: team1
materials:
ui:
git: "git@github.com:Sethuraman/bootcamp-just-cinemas-ui.git"
stages:
- test:
jobs:
test:
resources:
- node-and-java
tasks:
- script: |
yarn install
yarn run test_with_coverage
- build:
jobs:
build:
resources:
- node-and-java
tasks:
- script: |
yarn install
REACT_APP_API_URL="http://localhost:9090" yarn run build
- deploy:
jobs:
deploy:
resources:
- node-and-java
tasks:
- script: |
sh ./buildAndDeploy/deploy.sh team1-bootcamp-march2018