-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline.yml
81 lines (76 loc) · 1.88 KB
/
pipeline.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
resources:
- name: git-teamfemr2-app
type: git
source:
uri: https://github.com/femr/teamfemr2.git
branch: master
- name: git-femr-app
type: git
source:
uri: https://github.com/femr/femr.git
branch: master
- name: git-concourse-app
type: git
source:
uri: https://github.com/kevinzurek/teamfemr-concourse
branch: master
- name: s3-config
type: s3
source:
access_key_id: {{aws_access_key_id}}
secret_access_key: {{aws_secret_access_key}}
bucket: femr-app
versioned_file: femr.zip
jobs:
- name: deploy-TeamfEMR
public: true
plan:
- get: git-concourse-app
- get: git-teamfemr2-app
trigger: true
- task: teamfemr2-deploy
file: git-concourse-app/teamfemr2/task_deploy.yml
params:
AWS_ACCESS_KEY_ID: {{aws_access_key_id}}
AWS_SECRET_ACCESS_KEY: {{aws_secret_access_key}}
AWS_DEFAULT_REGION: us-east-1
AWS_DEFAULT_OUTPUT: json
- name: build-test-fEMR
public: true
plan:
- get: git-concourse-app
- get: git-femr-app
trigger: true
- task: femr-build
file: git-concourse-app/femr/task_run_build.yml
- task: femr-test
file: git-concourse-app/femr/task_run_tests.yml
- name: package-fEMR
public: true
plan:
- get: git-concourse-app
- get: git-femr-app
passed: [build-test-fEMR]
trigger: true
- get: s3-config
- task: femr-package
file: git-concourse-app/femr/task_run_package.yml
- put: s3-config
params: {file: femr-dist/femr.zip}
- name: deploy-FEMR
public: true
plan:
- get: git-concourse-app
- get: s3-config
passed: [package-fEMR]
- get: git-femr-app
passed: [package-fEMR]
trigger: true
- task: femr-deploy
file: git-concourse-app/femr/task_run_deploy.yml
params:
AWS_ACCESS_KEY_ID: {{aws_access_key_id}}
AWS_SECRET_ACCESS_KEY: {{aws_secret_access_key}}
AWS_DEFAULT_REGION: us-east-1
AWS_DEFAULT_OUTPUT: json