Skip to content

ci: deployment pipeline should not pass until the deployment is live  #134

@OwenPriceSkelly

Description

@OwenPriceSkelly

Our current "Build and Push Docker Image to Lightsail" action doesn't wait to see if the deployment was actually successful or not, which has caught us by surprise a couple of times now.

Acceptance criteria

  • there should be another step in the action to poll lightsail for the deployment status that blocks until the status is "RUNNING".
  • If the deployment fails the job should fail too.

note that lightsail automatically reverts to the most recent successful deployment on failure, so we'll need to make sure we're not accidentally getting a "RUNNING" status from a prior deployment. we also might need to update the permissions of the GH-action-garden-backend-lightsail-deployer role.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions