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

add concurrency to deploy workflow to cancel-in-progress runs #6683

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

sainak
Copy link
Member

@sainak sainak commented Nov 21, 2023

WHAT

🤖[deprecated] Generated by Copilot at 7da81a6

This pull request adds a concurrency policy to the deploy workflow to prevent concurrent deployments and cancel previous ones. This improves the reliability and efficiency of the deployment process.

when multiple push happen on a branch each commit runs the whole test and build process again and
the gke staging deployments require a review to deploy, so that keeps the workflow active even if a new workflow has been triggered

this change will cancel the in progress workfows and only keep the latest run on a particular branch

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

HOW

🤖[deprecated] Generated by Copilot at 7da81a6

  • Add a concurrency policy to the deploy workflow to prevent concurrent deployments and cancel previous instances (link)

@sainak sainak requested a review from a team November 21, 2023 13:02
@sainak sainak requested a review from a team as a code owner November 21, 2023 13:02
Copy link

netlify bot commented Nov 21, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 7da81a6
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/655caa805102890008316d29
😎 Deploy Preview https://deploy-preview-6683--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

vercel bot commented Nov 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview Nov 21, 2023 1:03pm

@sainak sainak changed the title add concurrency to deploy workflow cancel-in-progress runs add concurrency to deploy workflow to cancel-in-progress runs Nov 21, 2023
Copy link

cypress bot commented Nov 21, 2023

Passing run #1594 ↗︎

0 85 0 0 Flakiness 0

Details:

add concurrency to deploy workflow cancel-in-progress runs
Project: CARE Commit: 7da81a69b7
Status: Passed Duration: 02:10 💡
Started: Nov 21, 2023 1:06 PM Ended: Nov 21, 2023 1:08 PM

Review all test suite changes for PR #6683 ↗︎

@khavinshankar khavinshankar merged commit f4275e5 into develop Nov 22, 2023
66 checks passed
@khavinshankar khavinshankar deleted the sainak/ci/deploy-concurrency branch November 22, 2023 03:51
Copy link

@sainak We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants