2018-10-12 19:49:53 +03:00
|
|
|
version: '2.2.0-{branch}-{build}'
|
2017-10-09 19:15:35 +03:00
|
|
|
init:
|
|
|
|
- git config --global core.autocrlf true
|
2018-10-12 19:49:53 +03:00
|
|
|
image: Visual Studio 2017
|
|
|
|
skip_tags: true
|
2017-10-09 19:15:35 +03:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- dev
|
2018-10-12 19:49:53 +03:00
|
|
|
- /^update[0-9]{2}x/
|
2017-10-09 19:15:35 +03:00
|
|
|
install:
|
2018-04-02 18:43:45 +03:00
|
|
|
- git clone https://github.com/SteeltoeOSS/steeltoe-ci.git -v
|
|
|
|
- ps: steeltoe-ci\scripts\appveyor_install.ps1
|
2017-10-09 19:15:35 +03:00
|
|
|
test_script:
|
2018-04-02 18:43:45 +03:00
|
|
|
- ps: steeltoe-ci\scripts\appveyor_tests.ps1
|
2017-10-09 19:15:35 +03:00
|
|
|
build_script:
|
2018-04-02 18:43:45 +03:00
|
|
|
- ps: steeltoe-ci\scripts\appveyor_build.ps1
|
2018-10-18 21:44:21 +03:00
|
|
|
- ps: steeltoe-ci\scripts\sign-packages.ps1
|
2017-10-09 19:15:35 +03:00
|
|
|
artifacts:
|
2018-10-18 21:44:21 +03:00
|
|
|
- path: 'localfeed\*.nupkg'
|
2018-04-02 18:43:45 +03:00
|
|
|
environment:
|
2018-05-16 20:49:28 +03:00
|
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
2018-04-02 18:43:45 +03:00
|
|
|
PackageReferencesToUpdate: SteeltoeCommonVersion
|
|
|
|
github_access_token:
|
|
|
|
secure: ko4J3M/czguVI9AbVdkv5qZuj3Wuzts5nkz/6cypneFkQGWJXDs8Akg7xOEMu8qU
|
2018-10-18 21:44:21 +03:00
|
|
|
SignClientUser:
|
|
|
|
secure: Tt9mySuspn9dHJOLKMoGxrNJvJbpBrWK44UI9Qc9+eNilYdoukHZ3jUF06pl2r60
|
|
|
|
SignClientSecret:
|
|
|
|
secure: ZmCTr+SyfQtewSNsiB8OMISmQJp8RfjRSK0Dvg60iTQ=
|
2017-10-09 19:15:35 +03:00
|
|
|
deploy:
|
|
|
|
- provider: NuGet
|
|
|
|
skip_symbols: false
|
|
|
|
artifact: /.*\.nupkg/
|
|
|
|
server: https://www.myget.org/F/steeltoedev/api/v2/package
|
2018-04-02 18:43:45 +03:00
|
|
|
symbol_server: https://www.myget.org/F/steeltoedev/symbols/api/v2/package
|
2017-10-09 19:15:35 +03:00
|
|
|
api_key:
|
|
|
|
secure: 246ApObnMYYvzDo9Ki72CxxuKfuoqYbrbUK2HLevGIGHXYY6f0OkAdE3EWCwNJ7g
|
|
|
|
on:
|
|
|
|
branch: dev
|
|
|
|
appveyor_repo_tag: false
|
|
|
|
- provider: NuGet
|
2018-04-02 18:43:45 +03:00
|
|
|
skip_symbols: false
|
2017-10-09 19:15:35 +03:00
|
|
|
artifact: /.*\.nupkg/
|
2018-04-02 18:43:45 +03:00
|
|
|
server: https://www.myget.org/F/steeltoemaster/api/v2/package
|
|
|
|
symbol_server: https://www.myget.org/F/steeltoemaster/symbols/api/v2/package
|
2017-10-09 19:15:35 +03:00
|
|
|
api_key:
|
2018-04-02 18:43:45 +03:00
|
|
|
secure: 246ApObnMYYvzDo9Ki72CxxuKfuoqYbrbUK2HLevGIGHXYY6f0OkAdE3EWCwNJ7g
|
2017-10-09 19:15:35 +03:00
|
|
|
on:
|
|
|
|
branch: master
|
2018-04-02 18:43:45 +03:00
|
|
|
appveyor_repo_tag: false
|
2017-10-09 19:15:35 +03:00
|
|
|
- provider: NuGet
|
|
|
|
skip_symbols: true
|
|
|
|
artifact: /.*\.nupkg/
|
2018-04-02 18:43:45 +03:00
|
|
|
server: https://www.myget.org/F/steeltoestaging/api/v2/package
|
|
|
|
symbol_server: https://www.myget.org/F/steeltoestaging/symbols/api/v2/package
|
2017-10-09 19:15:35 +03:00
|
|
|
api_key:
|
|
|
|
secure: 246ApObnMYYvzDo9Ki72CxxuKfuoqYbrbUK2HLevGIGHXYY6f0OkAdE3EWCwNJ7g
|
|
|
|
on:
|
2018-04-02 18:43:45 +03:00
|
|
|
branch: /^update[0-9]{2}x/
|
2017-10-09 19:15:35 +03:00
|
|
|
appveyor_repo_tag: false
|
2018-04-02 18:43:45 +03:00
|
|
|
after_deploy:
|
|
|
|
- git config --global credential.helper store
|
|
|
|
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):x-oauth-basic@github.com`n"
|
|
|
|
- git config --global user.email "steeltoe@pivotal.io"
|
|
|
|
- git config --global user.name "SteeltoeCI"
|
|
|
|
- ps: steeltoe-ci\scripts\update_downstream_props.ps1
|