Skip to content

Commit 808af2a

Browse files
authored
Upgrade to ACK runtime v0.16.5 and aws-sdk-go v1.42.0 (#153)
Issue #, if available: aws-controllers-k8s/community#1167 Description of changes: - Updates ACK runtime from v0.15.2 to v0.16.5 . This upgrades results in aws-sdk-go upgrade to v1.42.0 and controller-runtime update to v0.11.0 as well - Ignored the empty struct shape `RSessionAppSettings `and new resource `StudioLifecycleConfig `in generator.yaml file - Ignored the field `RetryStrategy `for the resources TrainingJob and HyperparameterTuning job in generator.yaml file; suspect that it may need custom-code/implementation will need further testing. - Ignored the field `DeploymentConfig `for the resource Endpoint in generator.yaml file; suspect that it may need custom-code/implementation will need further testing. - Updated the mocks to generated from new aws-sdk-go version. Also fixed some underlying bug in creating mocks from Makefile - Removed check for ack-terminal is set to False in `test/e2e/tests/test_endpoint.py` since the field will now be set to None on requeues instead of back to False - Call `customSetOutput` in `sdkUpdate` for ModelPackage to set the synced conditions `pkg/resource/model_package/sdk.go` - Added unit-tests for new late-initialized field in Notebook By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 75e7a3d commit 808af2a

File tree

223 files changed

+8217
-2158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+8217
-2158
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.idea
55
/docs/site
66
bin
7+
test/bin
78
build
89

910
*.out

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ test-cover: | mocks ## Run code tests with resources coverage
3030
$(GOCOVER) -html=coverage.out -o coverage.html
3131

3232
clean-mocks: ## Remove mocks directory
33-
rm -r mocks
33+
rm -r test/mocks
3434

3535
install-mockery:
3636
@test/scripts/install-mockery.sh
@@ -39,7 +39,7 @@ mocks: install-mockery ## Build mocks
3939
go get -d $(AWS_SDK_GO_VERSIONED_PATH)
4040
@echo "building mocks for $(SAGEMAKER_API_PATH) ... "
4141
@pushd $(SAGEMAKER_API_PATH) 1>/dev/null; \
42-
$(SERVICE_CONTROLLER_SRC_PATH)/bin/mockery --all --dir=. --output=$(SERVICE_CONTROLLER_SRC_PATH)/mocks/aws-sdk-go/sagemaker/ ; \
42+
$(SERVICE_CONTROLLER_SRC_PATH)/test/bin/mockery --all --dir=. --output=$(SERVICE_CONTROLLER_SRC_PATH)/test/mocks/aws-sdk-go/sagemaker/ ; \
4343
popd 1>/dev/null;
4444
@echo "ok."
4545

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2021-11-22T18:58:16Z"
3-
build_hash: d2b063806d25cfcae4f2d4eb44f8e3f713b23e8e
2+
build_date: "2022-02-25T09:07:07Z"
3+
build_hash: edec6dad2fbd530d615d01e96f5251a806e1f36d
44
go_version: go1.17.1
5-
version: v0.15.2
6-
api_directory_checksum: 228a128a0bc102a4d07bf8b4ea33f4dbae16bc29
5+
version: v0.16.5
6+
api_directory_checksum: 9ce7978afb3760510f92df5a0b5797f9293ce2d5
77
api_version: v1alpha1
8-
aws_sdk_go_version: v1.38.11
8+
aws_sdk_go_version: v1.42.0
99
generator_config_info:
10-
file_checksum: a58e79c3530e9712ed33184bad8aa0f16426edaa
10+
file_checksum: cb5e4958c4f7eda6f35e116de3494a226690820c
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/data_quality_job_definition.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/domain.go

+13-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/endpoint.go

+7-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/endpoint_config.go

+14-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)