Skip to content

Record a GitHub Deployment after each deployment and deactivate on app delete #12528

Description

@zachcasper

Summary

Have the run-rad-commands action record a GitHub Deployment on a successful deploy and mark it inactive when the application is deleted.

Part of the Repo Radius feature specification (PR #12078).

Details

GitHub Deployments give the frontend and the repository a native record of what is deployed where and at which commit. On a successful deploy, the action records a GitHub Deployment at the deployed commit for the target environment (see User Story 1.2). Promotion flows read the GitHub Deployment to determine the currently deployed commit (see User Story 3.1). When the application is deleted, the corresponding GitHub Deployment is marked inactive (see User Story 3.2).

Requirements

  • FR13: run-rad-commands shall record a GitHub Deployment on a successful deploy and mark it inactive on delete.

Acceptance criteria

  • A successful deploy records a GitHub Deployment at the deployed commit for the target environment.
  • Deleting the application marks the corresponding GitHub Deployment inactive.
  • The recorded GitHub Deployment reflects the environment and commit so promotion flows can read it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue describes a feature request in Radius

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions