-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
44 lines (36 loc) · 1.43 KB
/
appveyor.yml
File metadata and controls
44 lines (36 loc) · 1.43 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
version: 1.0.0-{build}
skip_tags: true
image: Ubuntu2004
environment:
github_apikey:
secure: otfsPx1BAgExY/kZkP2q79UlcBeM7N6dmOgb6ejiFgv0rYfrj4ceTVCE7hVqkf9q
github_nuget_apikey:
secure: REwHqDgDWHoujm/lBbXsBFrCh0+68E948v07bNmLCwYl1O8/9KghKN+114SLksUg
docker_password:
secure: 3BLFSWasBkoBDnePlBhgN0zzV0lRnmJ+BJ2WFEKHIKMt1f0j/CimHAZKFSzu9jvA
octopus_apikey:
secure: 0IgMHdGwSSfi8luQElPX8Uaq6YQoCATxDfj51hUFDpA=
chart_pass:
secure: 7tyr7himLkr10WLFocbJfA==
sonar_token:
secure: AjWsPrmfrPf3YS+bj5DEuBB/a4K/hKii8tJvN6TIn9+aCurkDx1f5SayNFJ0ZG3v
services:
- docker
install:
- nohup sh -c "ls compose | xargs -P 5 -I {} docker-compose -f compose/{}/docker-compose.yml up -d >/dev/null"
- git clone -b develop --single-branch https://$github_apikey@github.com/insperex/TwoEightyCap.DevOps.Tools.git ~/tools
- bash ~/tools/dist/shared/version.sh
- bash ~/tools/dist/dotnet/install.sh
- bash ~/tools/dist/dotnet/sonar.sh start $sonar_token
build_script: bash ~/tools/dist/dotnet/build.sh $github_nuget_apikey
test_script:
- bash ~/tools/dist/dotnet/test.sh
after_test:
- bash ~/tools/dist/dotnet/sonar.sh stop $sonar_token
- bash ~/tools/dist/dotnet/publish_nuget.sh $github_nuget_apikey
deploy_script:
- bash ~/tools/dist/shared/publish_docker.sh $docker_password out
- bash ~/tools/dist/shared/publish_helm.sh $octopus_apikey $chart_pass
artifacts:
- path: 'artifacts\**\*.nupkg'
name: nuget-package