File tree Expand file tree Collapse file tree 6 files changed +10
-11
lines changed
cloudbuild_repo_connection_github
im_cloudbuild_workspace_github
tf_cloudbuild_builder_simple_github
tf_cloudbuild_workspace_simple_github Expand file tree Collapse file tree 6 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
2424 "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/gcloud"
2525 "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/tft"
2626 cftutils "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/utils"
27- "github.com/google/go-github/v63 /github"
27+ "github.com/google/go-github/v64 /github"
2828 "github.com/stretchr/testify/assert"
2929 "github.com/terraform-google-modules/terraform-google-bootstrap/test/integration/utils"
3030)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ toolchain go1.22.6
66
77require (
88 github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.16.1
9- github.com/google/go-github/v63 v63 .0.0
9+ github.com/google/go-github/v64 v64 .0.0
1010 github.com/gruntwork-io/terratest v0.47.0
1111 github.com/stretchr/testify v1.9.0
1212 github.com/xanzy/go-gitlab v0.107.0
Original file line number Diff line number Diff line change @@ -309,8 +309,8 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
309309github.com/google/go-cmp v0.5.9 /go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY =
310310github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI =
311311github.com/google/go-cmp v0.6.0 /go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY =
312- github.com/google/go-github/v63 v63 .0.0 h1:13xwK/wk9alSokujB9lJkuzdmQuVn2QCPeck76wR3nE =
313- github.com/google/go-github/v63 v63 .0.0/go.mod h1:IqbcrgUmIcEaioWrGYei/09o+ge5vhffGOcxrO0AfmA =
312+ github.com/google/go-github/v64 v64 .0.0 h1:4G61sozmY3eiPAjjoOHponXDBONm+utovTKbyUb2Qdg =
313+ github.com/google/go-github/v64 v64 .0.0/go.mod h1:xB3vqMQNdHzilXBiO2I+M7iEFtHf+DP/omBOv6tQzVo =
314314github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8 =
315315github.com/google/go-querystring v1.1.0 /go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU =
316316github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0 =
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525 "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/git"
2626 "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/tft"
2727 cftutils "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/utils"
28- "github.com/google/go-github/v63 /github"
28+ "github.com/google/go-github/v64 /github"
2929 "github.com/gruntwork-io/terratest/modules/logger"
3030 "github.com/stretchr/testify/assert"
3131 "github.com/terraform-google-modules/terraform-google-bootstrap/test/integration/utils"
Original file line number Diff line number Diff line change @@ -26,12 +26,11 @@ import (
2626 "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/gcloud"
2727 "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/tft"
2828 cftutils "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/utils"
29- "github.com/terraform-google-modules/terraform-google-bootstrap/test/integration/utils"
30- "github.com/google/go-github/v63/github"
29+ "github.com/google/go-github/v64/github"
3130 "github.com/stretchr/testify/assert"
31+ "github.com/terraform-google-modules/terraform-google-bootstrap/test/integration/utils"
3232)
3333
34-
3534type GitHubClient struct {
3635 t * testing.T
3736 client * github.Client
@@ -97,7 +96,7 @@ func TestTFCloudBuildBuilderGitHub(t *testing.T) {
9796 // Testing the module's feature of appending the ".git" suffix if it's missing
9897 repoURL := strings .TrimSuffix (client .repository .GetCloneURL (), ".git" )
9998 vars := map [string ]interface {}{
100- "github_pat" : githubPAT ,
99+ "github_pat" : githubPAT ,
101100 "repository_uri" : repoURL ,
102101 }
103102 bpt := tft .NewTFBlueprintTest (t , tft .WithVars (vars ))
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
2626 "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/git"
2727 "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/tft"
2828 cftutils "github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/utils"
29- "github.com/google/go-github/v63 /github"
29+ "github.com/google/go-github/v64 /github"
3030 "github.com/stretchr/testify/assert"
3131 "github.com/terraform-google-modules/terraform-google-bootstrap/test/integration/utils"
3232)
@@ -97,7 +97,7 @@ func TestCloudBuildWorkspaceSimpleGitHub(t *testing.T) {
9797 // Testing the module's feature of appending the ".git" suffix if it's missing
9898 repoURL := strings .TrimSuffix (client .repository .GetCloneURL (), ".git" )
9999 vars := map [string ]interface {}{
100- "github_pat" : githubPAT ,
100+ "github_pat" : githubPAT ,
101101 "repository_uri" : repoURL ,
102102 }
103103 bpt := tft .NewTFBlueprintTest (t , tft .WithVars (vars ))
You can’t perform that action at this time.
0 commit comments