Skip to content

Maintenance: Improve Govcloud/China Deployment Github Action #4858

@svozza

Description

@svozza

Summary

Currently, we must run the GitHub action that deploys to China and GovCloud 4 times, once each of gamma and then for prod. This requires manual steps that are error prone. We should update the deployment job to first deploy to gamma and if that succeeds then deploy to prod.

Let's also add another layer of vaildation, let's add a check to make sure that the layer version passed in to the action is exactly one version above the previous one.

Why is this needed?

This will prevent accidentally forgetting the promote to prod step.

Which area does this relate to?

Automation

Solution

Make the GitHub action deploy to gamma and prod sequentially with the prod deployment only happening if gamma is successful.

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    automationThis item relates to automationinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)pending-releaseThis item has been merged and will be released soon

    Type

    No type

    Projects

    Status

    Coming soon

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions