After the move to stop including packages in the SDK, we no longer published an SDK per build. This corrects this. Since the only things in the SDK today are the language plugins and the CLI itself, we can publish an SDK per build from pulumi/pulumi. This change re-uses the existing infrastructure we have in pulumi/sdk. Fixes #1076
54 lines
5.7 KiB
YAML
54 lines
5.7 KiB
YAML
version: 1.0.{build}
|
|
image: Visual Studio 2017
|
|
configuration: Release
|
|
platform: x64
|
|
clone_folder: '%USERPROFILE%\go\src\github.com\pulumi\pulumi'
|
|
branches:
|
|
only:
|
|
- master
|
|
- /release\/.*/
|
|
init:
|
|
- ps: Install-Product node 6.10.2 x64
|
|
environment:
|
|
PULUMI_API: https://api.pulumi-staging.io
|
|
PULUMI_ACCESS_TOKEN:
|
|
secure: +c7s1GgUunQl8QlLZs7zafFv6lJbZp40fx1kJl7v+n0qa8oq3ssBlVEl9gfoMBgH
|
|
AWS_ACCESS_KEY_ID:
|
|
secure: eB7Gfl1GHhz60tH2EEASI7IFsWHDd5SV+kponXwaCSo=
|
|
AWS_SECRET_ACCESS_KEY:
|
|
secure: T19RJk7Uv3trAChRRDB82OAUDI8k2q9PaSetU7yDFu4aC+MshdwAhTTN/TaPkwl/
|
|
PULUMI_BOT_KEY:
|
|
secure: 2eNAsVVnoBSs0bIz9NXNF/we2hO9xEdYnFMuXRP2TaY+hR+GzjrOhrCSST3OTLhzsBt9wQdLkxeqHbIBmF+KaNOdUjY6Nuv5kUetTSroytMzIxDCy5WFJkc+N7QSzASwOrf9xg6jkck+gmQV7MAgDL7XElc7yVg+CsM5CvU7sHuV0uwW2wDaAjnF1BpNMLtzZxOVIHe/mxRiDeLMB8tGGD5gjRc8vB2mPz8JzWs6rJTAFOOqNfI7NT7AvDI1HD5bmYaI7KYgCT44tVB4y11grVmA8f5vPtgSq65/6efyswXNUTueS3YB9Y8IsI/HJ/shPqDdY0eqDuwAVpXUE+bxmz3ayxbk9QFkIdIwaqPyp+fhcUFhsiF6oGiw7IgrqH1gd9q61Z7ZvDONmOsrDFsy23JHbY3L9IEeXxWj3P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EX+96TeC/8QJMwOffp+E5MwP/5fQnRsOkmCnGc7fUZguhrAvqtBhrhzdYnQCIJZSGvFApNlTyrfmOV5E0dqrIC/ChbWjuK7kFH0Qmbt+Hr/KuODTGVdXqPUpo4AEB2OsHt+Pjb/dmH4B72BFatsQXJW9qeTSvq9+sJZ2Ul6Ux13gIZ7CWlHOeqBgQi7I6RnOb2pIzZG+4FGfpAACxk6+RwmaxYag9ELO4OVndXgmgoHwhOjV9IAowrjJhALwA1CUvr6B+s2YN36+CS95TDJCKydSRcPvXY54coI1DjlH337xnEu/lrWIITSvwfLCx3ah2g2k01c/mslsxDxuEtRR1o0TifKyaAi2LTGsU6SpO2pEr2wDbBFGvHDlGkYA6xhIqy6l6/ONhWOH2X/EFRKgbdX9c2MBMRrkg4rSLvTfHY3eVZLXfE3GSImGgauGyjHO9NNh85aCVNUlIVxTL4A7lzDOBzhdkYr9LmZwZYKaDbbgeEyCOLXhcUp4wpOPinSxrRYjuXAyffSbXkCJZy2kYQ4lqKILCvW9ZGO+r6cN8WC5Jzaodtm5Hpx2DoYO05DQ==
|
|
install:
|
|
- ps: >-
|
|
$fileContent = "//registry.npmjs.org/:_authToken=" + $env:NPM_TOKEN + "`n"
|
|
|
|
Set-Content $env:USERPROFILE\.npmrc $fileContent
|
|
- ps: >-
|
|
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
|
|
|
|
$fileContent += $env:PULUMI_BOT_KEY.Replace(' ', "`n")
|
|
|
|
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"
|
|
|
|
Set-Content $env:USERPROFILE\.ssh\id_rsa $fileContent
|
|
- cmd: >-
|
|
set GOPATH=%USERPROFILE%\go
|
|
|
|
set PATH=%PATH%;%GOPATH%\bin
|
|
|
|
set PulumiRoot=C:\Pulumi
|
|
|
|
set PATH=%PulumiRoot%\bin;%PATH%
|
|
|
|
go version
|
|
|
|
go get -u github.com/golang/dep/cmd/dep
|
|
|
|
git clone git@github.com:pulumi/home.git "%USERPROFILE%\go\src\github.com\pulumi\home"
|
|
|
|
git clone git@github.com:pulumi/sdk.git "%USERPROFILE%\go\src\github.com\pulumi\sdk"
|
|
build_script:
|
|
- cmd: >-
|
|
if defined APPVEYOR_PULL_REQUEST_NUMBER ( msbuild /t:AppVeyorPullRequest /v:Detailed build.proj ) else ( msbuild /t:AppVeyorPush /v:Detailed build.proj )
|
|
test: off
|