Skip to content

Commit 4ceacad

Browse files
committed
enhance: upgrade crossplane version to 1.19.0; upgrade terraform provider version to 1.247.0; add user-agent for the provider
Signed-off-by: guimin.hgm <guimin.hgm@alibaba-inc.com>
1 parent 2721d1b commit 4ceacad

File tree

8 files changed

+3543
-817
lines changed

8 files changed

+3543
-817
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ jobs:
144144
- name: Vendor Dependencies
145145
run: make vendor vendor.check
146146

147+
- name: Install scraper
148+
run: go get github.com/crossplane/upjet/cmd/scraper@v1.4.1
149+
147150
- name: Check Diff
148151
run: make check-diff
149152

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ TERRAFORM_VERSION_VALID := $(shell [ "$(TERRAFORM_VERSION)" = "`printf "$(TERRAF
1212

1313
export TERRAFORM_PROVIDER_SOURCE ?= aliyun/alicloud
1414
export TERRAFORM_PROVIDER_REPO ?= https://github.com/aliyun/terraform-provider-alicloud
15-
export TERRAFORM_PROVIDER_VERSION ?= 1.244.0
15+
export TERRAFORM_PROVIDER_VERSION ?= 1.247.0
1616
export TERRAFORM_PROVIDER_DOWNLOAD_NAME ?= terraform-provider-alicloud
1717
export TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX ?= https://releases.hashicorp.com/$(TERRAFORM_PROVIDER_DOWNLOAD_NAME)/$(TERRAFORM_PROVIDER_VERSION)
18-
export TERRAFORM_NATIVE_PROVIDER_BINARY ?= terraform-provider-alicloud_v1.244.0
18+
export TERRAFORM_NATIVE_PROVIDER_BINARY ?= terraform-provider-alicloud_v1.247.0
1919
export TERRAFORM_DOCS_PATH ?= website/docs/r
2020

2121

@@ -177,7 +177,7 @@ run: go.build
177177

178178
# ====================================================================================
179179
# End to End Testing
180-
CROSSPLANE_VERSION = 1.18.0
180+
CROSSPLANE_VERSION = 1.19.0
181181
CROSSPLANE_NAMESPACE = upbound-system
182182
-include build/makelib/local.xpkg.mk
183183
-include build/makelib/controlplane.mk
@@ -197,9 +197,11 @@ CROSSPLANE_NAMESPACE = upbound-system
197197
# The associated `ProviderConfig`s will be named as `default` and `peer`.
198198
# - UPTEST_DATASOURCE_PATH (optional), please see https://github.com/crossplane/uptest#injecting-dynamic-values-and-datasource
199199
ECS=./examples/ecs/v1alpha1
200+
MESSAGESERVICE=./examples/messageservice/v1alpha1
200201
POLARDB=./examples/polardb/v1alpha1
201202
VPC=./examples/vpc/v1alpha1
202203
UPTEST_EXAMPLE_LIST_ECS=$(ECS)/group.yaml
204+
UPTEST_EXAMPLE_LIST_MESSAGESERVICE=$(MESSAGESERVICE)/endpoint.yaml,$(MESSAGESERVICE)/endpointacl.yaml,$(MESSAGESERVICE)/queue.yaml,$(MESSAGESERVICE)/subscription.yaml,$(MESSAGESERVICE)/topic.yaml
203205
UPTEST_EXAMPLE_LIST_POLARDB=$(POLARDB)/account.yaml,$(POLARDB)/accountprivilege.yaml,$(POLARDB)/backuppolicy.yaml,$(POLARDB)/cluster.yaml,$(POLARDB)/clusterendpoint.yaml,$(POLARDB)/database.yaml,$(POLARDB)/endpoint.yaml,$(POLARDB)/endpointaddress.yaml,$(POLARDB)/globaldatabasenetwork.yaml,$(POLARDB)/parametergroup.yaml,$(POLARDB)/primaryendpoint.yaml
204206
UPTEST_EXAMPLE_LIST_VPC=$(VPC)/vpc.yaml
205207
UPTEST_EXAMPLE_LIST=$(UPTEST_EXAMPLE_LIST_VPC)

apis/polardb/v1alpha1/zz_cluster_types.go

Lines changed: 22 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/polardb/v1alpha1/zz_generated.deepcopy.go

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)