Skip to content

Commit 9fa6152

Browse files
authored
Update to runtime v0.13.0 (#86)
Description of changes: - Updates to runtime v0.13.0. Fixes all issues with test-failures occurring as a result of updating the runtime. - Fixes Notebook instance update, so that status is correctly updated. - Utilizes `late_initializer` for new diffs that occur as a result of using `reflect.deepequal()`. - Adds `new custom_delta.go` code for diffs that cannot be handled by `late_initializer`. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 806e45b commit 9fa6152

File tree

162 files changed

+2156
-446
lines changed

Some content is hidden

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

162 files changed

+2156
-446
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
ack_generate_info:
2-
build_date: "2021-08-31T02:17:13Z"
3-
build_hash: c77aa9c75d944952dee198029ba9822691cd82b0
4-
go_version: go1.16.4 linux/amd64
5-
version: v0.6.0
6-
api_directory_checksum: dd5cd5b0cfebeb75eae65c53ab3195a9935a4b87
2+
build_date: "2021-08-31T22:29:55Z"
3+
build_hash: 07d7ea755625b2cac93bbf293bf5a8cab24ecb68
4+
go_version: go1.16.4 darwin/amd64
5+
version: v0.13.0
6+
api_directory_checksum: 13c67d2ac904c5b3c1ddea34aba38d90f06f3adc
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.38.11
99
generator_config_info:
10-
file_checksum: 70f99c3c40b26a6e73a2b2c391291f9441bc208d
10+
file_checksum: 95bf43b6a68c009a14db1ba7bd91293ca03aee15
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation
14-
timestamp: 2021-08-31 02:17:16.250470244 +0000 UTC
14+
timestamp: 2021-08-31 22:30:07.288585 +0000 UTC

apis/v1alpha1/data_quality_job_definition.go

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

apis/v1alpha1/endpoint.go

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

apis/v1alpha1/endpoint_config.go

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

apis/v1alpha1/feature_group.go

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

apis/v1alpha1/generator.yaml

Lines changed: 72 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ resources:
3838
- InvalidParameterCombination
3939
- InvalidParameterValue
4040
- MissingParameter
41+
fields:
42+
Tags:
43+
compare:
44+
is_ignored: true
4145
EndpointConfig:
4246
exceptions:
4347
errors:
@@ -48,6 +52,10 @@ resources:
4852
- InvalidParameterCombination
4953
- InvalidParameterValue
5054
- MissingParameter
55+
fields:
56+
Tags:
57+
compare:
58+
is_ignored: true
5159
Endpoint:
5260
reconcile:
5361
requeue_on_success_seconds: 30
@@ -113,6 +121,9 @@ resources:
113121
from:
114122
operation: DescribeEndpoint
115123
path: ProductionVariants
124+
Tags:
125+
compare:
126+
is_ignored: true
116127
TrainingJob:
117128
exceptions:
118129
errors:
@@ -172,6 +183,12 @@ resources:
172183
from:
173184
operation: DescribeTrainingJob
174185
path: FailureReason
186+
AlgorithmSpecification.MetricDefinitions:
187+
late_initialize:
188+
min_backoff_seconds: 5
189+
Tags:
190+
compare:
191+
is_ignored: true
175192
ProcessingJob:
176193
exceptions:
177194
errors:
@@ -209,6 +226,9 @@ resources:
209226
from:
210227
operation: DescribeProcessingJob
211228
path: FailureReason
229+
Tags:
230+
compare:
231+
is_ignored: true
212232
TransformJob:
213233
exceptions:
214234
errors:
@@ -246,6 +266,9 @@ resources:
246266
from:
247267
operation: DescribeTransformJob
248268
path: FailureReason
269+
Tags:
270+
compare:
271+
is_ignored: true
249272
HyperParameterTuningJob:
250273
exceptions:
251274
errors:
@@ -292,6 +315,12 @@ resources:
292315
from:
293316
operation: DescribeHyperParameterTuningJob
294317
path: OverallBestTrainingJob
318+
TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions:
319+
late_initialize:
320+
min_backoff_seconds: 5
321+
Tags:
322+
compare:
323+
is_ignored: true
295324
DataQualityJobDefinition:
296325
exceptions:
297326
errors:
@@ -308,6 +337,9 @@ resources:
308337
is_arn: true
309338
JobDefinitionName:
310339
is_name: true
340+
Tags:
341+
compare:
342+
is_ignored: true
311343
ModelBiasJobDefinition:
312344
exceptions:
313345
errors:
@@ -324,6 +356,9 @@ resources:
324356
is_arn: true
325357
JobDefinitionName:
326358
is_name: true
359+
Tags:
360+
compare:
361+
is_ignored: true
327362
ModelExplainabilityJobDefinition:
328363
exceptions:
329364
errors:
@@ -340,6 +375,9 @@ resources:
340375
is_arn: true
341376
JobDefinitionName:
342377
is_name: true
378+
Tags:
379+
compare:
380+
is_ignored: true
343381
ModelQualityJobDefinition:
344382
exceptions:
345383
errors:
@@ -356,6 +394,9 @@ resources:
356394
is_arn: true
357395
JobDefinitionName:
358396
is_name: true
397+
Tags:
398+
compare:
399+
is_ignored: true
359400
MonitoringSchedule:
360401
reconcile:
361402
requeue_on_success_seconds: 30
@@ -412,6 +453,9 @@ resources:
412453
from:
413454
operation: DescribeMonitoringSchedule
414455
path: LastMonitoringExecutionSummary
456+
Tags:
457+
compare:
458+
is_ignored: true
415459
ModelPackage:
416460
update_conditions_custom_method_name: CustomUpdateConditions
417461
exceptions:
@@ -476,6 +520,9 @@ resources:
476520
from:
477521
operation: UpdateModelPackage
478522
path: ApprovalDescription
523+
Tags:
524+
compare:
525+
is_ignored: true
479526
# TODO: Can adopt unversioned Model Packages however versioned ModelPackages
480527
# cannot be adopted properly. Their spec will show in describe
481528
# kubecetl describe modelpackages however it cannot be deleted or updated
@@ -518,7 +565,14 @@ resources:
518565
from:
519566
operation: DescribeFeatureGroup
520567
path: FeatureGroupStatus
568+
Tags:
569+
compare:
570+
is_ignored: true
521571
NotebookInstance:
572+
# Resource state/status can be modified in Sagemaker Console
573+
# Need to reconcile to catch these state/status changes
574+
reconcile:
575+
requeue_on_success_seconds: 60
522576
exceptions:
523577
errors:
524578
404:
@@ -569,6 +623,9 @@ resources:
569623
from:
570624
operation: DescribeNotebookInstance
571625
path: FailureReason
626+
Tags:
627+
compare:
628+
is_ignored: true
572629
ModelPackageGroup:
573630
exceptions:
574631
errors:
@@ -587,7 +644,10 @@ resources:
587644
name: STATUS
588645
from:
589646
operation: DescribeModelPackageGroup
590-
path: ModelPackageGroupStatus
647+
path: ModelPackageGroupStatus
648+
Tags:
649+
compare:
650+
is_ignored: true
591651
hooks:
592652
sdk_read_one_post_set_output:
593653
code: rm.customSetOutput(&resource{ko})
@@ -625,6 +685,16 @@ resources:
625685
from:
626686
operation: DescribeNotebookInstanceLifecycleConfig
627687
path: CreationTime
688+
Tags:
689+
compare:
690+
is_ignored: true
691+
# Custom code is implemented for these fields delta comparison
692+
OnCreate:
693+
compare:
694+
is_ignored: true
695+
OnStart:
696+
compare:
697+
is_ignored: true
628698
ignore:
629699
resource_names:
630700
- Algorithm
@@ -672,4 +742,4 @@ ignore:
672742
- Workforce
673743
- Workteam
674744
operations:
675-
- UpdateTrainingJob
745+
- UpdateTrainingJob

apis/v1alpha1/hyper_parameter_tuning_job.go

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

apis/v1alpha1/model.go

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

apis/v1alpha1/model_bias_job_definition.go

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

apis/v1alpha1/model_explainability_job_definition.go

Lines changed: 2 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)