-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathwercker.yml
More file actions
63 lines (63 loc) · 1.74 KB
/
wercker.yml
File metadata and controls
63 lines (63 loc) · 1.74 KB
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
box: microsoft/dotnet:1.1.1-sdk
no-response-timeout: 10
build:
steps:
- script:
name: restore
cwd: src/StatlerWaldorfCorp.TeamService
code: |
dotnet restore
- script:
name: build
cwd: src/StatlerWaldorfCorp.TeamService
code: |
dotnet build
- script:
name: publish
cwd: src/StatlerWaldorfCorp.TeamService
code: |
dotnet publish -o publish
- script:
name: test-restore
cwd: test/StatlerWaldorfCorp.TeamService.Tests
code: |
dotnet restore
- script:
name: test-build
cwd: test/StatlerWaldorfCorp.TeamService.Tests
code: |
dotnet build
- script:
name: test-run
cwd: test/StatlerWaldorfCorp.TeamService.Tests
code: |
dotnet test
- script:
name: integration-test-restore
cwd: test/StatlerWaldorfCorp.TeamService.Tests.Integration
code: |
dotnet restore
- script:
name: integration-test-build
cwd: test/StatlerWaldorfCorp.TeamService.Tests.Integration
code: |
dotnet build
- script:
name: integration-test-run
cwd: test/StatlerWaldorfCorp.TeamService.Tests.Integration
code: |
dotnet test
- script:
name: copy binary
cwd: src/StatlerWaldorfCorp.TeamService
code: |
cp -r . $WERCKER_OUTPUT_DIR/app
deploy:
steps:
- internal/docker-push:
cwd: $WERCKER_OUTPUT_DIR/app
username: $USERNAME
password: $PASSWORD
repository: dotnetcoreservices/teamservice
registry: https://registry.hub.docker.com
entrypoint: "/pipeline/source/app/docker_entrypoint.sh"