FIRST-Tech-Challenge / fmltc

FIRST Machine Learning Toolchain
Other
38 stars 14 forks source link

Fixed issue with creating a dataset with more than 42 videos #239

Closed lizlooney closed 2 years ago

lizlooney commented 2 years ago

Don't store video_uuids as json in action parameters for dataset producer. Use a list.

Fixes #237

github-actions[bot] commented 2 years ago

Terraform plan Succeeded for Workspace: default

Show Output ```diff An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: ! update in-place -/+ destroy and then create replacement Terraform will perform the following actions: # module.dev.google_app_engine_standard_app_version.fmltc-app-v1 will be updated in-place ! resource "google_app_engine_standard_app_version" "fmltc-app-v1" { id = "apps/ftc-ml-firstinspires-dev/services/default/versions/v1" name = "apps/ftc-ml-firstinspires-dev/services/default/versions/v1" # (9 unchanged attributes hidden) ! automatic_scaling { ! min_pending_latency = "0.100s" -> "0.1s" # (4 unchanged attributes hidden) # (1 unchanged block hidden) } ! deployment { ! zip { ! source_url = "https://storage.googleapis.com/ftc-ml-firstinspires-dev-gae-source/b09927ed4b61bad993037f73688c2a5b.zip" -> "https://storage.googleapis.com/ftc-ml-firstinspires-dev-gae-source/a201dd65a82ab1da04b4e485815e31ad.zip" # (1 unchanged attribute hidden) } } - handlers { - auth_fail_action = "AUTH_FAIL_ACTION_REDIRECT" -> null - login = "LOGIN_OPTIONAL" -> null - security_level = "SECURE_OPTIONAL" -> null - url_regex = ".*" -> null - script { - script_path = "auto" -> null } } # (8 unchanged blocks hidden) } # module.dev.google_cloudfunctions_function.perform-action will be updated in-place ! resource "google_cloudfunctions_function" "perform-action" { id = "projects/ftc-ml-firstinspires-dev/locations/us-central1/functions/perform_action" name = "perform_action" ! source_archive_object = "c1e8a1b9e5fb85b5da223953c017bc53.zip" -> "81c263130c8f33d3090ba6257fbd367e.zip" # (13 unchanged attributes hidden) # (2 unchanged blocks hidden) } # module.dev.google_storage_bucket_object.app-server-archive must be replaced -/+ resource "google_storage_bucket_object" "app-server-archive" { ! content_type = "application/zip" -> (known after apply) ! crc32c = "rUj5eg==" -> (known after apply) ! detect_md5hash = "sJkn7UthutmTA39zaIwqWw==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-gae-source-b09927ed4b61bad993037f73688c2a5b.zip" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "sJkn7UthutmTA39zaIwqWw==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev-gae-source/o/b09927ed4b61bad993037f73688c2a5b.zip?generation=1638568232136417&alt=media" -> (known after apply) - metadata = {} -> null ! name = "b09927ed4b61bad993037f73688c2a5b.zip" -> "a201dd65a82ab1da04b4e485815e31ad.zip" # forces replacement ! output_name = "b09927ed4b61bad993037f73688c2a5b.zip" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev-gae-source/o/b09927ed4b61bad993037f73688c2a5b.zip" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } # module.dev.google_storage_bucket_object.cloud-function-archive must be replaced -/+ resource "google_storage_bucket_object" "cloud-function-archive" { ! content_type = "application/zip" -> (known after apply) ! crc32c = "6MxVbA==" -> (known after apply) ! detect_md5hash = "weihueX7hbXaIjlTwBe8Uw==" -> "different hash" # forces replacement - event_based_hold = false -> null ! id = "ftc-ml-firstinspires-dev-gcf-source-c1e8a1b9e5fb85b5da223953c017bc53.zip" -> (known after apply) + kms_key_name = (known after apply) ! md5hash = "weihueX7hbXaIjlTwBe8Uw==" -> (known after apply) ! media_link = "https://storage.googleapis.com/download/storage/v1/b/ftc-ml-firstinspires-dev-gcf-source/o/c1e8a1b9e5fb85b5da223953c017bc53.zip?generation=1638568232134671&alt=media" -> (known after apply) - metadata = {} -> null ! name = "c1e8a1b9e5fb85b5da223953c017bc53.zip" -> "81c263130c8f33d3090ba6257fbd367e.zip" # forces replacement ! output_name = "c1e8a1b9e5fb85b5da223953c017bc53.zip" -> (known after apply) ! self_link = "https://www.googleapis.com/storage/v1/b/ftc-ml-firstinspires-dev-gcf-source/o/c1e8a1b9e5fb85b5da223953c017bc53.zip" -> (known after apply) ! storage_class = "STANDARD" -> (known after apply) - temporary_hold = false -> null # (2 unchanged attributes hidden) } Plan: 2 to add, 2 to change, 2 to destroy. ```