Skip to content

Create models management seed command - #240

Merged
raebot merged 2 commits into
mainfrom
mov/models-seed-command
Sep 22, 2026
Merged

raebot merged 2 commits into
mainfrom
mov/models-seed-command

Conversation

@raebot

@raebot raebot commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR adds a seed data script for a minimal set of sketch project data

Resolves #241

Type of change

  • New feature
  • Bug fix
  • Documentation
  • Configuration

Acceptance notes

Post-merge actions

@github-actions

github-actions Bot commented Sep 18, 2026

Copy link
Copy Markdown

Terraform plan in iac/
With variables: image_tag = "4def3c708219585ccdbca9b5f6be77b495ffff34"

Plan: 0 to add, 3 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~  update in-place

Terraform will perform the following actions:

  # google_cloud_run_v2_job.cal-bc-staging-manage will be updated in-place
!~  resource "google_cloud_run_v2_job" "cal-bc-staging-manage" {
        id                       = "projects/cal-itp-data-infra-staging/locations/us-west2/jobs/cal-bc-staging-manage"
        name                     = "cal-bc-staging-manage"
#        (26 unchanged attributes hidden)

!~      template {
#            (4 unchanged attributes hidden)

!~          template {
#                (6 unchanged attributes hidden)

!~              containers {
!~                  image       = "us-west2-docker.pkg.dev/cal-itp-data-infra-staging/ghcr/cal-itp/cal-bc/cal-bc:0810a16f8d8a87656671567d2079c42e84a5ce5c" -> "us-west2-docker.pkg.dev/cal-itp-data-infra-staging/ghcr/cal-itp/cal-bc/cal-bc:4def3c708219585ccdbca9b5f6be77b495ffff34"
                    name        = null
#                    (4 unchanged attributes hidden)

#                    (4 unchanged blocks hidden)
                }

#                (1 unchanged block hidden)
            }
        }
    }

  # google_cloud_run_v2_service.cal-bc-staging will be updated in-place
!~  resource "google_cloud_run_v2_service" "cal-bc-staging" {
        id                      = "projects/cal-itp-data-infra-staging/locations/us-west2/services/cal-bc-staging"
        name                    = "cal-bc-staging"
#        (33 unchanged attributes hidden)

!~      template {
#            (10 unchanged attributes hidden)

!~          containers {
!~              image          = "us-west2-docker.pkg.dev/cal-itp-data-infra-staging/ghcr/cal-itp/cal-bc/cal-bc:0810a16f8d8a87656671567d2079c42e84a5ce5c" -> "us-west2-docker.pkg.dev/cal-itp-data-infra-staging/ghcr/cal-itp/cal-bc/cal-bc:4def3c708219585ccdbca9b5f6be77b495ffff34"
                name           = null
#                (6 unchanged attributes hidden)

#                (10 unchanged blocks hidden)
            }

#            (2 unchanged blocks hidden)
        }

#        (2 unchanged blocks hidden)
    }

  # google_cloud_run_v2_worker_pool.cal-bc-staging-tasks will be updated in-place
!~  resource "google_cloud_run_v2_worker_pool" "cal-bc-staging-tasks" {
        id                      = "projects/cal-itp-data-infra-staging/locations/us-west2/workerPools/cal-bc-staging-tasks"
        name                    = "cal-bc-staging-tasks"
#        (29 unchanged attributes hidden)

!~      template {
#            (8 unchanged attributes hidden)

!~          containers {
!~              image       = "us-west2-docker.pkg.dev/cal-itp-data-infra-staging/ghcr/cal-itp/cal-bc/cal-bc:0810a16f8d8a87656671567d2079c42e84a5ce5c" -> "us-west2-docker.pkg.dev/cal-itp-data-infra-staging/ghcr/cal-itp/cal-bc/cal-bc:4def3c708219585ccdbca9b5f6be77b495ffff34"
                name        = null
#                (4 unchanged attributes hidden)

#                (4 unchanged blocks hidden)
            }

#            (1 unchanged block hidden)
        }

#        (2 unchanged blocks hidden)
    }

Plan: 0 to add, 3 to change, 0 to destroy.

✅ Plan applied in Terraform Apply #74

@raebot
raebot force-pushed the mov/models-seed-command branch 2 times, most recently from 7567466 to ce7365f Compare September 22, 2026 03:42
@raebot
raebot marked this pull request as ready for review September 22, 2026 03:44
@raebot raebot self-assigned this Sep 22, 2026
@raebot
raebot force-pushed the mov/models-seed-command branch from ce7365f to 75e93fc Compare September 22, 2026 17:53

@erikamov erikamov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@raebot
raebot merged commit ee334e4 into main Sep 22, 2026
6 checks passed
@raebot
raebot deleted the mov/models-seed-command branch September 22, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create data seeding script for models

2 participants