forked from SteeltoeOSS/Discovery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
63 lines (63 loc) · 2.18 KB
/
.appveyor.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
version: '2.1.0-{branch}-{build}'
init:
- git config --global core.autocrlf true
image: Visual Studio 2017
branches:
only:
- master
- dev
- /^update[0-9]{2}x/
install:
- ps: dotnet --info
- git clone https://github.com/SteeltoeOSS/steeltoe-ci.git -v
- ps: steeltoe-ci\scripts\appveyor_install.ps1
test_script:
- ps: steeltoe-ci\scripts\appveyor_tests.ps1
build_script:
- ps: steeltoe-ci\scripts\appveyor_build.ps1
artifacts:
- path: '**\*.nupkg'
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
ProjectList: Steeltoe.Discovery.EurekaBase Steeltoe.Discovery.ClientCore Steeltoe.Discovery.ClientAutofac
PackageReferencesToUpdate: SteeltoeEurekaVersion
github_access_token:
secure: ko4J3M/czguVI9AbVdkv5qZuj3Wuzts5nkz/6cypneFkQGWJXDs8Akg7xOEMu8qU
deploy:
- provider: NuGet
skip_symbols: false
artifact: /.*\.nupkg/
server: https://www.myget.org/F/steeltoedev/api/v2/package
symbol_server: https://www.myget.org/F/steeltoedev/symbols/api/v2/package
api_key:
secure: 246ApObnMYYvzDo9Ki72CxxuKfuoqYbrbUK2HLevGIGHXYY6f0OkAdE3EWCwNJ7g
on:
branch: dev
appveyor_repo_tag: false
- provider: NuGet
skip_symbols: false
artifact: /.*\.nupkg/
server: https://www.myget.org/F/steeltoemaster/api/v2/package
symbol_server: https://www.myget.org/F/steeltoemaster/symbols/api/v2/package
api_key:
secure: 246ApObnMYYvzDo9Ki72CxxuKfuoqYbrbUK2HLevGIGHXYY6f0OkAdE3EWCwNJ7g
on:
branch: master
appveyor_repo_tag: false
- provider: NuGet
skip_symbols: true
artifact: /.*\.nupkg/
server: https://www.myget.org/F/steeltoestaging/api/v2/package
symbol_server: https://www.myget.org/F/steeltoestaging/symbols/api/v2/package
api_key:
secure: 246ApObnMYYvzDo9Ki72CxxuKfuoqYbrbUK2HLevGIGHXYY6f0OkAdE3EWCwNJ7g
on:
branch: /^update[0-9]{2}x/
appveyor_repo_tag: false
after_deploy:
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):[email protected]`n"
- git config --global user.email "[email protected]"
- git config --global user.name "SteeltoeCI"
- ps: steeltoe-ci\scripts\update_downstream_props.ps1