Skip to content

Commit

Permalink
Add warning about concurrent deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Mar 13, 2024
1 parent d07d46f commit 547d7d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/routes/_gcn.docs.contributing.deployment/route.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ handle:
---

import { Link } from '@remix-run/react'
import { Alert } from '@trussworks/react-uswds'

import deploymentScreenshot from './screenshot.png'

Expand Down Expand Up @@ -77,6 +78,13 @@ To approve and trigger a deployment to testing or production, follow these steps

The deployment should take about 5 minutes.

<Alert type="warning" headingLevel="h4" heading="Avoid concurrent deployments">
Be careful not to trigger multiple deployments to the same stage at the same time because [GitHub currently has no way to prevent multiple deployment jobs for the same environment from running simultaneously](https://github.com/orgs/community/discussions/17401).

If a deployment is already in progress and you trigger another deployment to the same stage before it finishes, then the second deployment will probably fail harmlessly because AWS CloudFormation does not permit updating a stack while an update is already in progress.

</Alert>

<img
src={deploymentScreenshot}
alt="Screen shot of deployment review in GitHub Actions"
Expand Down

0 comments on commit 547d7d0

Please sign in to comment.