Connectors/.appveyor.yml

64 строки
2.4 KiB
YAML
Исходник Обычный вид История

2018-02-20 21:06:15 +03:00
version: '2.1.0-{branch}-{build}'
2016-06-28 19:14:02 +03:00
init:
- git config --global core.autocrlf true
2017-04-20 19:18:30 +03:00
image: Visual Studio 2017
2016-06-28 19:14:02 +03:00
branches:
only:
- master
- dev
2018-04-02 17:30:12 +03:00
- /^update[0-9]{2}x/
2016-06-28 19:14:02 +03:00
install:
# Install .NET Core 2.1
- ps: Invoke-WebRequest -Uri "https://raw.githubusercontent.com/dotnet/cli/master/scripts/obtain/dotnet-install.ps1" -OutFile "install-dotnet.ps1"
- ps: .\install-dotnet.ps1 -Version 2.1.300-rc1-008673
2018-04-02 17:30:12 +03:00
- git clone https://github.com/SteeltoeOSS/steeltoe-ci.git -v
- ps: steeltoe-ci\scripts\appveyor_install.ps1
2016-06-28 19:14:02 +03:00
test_script:
2018-04-02 17:30:12 +03:00
- ps: steeltoe-ci\scripts\appveyor_tests.ps1
2016-06-28 19:14:02 +03:00
build_script:
2018-04-02 17:30:12 +03:00
- ps: steeltoe-ci\scripts\appveyor_build.ps1
2016-06-28 19:14:02 +03:00
artifacts:
2018-04-02 17:30:12 +03:00
- path: '**\*.nupkg'
environment:
ProjectList: Steeltoe.CloudFoundry.ConnectorBase Steeltoe.CloudFoundry.ConnectorCore Steeltoe.CloudFoundry.Connector.EF6Core Steeltoe.CloudFoundry.Connector.EFCore Steeltoe.CloudFoundry.ConnectorAutofac
PackageReferencesToUpdate: SteeltoeConnectorVersion
github_access_token:
secure: ko4J3M/czguVI9AbVdkv5qZuj3Wuzts5nkz/6cypneFkQGWJXDs8Akg7xOEMu8qU
2016-06-28 19:14:02 +03:00
deploy:
- provider: NuGet
2017-06-08 14:57:25 +03:00
skip_symbols: false
2016-06-28 19:14:02 +03:00
artifact: /.*\.nupkg/
server: https://www.myget.org/F/steeltoedev/api/v2/package
2018-04-02 17:30:12 +03:00
symbol_server: https://www.myget.org/F/steeltoedev/symbols/api/v2/package
2016-06-28 19:14:02 +03:00
api_key:
secure: 246ApObnMYYvzDo9Ki72CxxuKfuoqYbrbUK2HLevGIGHXYY6f0OkAdE3EWCwNJ7g
on:
branch: dev
appveyor_repo_tag: false
- provider: NuGet
2018-04-02 17:30:12 +03:00
skip_symbols: false
2016-06-28 19:14:02 +03:00
artifact: /.*\.nupkg/
2018-04-02 17:30:12 +03:00
server: https://www.myget.org/F/steeltoemaster/api/v2/package
symbol_server: https://www.myget.org/F/steeltoemaster/symbols/api/v2/package
2016-06-28 19:14:02 +03:00
api_key:
2018-04-02 17:30:12 +03:00
secure: 246ApObnMYYvzDo9Ki72CxxuKfuoqYbrbUK2HLevGIGHXYY6f0OkAdE3EWCwNJ7g
2016-06-28 19:14:02 +03:00
on:
branch: master
2018-04-02 17:30:12 +03:00
appveyor_repo_tag: false
2017-09-22 19:44:54 +03:00
- provider: NuGet
skip_symbols: true
artifact: /.*\.nupkg/
2018-04-02 17:30:12 +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-09-22 19:44:54 +03:00
api_key:
secure: 246ApObnMYYvzDo9Ki72CxxuKfuoqYbrbUK2HLevGIGHXYY6f0OkAdE3EWCwNJ7g
on:
2018-04-02 17:30:12 +03:00
branch: /^update[0-9]{2}x/
2017-09-22 19:44:54 +03:00
appveyor_repo_tag: false
2018-04-02 17:30:12 +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