Skip to content

Commit 90f7627

Browse files
authored
Merge pull request terraform-google-modules#18 from Jberlinsky/get-tests-running
Get tests running
2 parents 3ad76c4 + 2b91ad5 commit 90f7627

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/integration/gcloud/run.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ locals {
7474
7575
provider "google" {
7676
credentials = "\${file(local.credentials_file_path)}"
77+
region = "${REGION}"
7778
}
7879
7980
provider "kubernetes" {
@@ -311,11 +312,11 @@ function bundle_install() {
311312

312313
# Execute kitchen tests
313314
function run_kitchen() {
314-
kitchen create
315-
kitchen converge
316-
kitchen converge # second time to enable network policy
317-
kitchen verify
318-
kitchen destroy
315+
bundle exec kitchen create
316+
bundle exec kitchen converge
317+
bundle exec kitchen converge # second time to enable network policy
318+
bundle exec kitchen verify
319+
bundle exec kitchen destroy
319320
}
320321

321322
# Preparing environment

0 commit comments

Comments
 (0)