Skip to content

Commit 96b8c98

Browse files
authoredOct 11, 2021
Updating acceptance tests (#624)
GKE's stable K8s version is now 1.19. Also adding VAULT_LICENSE_CI to the `make test-acceptance` target to make it easier to run the acceptance tests manually, and mentioned it in the test README.
1 parent ffd5086 commit 96b8c98

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed
 

‎Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ else
4040
-e GOOGLE_CREDENTIALS=${GOOGLE_CREDENTIALS} \
4141
-e CLOUDSDK_CORE_PROJECT=${CLOUDSDK_CORE_PROJECT} \
4242
-e KUBECONFIG=/helm-test/.kube/config \
43+
-e VAULT_LICENSE_CI=${VAULT_LICENSE_CI} \
4344
-w /helm-test \
4445
$(TEST_IMAGE) \
4546
make acceptance

‎test/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
The Makefile at the top level of this repo contains a few target that should help with running acceptance tests in your own GKE instance or in a kind cluster.
66

7+
Note that for the Vault Enterprise tests to pass, a `VAULT_LICENSE_CI` environment variable needs to be set to the contents of a valid Vault Enterprise license.
8+
79
### Running in a GKE cluster
810

911
* Set the `GOOGLE_CREDENTIALS` and `CLOUDSDK_CORE_PROJECT` variables at the top of the file. `GOOGLE_CREDENTIALS` should contain the local path to your Google Cloud Platform account credentials in JSON format. `CLOUDSDK_CORE_PROJECT` should be set to the ID of your GCP project.

‎test/terraform/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resource "random_id" "suffix" {
88

99
data "google_container_engine_versions" "main" {
1010
location = "${var.zone}"
11-
version_prefix = "1.18."
11+
version_prefix = "1.19."
1212
}
1313

1414
data "google_service_account" "gcpapi" {

0 commit comments

Comments
 (0)
Please sign in to comment.