[deps] Ensuring pulumi/pulumi pkg references pulumi sdk v3.0.0-beta.1
This commit is contained in:
parent
73a66f48ea
commit
e05477b8d6
3
.github/workflows/prerelease.yml
vendored
3
.github/workflows/prerelease.yml
vendored
|
@ -15,6 +15,7 @@ env:
|
|||
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}
|
||||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
||||
TRAVIS_PUBLISH_PACKAGES: true
|
||||
IS_PRERELEASE: true
|
||||
|
||||
jobs:
|
||||
publish-sdks:
|
||||
|
@ -281,7 +282,7 @@ jobs:
|
|||
- name: Publish Binary
|
||||
run: |
|
||||
cd src\github.com\${{ github.repository }}
|
||||
dotnet msbuild /t:Publish /v:Detailed build.proj /p:PulumiRoot="D:\\Pulumi"
|
||||
dotnet msbuild /t:ReleaseProcess /v:Detailed build.proj /p:PulumiRoot="D:\\Pulumi"
|
||||
verify-containers:
|
||||
name: Run Container Tests
|
||||
needs: [publish-binaries, publish-sdks]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
module github.com/pulumi/pulumi/pkg/v2/codegen/internal/test/testdata/external-resource-schema/go
|
||||
module github.com/pulumi/pulumi/pkg/v3/codegen/internal/test/testdata/external-resource-schema/go
|
||||
|
||||
go 1.16
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ require (
|
|||
github.com/opentracing/opentracing-go v1.1.0
|
||||
github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/pulumi/pulumi/sdk/v3 v3.0.0-20210317132005-b866c3cc620e
|
||||
github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.1
|
||||
github.com/rjeczalik/notify v0.9.2
|
||||
github.com/sergi/go-diff v1.1.0
|
||||
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect
|
||||
|
|
|
@ -33,6 +33,15 @@ if [[ "${TRAVIS_PUBLISH_PACKAGES:-}" == "true" ]]; then
|
|||
NPM_TAG="latest"
|
||||
fi
|
||||
|
||||
# we need to set explicit beta and rc tags to ensure that we don't mutate to use the latest tag
|
||||
if [[ "${PKG_VERSION}" == *-beta* ]]; then
|
||||
NPM_TAG="beta"
|
||||
fi
|
||||
|
||||
if [[ "${PKG_VERSION}" == *-rc* ]]; then
|
||||
NPM_TAG="rc"
|
||||
fi
|
||||
|
||||
# Now, perform the publish. The logic here is a little goofy because npm provides
|
||||
# no way to say "if the package already exists, don't fail" but we want these
|
||||
# semantics (so, for example, we can restart builds which may have failed after
|
||||
|
|
|
@ -14,6 +14,6 @@ require (
|
|||
github.com/pkg/errors v0.9.1
|
||||
github.com/pulumi/pulumi-random/sdk/v3 v3.1.2-0.20210323111705-623d65f88c52
|
||||
github.com/pulumi/pulumi/pkg/v3 v3.0.0-20210317132005-b866c3cc620e
|
||||
github.com/pulumi/pulumi/sdk/v3 v3.0.0-20210323100828-ae9253ac9b76
|
||||
github.com/pulumi/pulumi/sdk/v3 v3.0.0-beta.1
|
||||
github.com/stretchr/testify v1.7.0
|
||||
)
|
||||
|
|
|
@ -664,6 +664,8 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P
|
|||
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
||||
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
|
||||
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
|
||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6 h1:9VTskZOIRf2vKF3UL8TuWElry5pgUpV1tFSe/e/0m/E=
|
||||
github.com/texttheater/golang-levenshtein v0.0.0-20191208221605-eb6844b05fc6/go.mod h1:XDKHRm5ThF8YJjx001LtgelzsoaEcvnA7lVWz9EeX3g=
|
||||
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 h1:LnC5Kc/wtumK+WB441p7ynQJzVuNRJiqddSIE3IlSEQ=
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
||||
)
|
||||
|
||||
type Component struct {
|
||||
|
|
|
@ -195,7 +195,7 @@ func TestConstructSlowGo(t *testing.T) {
|
|||
Env: []string{pathEnv, testYarnLinkPulumiEnv},
|
||||
Dir: filepath.Join("construct_component_slow", "go"),
|
||||
Dependencies: []string{
|
||||
"github.com/pulumi/pulumi/sdk/v2",
|
||||
"github.com/pulumi/pulumi/sdk/v3",
|
||||
},
|
||||
Quick: true,
|
||||
ExtraRuntimeValidation: func(t *testing.T, stackInfo integration.RuntimeValidationStackInfo) {
|
||||
|
|
|
@ -16,6 +16,8 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
pygen "github.com/pulumi/pulumi/pkg/v3/codegen/python"
|
||||
"github.com/pulumi/pulumi/pkg/v3/codegen/schema"
|
||||
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
|
||||
"github.com/pulumi/pulumi/sdk/v3/go/common/resource"
|
||||
ptesting "github.com/pulumi/pulumi/sdk/v3/go/common/testing"
|
||||
|
|
Loading…
Reference in a new issue