-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdeploy-and-test-cf.yml
75 lines (72 loc) · 2.19 KB
/
deploy-and-test-cf.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
resources:
- name: cf-smoke-tests
type: git
source:
uri: https://github.com/cloudfoundry/cf-smoke-tests.git
jobs:
- name: deploy-cf-in-((bosh_lite_name))
serial: true
serial_groups: [ ((bosh_lite_name)) ]
plan:
- in_parallel:
- get: 1-click
- get: ((bosh_lite_name))-cf-deployment-events
trigger: true
- get: ((bosh_lite_name))-ready-for-deployment-events
trigger: true
passed: [ update-cloud-and-runtime-config-((bosh_lite_name)) ]
- get: state
- get: cf-deployment
- task: detect-stemcell
file: 1-click/tasks/detect-stemcell.yml
- task: Generate cf deployment manifest
file: 1-click/tasks/generate-cf-deployment-manifest.yml
params:
BOSH_LITE_NAME: ((bosh_lite_name))
- put: state
params:
repository: out-state
rebase: true
- in_parallel:
- task: Deploy cf
file: 1-click/tasks/bosh-deploy.yml
params:
BOSH_LITE_NAME: ((bosh_lite_name))
# TODO: Do we want to keep this here? This task makes the pipline less generally useful.
- task: Check system_domain DNS
file: 1-click/tasks/check-dns.yml
params:
BOSH_LITE_NAME: ((bosh_lite_name))
- name: run-cf-smoke-tests-in-((bosh_lite_name))
serial: true
serial_groups: [ ((bosh_lite_name)) ]
plan:
- in_parallel:
- get: 1-click
- get: ((bosh_lite_name))-cf-deployment-events
passed: [ deploy-cf-in-((bosh_lite_name)) ]
trigger: true
- get: ((bosh_lite_name))-ready-for-deployment-events
trigger: true
passed: [ deploy-cf-in-((bosh_lite_name)) ]
- get: state
- get: cf-smoke-tests
- task: Run smoke-tests
file: 1-click/tasks/run-smoke-tests.yml
params:
BOSH_LITE_NAME: ((bosh_lite_name))
- name: Show CF login summary for ((bosh_lite_name))
plan:
- in_parallel:
- { get: 1-click }
- get: state
- get: ((bosh_lite_name))-cf-deployment-events
passed: [ deploy-cf-in-((bosh_lite_name)) ]
trigger: true
- get: ((bosh_lite_name))-ready-for-deployment-events
trigger: true
passed: [ deploy-cf-in-((bosh_lite_name)) ]
- task: Show Summary
file: 1-click/tasks/show-cf-summary.yml
params:
BOSH_LITE_NAME: ((bosh_lite_name))