forked from beyondessential/tupaia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeship-steps.yml
66 lines (64 loc) · 2.69 KB
/
codeship-steps.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
- name: Validate and test
type: parallel
exclude: -e2e$
steps:
- type: parallel
name: Validate
service: validation
steps:
- name: Validate branch name
command: './packages/devops/scripts/ci/validateBranchName.sh'
- name: Validate tests
command: './packages/devops/scripts/ci/validateTests.sh'
- type: serial
name: Test
service: testing
steps:
- type: parallel
name: Test batch 1
steps:
- name: Test admin-panel-server
command: './packages/devops/scripts/ci/testBackend.sh admin-panel-server'
- name: Test central-server
command: './packages/devops/scripts/ci/testBackend.sh central-server'
- name: Test data-table-server
command: './packages/devops/scripts/ci/testBackend.sh data-table-server'
- name: Test entity-server
command: './packages/devops/scripts/ci/testBackend.sh entity-server'
- name: Test lesmis-server
command: './packages/devops/scripts/ci/testBackend.sh lesmis-server'
- name: Test meditrak-app-server
command: './packages/devops/scripts/ci/testBackend.sh meditrak-app-server'
- name: Test psss-server
command: './packages/devops/scripts/ci/testBackend.sh psss-server'
- name: Test report-server
command: './packages/devops/scripts/ci/testBackend.sh report-server'
- name: Test web-config-server
command: './packages/devops/scripts/ci/testBackend.sh web-config-server'
- type: parallel
name: Test batch 2
steps:
- name: Test auth
command: './packages/devops/scripts/ci/testBackend.sh auth'
- name: Test data-api
command: './packages/devops/scripts/ci/testBackend.sh data-api'
- name: Test data-lake-api
command: './packages/devops/scripts/ci/testBackend.sh data-lake-api'
- name: Test database
command: './packages/devops/scripts/ci/testBackend.sh database'
- name: Test indicators
command: './packages/devops/scripts/ci/testBackend.sh indicators'
- name: Test internal-dependencies
command: './packages/devops/scripts/ci/testInternalDependencies.sh'
- name: Test web-frontend
command: './packages/devops/scripts/ci/testFrontend.sh web-frontend'
- name: Deploy changes
service: deployment
command: './triggerRedeploy.sh'
- name: E2E test
type: parallel
service: e2e
tag: -e2e$
steps:
- name: E2E test
command: './packages/devops/scripts/ci/testE2e.sh'