Skip to content

Commit

Permalink
Update examples tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guineveresaenger committed Aug 29, 2024
1 parent 66bd7d5 commit 7b2cff1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/bucket-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package main

import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

Expand Down
5 changes: 2 additions & 3 deletions examples/examples_go_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func getGoBaseOptions(t *testing.T) integration.ProgramTestOptions {
base := getBaseOptions(t)
goBase := base.With(integration.ProgramTestOptions{
Dependencies: []string{
"github.com/pulumi/pulumi-gcp/sdk/v7",
"github.com/pulumi/pulumi-gcp/sdk/v8",
},
})

Expand Down Expand Up @@ -312,12 +312,11 @@ func TestLabelsCombinationsGo(t *testing.T) {
{
"label kept if default is empty",
labelsState{
Labels: map[string]string{"x": "s"},
Labels: map[string]string{"x": "s"},
},
labelsState{
DefaultLabels: map[string]string{"x": ""},
},

},
}

Expand Down
6 changes: 3 additions & 3 deletions examples/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
module github.com/pulumi/pulumi-gcp/examples/v7
module github.com/pulumi/pulumi-gcp/examples/v8

go 1.21

require (
github.com/pulumi/pulumi-gcp/sdk/v6 v6.67.0
github.com/pulumi/pulumi-gcp/sdk/v7 v7.0.0-alpha.0
github.com/pulumi/pulumi-gcp/sdk/v8 v8.0.0-00010101000000-000000000000
github.com/pulumi/pulumi/pkg/v3 v3.129.0
github.com/pulumi/pulumi/sdk/v3 v3.129.0
github.com/stretchr/testify v1.9.0
)

replace github.com/pulumi/pulumi-gcp/sdk/v7 => ../sdk
replace github.com/pulumi/pulumi-gcp/sdk/v8 => ../sdk

require (
cloud.google.com/go v0.112.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/test-pulumi-labels-secret/go/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

Expand Down

0 comments on commit 7b2cff1

Please sign in to comment.