Skip to content

Commit 98c313f

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 98c580f commit 98c313f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

azure-pipelines.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,22 @@ trigger:
99
jobs:
1010
- job: Test_Coverage
1111
pool:
12-
vmImage: 'macOS-latest'
12+
vmImage: 'ubuntu-16.04'
1313

14+
## Multi-container support here
15+
services:
16+
postgres:
17+
image: postgres:12-alpine
18+
ports:
19+
- "5432:5432"
20+
volumes:
21+
- db-data:/var/lib/postgresql/data
22+
env:
23+
POSTGRES_USER: postgres
24+
POSTGRES_DB: postgres
25+
POSTGRES_PASSWORD: password
26+
## End multi-container
27+
1428
steps:
1529
- task: NodeTool@0
1630
inputs:
@@ -30,20 +44,6 @@ jobs:
3044
image: circleci/node:14.15.4
3145
name: react-ssr-advanced
3246

33-
## Multi-container support here
34-
services:
35-
postgres:
36-
image: circleci/postgres:9.6.16-alpine
37-
ports:
38-
- "5432:5432"
39-
volumes:
40-
- db-data:/var/lib/postgresql/data
41-
env:
42-
POSTGRES_USER: postgres
43-
POSTGRES_DB: postgres
44-
POSTGRES_PASSWORD: password
45-
## End multi-container
46-
4747
steps:
4848
- script: |
4949
export CHOKIDAR_USEPOLLING=1

0 commit comments

Comments
 (0)