Skip to content

Commit

Permalink
code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurlapertosa committed Feb 6, 2025
1 parent 7d20b84 commit 01c38e2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
15 changes: 15 additions & 0 deletions build/int.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,21 @@ steps:
- verify simple-fleet-app-operator-permissions
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['/bin/bash', '-c', 'cft test run TestSimpleFleetAppOperatorPermissions --stage teardown --verbose']
- id: apply test-confidential-safer-cluster
waitFor:
- create-all
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['/bin/bash', '-c', 'cft test run TestConfidentialSaferCluster --stage apply --verbose']
- id: verify test-confidential-safer-cluster
waitFor:
- apply test-confidential-safer-cluster
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['/bin/bash', '-c', 'cft test run TestConfidentialSaferCluster --stage verify --verbose']
- id: teardown test-confidential-safer-cluster
waitFor:
- verify test-confidential-safer-cluster
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['/bin/bash', '-c', 'cft test run TestConfidentialSaferCluster --stage teardown --verbose']
tags:
- 'ci'
- 'integration'
Expand Down
3 changes: 2 additions & 1 deletion examples/confidential_safer_cluster/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@

module "gcp-network" {
source = "terraform-google-modules/network/google"
version = ">= 7.5"
version = "~> 10.0"

project_id = var.project_id
network_name = local.network_name
routing_mode = "GLOBAL"

subnets = [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/confidential_safer_cluster/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

terraform {
required_version = ">= 0.13"
required_version = ">= 1.3"
required_providers {
google = {
source = "hashicorp/google"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func TestConfidentialSaferCluster(t *testing.T) {
bpt.DefineVerify(func(assert *assert.Assertions) {
// Skipping Default Verify as the Verify Stage fails due to change in Client Cert Token
// bpt.DefaultVerify(assert)
testutils.TGKEVerify(t, bpt, assert)

projectId := bpt.GetStringOutput("project_id")
location := bpt.GetStringOutput("location")
Expand Down

0 comments on commit 01c38e2

Please sign in to comment.