Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile.ops-api #1835

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Update Dockerfile.ops-api #1835

merged 1 commit into from
Dec 27, 2023

Conversation

devops-chris
Copy link
Contributor

What changed

Described what changes in this PR, at a high level

Issue

Add link to issue here

How to test

Write out steps for how someone could test this PR against the acceptance criteria

Screenshots

If relevant, e.g. for a front-end feature

Definition of Done Checklist

  • OESA: Code refactored for clarity
  • OESA: Dependency rules followed
  • Automated unit tests updated and passed
  • Automated integration tests updated and passed
  • Automated quality tests updated and passed
  • Automated load tests updated and passed
  • Automated a11y tests updated and passed
  • Automated security tests updated and passed
  • 90%+ Code coverage achieved
  • Form validations updated

Links

If relevant, e.g. for a link to a piece of markdown documentation

Copy link

Terraform Plan for terraform/eus/dev/backend:

data.azurerm_postgresql_flexible_server.ops_dbs: Reading...
data.azurerm_container_app_environment.aca_env: Reading...
data.azurerm_key_vault.vault: Reading...
data.azurerm_key_vault.vault: Read complete after 0s [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.KeyVault/vaults/opre-ops-dev-eus-core-kv]
data.azurerm_key_vault_secret.ops-pw: Reading...
data.azurerm_key_vault_secret.ops-jwt-private-key: Reading...
data.azurerm_postgresql_flexible_server.ops_dbs: Read complete after 1s [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/opre-ops-dev-eus-db-psql]
data.azurerm_container_app_environment.aca_env: Read complete after 1s [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/managedEnvironments/opre-ops-dev-eus-core-cae]
data.azurerm_key_vault_secret.ops-pw: Read complete after 1s [id=https://opre-ops-dev-eus-core-kv.vault.azure.net/secrets/ops-role-password/09ab85f39f0f4033bad60333fb584f93]
data.azurerm_key_vault_secret.ops-jwt-private-key: Read complete after 2s [id=https://opre-ops-dev-eus-core-kv.vault.azure.net/secrets/ops-jwt-private-key/f4cec3a063e24ab1aba6dd83c63fbc0a]
azurerm_container_app.backend: Refreshing state... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/containerApps/opre-ops-dev-eus-be-ca]

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:

  # azurerm_container_app.backend will be updated in-place
  ~ resource "azurerm_container_app" "backend" {
        id                            = "/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/containerApps/opre-ops-dev-eus-be-ca"
        name                          = "opre-ops-dev-eus-be-ca"
        tags                          = {}
        # (8 unchanged attributes hidden)

      ~ template {
          ~ revision_suffix = "9678ab43" -> "5badb853"
            # (2 unchanged attributes hidden)

          ~ container {
              ~ image             = "ghcr.io/hhs/opre-ops/ops-backend:9678ab43b0712ada0452c11a50cfceaa5b014eaf" -> "ghcr.io/hhs/opre-ops/ops-backend:5badb853ab59825126e26e8499a5e6d24b73ab8e"
                name              = "ops-backend"
                # (5 unchanged attributes hidden)

                # (8 unchanged blocks hidden)
            }
        }

        # (3 unchanged blocks hidden)
    }

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

Plan saved to GH artifacts.

Copy link

Terraform Plan for terraform/eus/dev/backend_asa:

data.azurerm_key_vault.vault: Reading...
data.azurerm_storage_account.static_fe: Reading...
data.azurerm_container_app_environment.aca_env: Reading...
data.azurerm_postgresql_flexible_server.ops_dbs: Reading...
data.azurerm_key_vault.vault: Read complete after 1s [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.KeyVault/vaults/opre-ops-dev-eus-core-kv]
data.azurerm_key_vault_secret.ops-jwt-private-key: Reading...
data.azurerm_key_vault_secret.ops-pw: Reading...
data.azurerm_postgresql_flexible_server.ops_dbs: Read complete after 1s [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.DBforPostgreSQL/flexibleServers/opre-ops-dev-eus-db-psql]
data.azurerm_container_app_environment.aca_env: Read complete after 1s [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/managedEnvironments/opre-ops-dev-eus-core-cae]
data.azurerm_storage_account.static_fe: Read complete after 1s [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.Storage/storageAccounts/opreopsdeveussfest]
data.azurerm_key_vault_secret.ops-pw: Read complete after 0s [id=https://opre-ops-dev-eus-core-kv.vault.azure.net/secrets/ops-role-password/09ab85f39f0f4033bad60333fb584f93]
data.azurerm_key_vault_secret.ops-jwt-private-key: Read complete after 0s [id=https://opre-ops-dev-eus-core-kv.vault.azure.net/secrets/ops-jwt-private-key/f4cec3a063e24ab1aba6dd83c63fbc0a]
azurerm_container_app.backend: Refreshing state... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/containerApps/opre-ops-dev-eus-sbe-ca]

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:

  # azurerm_container_app.backend will be updated in-place
  ~ resource "azurerm_container_app" "backend" {
        id                            = "/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/containerApps/opre-ops-dev-eus-sbe-ca"
        name                          = "opre-ops-dev-eus-sbe-ca"
        tags                          = {}
        # (8 unchanged attributes hidden)

      ~ template {
          ~ revision_suffix = "9678ab43" -> "5badb853"
            # (2 unchanged attributes hidden)

          ~ container {
              ~ image             = "ghcr.io/hhs/opre-ops/ops-backend:9678ab43b0712ada0452c11a50cfceaa5b014eaf" -> "ghcr.io/hhs/opre-ops/ops-backend:5badb853ab59825126e26e8499a5e6d24b73ab8e"
                name              = "ops-backend"
                # (5 unchanged attributes hidden)

                # (8 unchanged blocks hidden)
            }
        }

        # (3 unchanged blocks hidden)
    }

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

Plan saved to GH artifacts.

@devops-chris devops-chris merged commit 209d570 into development Dec 27, 2023
7 checks passed
@devops-chris devops-chris deleted the devops-chris-patch-1 branch December 27, 2023 21:39
Copy link

Terraform Apply for for terraform/eus/dev/backend_asa:

azurerm_container_app.backend: Modifying... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/containerApps/opre-ops-dev-eus-sbe-ca]
azurerm_container_app.backend: Still modifying... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-.../containerApps/opre-ops-dev-eus-sbe-ca, 10s elapsed]
azurerm_container_app.backend: Still modifying... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-.../containerApps/opre-ops-dev-eus-sbe-ca, 20s elapsed]
azurerm_container_app.backend: Still modifying... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-.../containerApps/opre-ops-dev-eus-sbe-ca, 30s elapsed]
azurerm_container_app.backend: Modifications complete after 37s [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/containerApps/opre-ops-dev-eus-sbe-ca]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

Outputs:

be_domain = "https://opre-ops-dev-eus-be-ca.blackpond-5cf544be.eastus.azurecontainerapps.io"
fe_domain = "https://opreopsdeveussfest.z13.web.core.windows.net"

Copy link

Terraform Apply for for terraform/eus/dev/backend:

azurerm_container_app.backend: Modifying... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/containerApps/opre-ops-dev-eus-be-ca]
azurerm_container_app.backend: Still modifying... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-...p/containerApps/opre-ops-dev-eus-be-ca, 10s elapsed]
azurerm_container_app.backend: Still modifying... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-...p/containerApps/opre-ops-dev-eus-be-ca, 20s elapsed]
azurerm_container_app.backend: Still modifying... [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-...p/containerApps/opre-ops-dev-eus-be-ca, 30s elapsed]
azurerm_container_app.backend: Modifications complete after 38s [id=/subscriptions/91ab8ed2-74e6-4366-aaf5-036186ec70db/resourceGroups/opre-ops-dev-eus-core-rg/providers/Microsoft.App/containerApps/opre-ops-dev-eus-be-ca]

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

Outputs:

be_domain = "https://opre-ops-dev-eus-be-ca.blackpond-5cf544be.eastus.azurecontainerapps.io"
fe_domain = "https://opre-ops-dev-eus-fe-ca.blackpond-5cf544be.eastus.azurecontainerapps.io"

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.

1 participant