Connectors/.appveyor.yml

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

version: '2.2.0-{branch}-{build}'
2016-06-28 19:14:02 +03:00
init:
- git config --global core.autocrlf true
image: Visual Studio 2017
skip_tags: true
2016-06-28 19:14:02 +03:00
branches:
only:
- master
- dev
- /^update[0-9]{2}x/
2016-06-28 19:14:02 +03:00
install:
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:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
ProjectList: Steeltoe.CloudFoundry.ConnectorBase Steeltoe.CloudFoundry.ConnectorCore Steeltoe.CloudFoundry.Connector.EF6Core Steeltoe.CloudFoundry.Connector.EF6Autofac Steeltoe.CloudFoundry.Connector.EFCore Steeltoe.CloudFoundry.ConnectorAutofac
2018-04-02 17:30:12 +03:00
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