-
Notifications
You must be signed in to change notification settings - Fork 5
/
bitbucket-pipelines.yml
54 lines (50 loc) · 1.47 KB
/
bitbucket-pipelines.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
pipelines:
default:
- parallel:
- step:
name: Push code to CodeCommit
clone:
depth: full
script:
- git remote add codecommit "$CODE_COMMIT_REPO"
- git push --force -u codecommit "$BITBUCKET_BRANCH"
- git push codecommit --tags --force
- step:
name: Build and test web app
image: atlassian/default-image:3
size: 2x
script:
- apt-get update && apt-get install -y awscli
- echo "test" > VERSION
- make -C services/webapp build-test ENV_STAGE=test
services:
- docker
caches:
- docker
- step:
name: Test backend
image: atlassian/default-image:3
size: 2x
script:
- echo "test" > VERSION
- make -C services/backend test ENV_STAGE=test
services:
- docker
caches:
- docker
- step:
name: Test async-workers
image: atlassian/default-image:3
size: 2x
script:
- apt-get update && apt-get install -y awscli
- echo "test" > VERSION
- make -C services/workers test ENV_STAGE=test
services:
- docker
caches:
- docker
definitions:
services:
docker:
memory: 7128