Skip to content

Developer sees that the last SHA used in a plan is applied when merging#61

Open
ohrite wants to merge 1 commit intomainfrom
mov/37-sha-deployments
Open

Developer sees that the last SHA used in a plan is applied when merging#61
ohrite wants to merge 1 commit intomainfrom
mov/37-sha-deployments

Conversation

@ohrite
Copy link
Copy Markdown
Collaborator

@ohrite ohrite commented Oct 22, 2025

Summary

This PR sets up terraform to deploy the most recently planned SHA when merging a PR.

Relates to #37

Type of change

  • New feature
  • Bug fix
  • Documentation
  • Configuration

Post-merge actions

Monitor terraform apply

@ohrite ohrite requested a review from raebot October 22, 2025 20:10
@ohrite ohrite self-assigned this Oct 22, 2025
@ohrite ohrite force-pushed the mov/37-sha-deployments branch 2 times, most recently from 6198ab7 to 49dc9a7 Compare October 22, 2025 20:14
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 22, 2025

Terraform plan in iac/
With variables: image_tag = "c3e2e1412574a59669d23912bd37c1201e4cbf17"

Plan: 0 to add, 1 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_service.cal-bc-staging will be updated in-place
!~  resource "google_cloud_run_v2_service" "cal-bc-staging" {
-       client                  = "cloud-console" -> null
        id                      = "projects/cal-itp-data-infra-staging/locations/us-west2/services/cal-bc-staging"
        name                    = "cal-bc-staging"
#        (32 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:development" -> "us-west2-docker.pkg.dev/cal-itp-data-infra-staging/ghcr/cal-itp/cal-bc/cal-bc:c3e2e1412574a59669d23912bd37c1201e4cbf17"
-               name           = "cal-bc-1" -> null
#                (6 unchanged attributes hidden)

#                (10 unchanged blocks hidden)
            }

#            (2 unchanged blocks hidden)
        }

#        (2 unchanged blocks hidden)
    }

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

📝 Plan generated in Terraform Plan #62

@ohrite ohrite force-pushed the mov/37-sha-deployments branch from 49dc9a7 to a53ed56 Compare October 22, 2025 20:17
@ohrite ohrite force-pushed the mov/37-sha-deployments branch from a53ed56 to fd3e027 Compare October 22, 2025 21:07
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.

2 participants