Skip to content

Commit 55241dc

Browse files
committed
Fix credentials_path.
1 parent 0c1f39b commit 55241dc

File tree

21 files changed

+0
-82
lines changed

21 files changed

+0
-82
lines changed

test/fixtures/shared/terraform.tfvars.example

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
project_id = ""
22

3-
credentials_path_relative = "../../../../credentials.json"
4-
53
region = "us-central1"
64

75
service_account = {

test/integration/instance_simple/controls/instance_simple.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
# limitations under the License.
1414

1515
project_id = attribute('project_id')
16-
credentials_path = attribute('credentials_path')
17-
18-
ENV['CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE'] = File.absolute_path(
19-
credentials_path,
20-
File.join(__dir__, "../../../fixtures/compute_instance/simple"))
2116

2217
expected_instances = 4
2318

test/integration/instance_simple/inspec.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,3 @@ attributes:
1818
- name: project_id
1919
required: true
2020
type: string
21-
- name: credentials_path
22-
required: true
23-
type: string

test/integration/it_additional_disks/controls/it_additional_disks.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
# limitations under the License.
1414

1515
project_id = attribute('project_id')
16-
credentials_path = attribute('credentials_path')
17-
18-
ENV['CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE'] = File.absolute_path(
19-
credentials_path,
20-
File.join(__dir__, "../../../fixtures/instance_template/additional_disks"))
2116

2217
expected_templates = 1
2318
expected_disks = 4

test/integration/it_additional_disks/inspec.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,3 @@ attributes:
1818
- name: project_id
1919
required: true
2020
type: string
21-
- name: credentials_path
22-
required: true
23-
type: string

test/integration/it_simple/controls/it_simple.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
# limitations under the License.
1414

1515
project_id = attribute('project_id')
16-
credentials_path = attribute('credentials_path')
17-
18-
ENV['CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE'] = File.absolute_path(
19-
credentials_path,
20-
File.join(__dir__, "../../../fixtures/instance_template/simple"))
2116

2217
expected_templates = 1
2318
expected_disks = 1

test/integration/it_simple/inspec.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,3 @@ attributes:
1818
- name: project_id
1919
required: true
2020
type: string
21-
- name: credentials_path
22-
required: true
23-
type: string

test/integration/mig_autoscaler/controls/mig_autoscaler.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@
1313
# limitations under the License.
1414

1515
project_id = attribute('project_id')
16-
credentials_path = attribute('credentials_path')
1716
region = attribute('region')
1817

19-
ENV['CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE'] = File.absolute_path(
20-
credentials_path,
21-
File.join(__dir__, "../../../fixtures/mig/autoscaler"))
22-
2318
expected_instances = 4
2419
expected_instance_groups = 1
2520

test/integration/mig_autoscaler/inspec.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ attributes:
1818
- name: project_id
1919
required: true
2020
type: string
21-
- name: credentials_path
22-
required: true
23-
type: string
2421
- name: region
2522
required: true
2623
type: string

test/integration/mig_simple/controls/mig_simple.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@
1313
# limitations under the License.
1414

1515
project_id = attribute('project_id')
16-
credentials_path = attribute('credentials_path')
1716
region = attribute('region')
1817

19-
ENV['CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE'] = File.absolute_path(
20-
credentials_path,
21-
File.join(__dir__, "../../../fixtures/mig/simple"))
22-
2318
expected_instances = 4
2419
expected_instance_groups = 1
2520

0 commit comments

Comments
 (0)