66bd3f4aa8
* Make `async:true` the default for `invoke` calls (#3750) * Switch away from native grpc impl. (#3728) * Remove usage of the 'deasync' library from @pulumi/pulumi. (#3752) * Only retry as long as we get unavailable back. Anything else continues. (#3769) * Handle all errors for now. (#3781) * Do not assume --yes was present when using pulumi in non-interactive mode (#3793) * Upgrade all paths for sdk and pkg to v2 * Backport C# invoke classes and other recent gen changes (#4288) Adjust C# generation * Replace IDeployment with a sealed class (#4318) Replace IDeployment with a sealed class * .NET: default to args subtype rather than Args.Empty (#4320) * Adding system namespace for Dotnet code gen This is required for using Obsolute attributes for deprecations ``` Iam/InstanceProfile.cs(142,10): error CS0246: The type or namespace name 'ObsoleteAttribute' could not be found (are you missing a using directive or an assembly reference?) [/Users/stack72/code/go/src/github.com/pulumi/pulumi-aws/sdk/dotnet/Pulumi.Aws.csproj] Iam/InstanceProfile.cs(142,10): error CS0246: The type or namespace name 'Obsolete' could not be found (are you missing a using directive or an assembly reference?) [/Users/stack72/code/go/src/github.com/pulumi/pulumi-aws/sdk/dotnet/Pulumi.Aws.csproj] ``` * Fix the nullability of config type properties in C# codegen (#4379)
74 lines
1.9 KiB
YAML
74 lines
1.9 KiB
YAML
version: 1.0.{build}
|
|
image: Visual Studio 2019
|
|
configuration: Release
|
|
platform: x64
|
|
clone_folder: '%USERPROFILE%\go\src\github.com\pulumi\pulumi'
|
|
branches:
|
|
only:
|
|
- master
|
|
- 'feature-2.0'
|
|
- /v\d*\.\d*\.\d*/
|
|
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/
|
|
AWS_REGION: us-west-2
|
|
ARM_LOCATION: "West US 2"
|
|
ARM_ENVIRONMENT: public
|
|
matrix:
|
|
- nodejs_version: "10.15.3"
|
|
init:
|
|
- ps: Install-Product node $env:nodejs_version x64
|
|
install:
|
|
- rmdir C:\go /s /q
|
|
- appveyor DownloadFile https://dl.google.com/go/go1.13.4.windows-amd64.zip
|
|
- 7z x go1.13.4.windows-amd64.zip -y -oC:\ > NUL
|
|
- cmd: >-
|
|
set GOPATH=%USERPROFILE%\go
|
|
|
|
set PATH=C:\go\bin;%PATH%;%GOPATH%\bin
|
|
|
|
set PATH=%PATH%;%USERPROFILE%\.yarn\bin
|
|
|
|
set PulumiRoot=C:\Pulumi
|
|
|
|
set PATH=%PulumiRoot%\bin;%PATH%
|
|
|
|
go version
|
|
|
|
git clone https://github.com/pulumi/scripts.git "%USERPROFILE%\go\src\github.com\pulumi\scripts"
|
|
|
|
set PATH=%PATH%;C:\Python37-x64\Scripts
|
|
|
|
pip3 install pyenv-win --target %USERPROFILE%/.pyenv
|
|
|
|
set PYENV=%USERPROFILE%\.pyenv\pyenv-win
|
|
|
|
set PATH=%PATH%;%PYENV%\bin;%PYENV%\shims
|
|
|
|
pip3 install pipenv
|
|
|
|
set PULUMI_LOCAL_NUGET=C:\Pulumi\nuget
|
|
|
|
set PULUMI_TEST_OWNER=moolumi
|
|
|
|
choco install dep
|
|
- ps: >-
|
|
New-Item -Type Directory "$env:USERPROFILE\go\bin"
|
|
build_script:
|
|
- cmd: >-
|
|
set GO111MODULE=on
|
|
|
|
pushd . && cd sdk && go mod tidy && go mod download && popd
|
|
|
|
pushd . && cd pkg && go mod tidy && go mod download && popd
|
|
|
|
pushd . && cd tests && go mod tidy && go mod download && popd
|
|
|
|
.\scripts\release.cmd
|
|
test: off
|