diff --git a/Makefile b/Makefile index 161d9a5..8e651f0 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ GO_SUBDIRS += cmd internal apis # ==================================================================================== # Setup Kubernetes tools -KIND_VERSION = v0.15.0 +KIND_VERSION = v0.25.0 UP_VERSION = v0.28.0 UP_CHANNEL = stable UPTEST_VERSION = v1.1.2 @@ -192,9 +192,9 @@ CROSSPLANE_NAMESPACE = upbound-system # - UPTEST_CLOUD_CREDENTIALS, cloud credentials for the provider being tested, e.g. export UPTEST_CLOUD_CREDENTIALS=$(cat ~/azure.json) # - UPTEST_EXAMPLE_LIST, a comma-separated list of examples to test # - UPTEST_DATASOURCE_PATH, see https://github.com/upbound/uptest#injecting-dynamic-values-and-datasource -uptest: $(UPTEST) $(KUBECTL) $(KUTTL) +uptest: $(UPTEST) $(KUBECTL) $(CHAINSAW) $(CROSSPLANE_CLI) @$(INFO) running automated tests - @KUBECTL=$(KUBECTL) KUTTL=$(KUTTL) $(UPTEST) e2e "${UPTEST_EXAMPLE_LIST}" --data-source="${UPTEST_DATASOURCE_PATH}" --setup-script=cluster/test/setup.sh --default-conditions="Test" || $(FAIL) + @KUBECTL=$(KUBECTL) CHAINSAW=$(CHAINSAW) CROSSPLANE_CLI=$(CROSSPLANE_CLI) CROSSPLANE_NAMESPACE=$(CROSSPLANE_NAMESPACE) $(UPTEST) e2e "${UPTEST_EXAMPLE_LIST}" --data-source="${UPTEST_DATASOURCE_PATH}" --setup-script=cluster/test/setup.sh --default-conditions="Test" || $(FAIL) @$(OK) running automated tests local-deploy: build controlplane.up local.xpkg.deploy.provider.$(PROJECT_NAME) diff --git a/examples/resources/v1alpha1/resource.yaml b/examples/resources/v1alpha1/resource.yaml index 30fc4a7..39d19d4 100644 --- a/examples/resources/v1alpha1/resource.yaml +++ b/examples/resources/v1alpha1/resource.yaml @@ -19,7 +19,7 @@ spec: })} location: West Europe name: registrytestupbound - parentId: ${azurerm_resource_group.example.id} + parentId: ${data.azurerm_resource_group.example.id} responseExportValues: - properties.loginServer - properties.policies.quarantinePolicy.status