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

ci: fix frontend deploy workflow #4977

Merged
merged 8 commits into from
Jan 8, 2025
Merged

Conversation

matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Jan 8, 2025

Changes

Fixes frontend deployment workflow, and refactors for code reuse.

How did you test this code?

Triggered the workflow (without actually deploying) for the new branch (see here)

Copy link

vercel bot commented Jan 8, 2025

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

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Jan 8, 2025 10:55am
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Visit Preview Jan 8, 2025 10:55am
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Visit Preview Jan 8, 2025 10:55am

@github-actions github-actions bot added the ci-cd Build, test and deployment related label Jan 8, 2025
Copy link
Contributor

github-actions bot commented Jan 8, 2025

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith:pr-4977 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4977 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api-test:pr-4977 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-4977 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-4977 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-4977 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4977 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-4977 Finished ✅ Results

Copy link
Contributor

github-actions bot commented Jan 8, 2025

Uffizzi Preview deployment-59647 was deleted.

@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jan 8, 2025
@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jan 8, 2025
@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jan 8, 2025
@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jan 8, 2025
@matthewelwell matthewelwell requested review from a team and tiagoapolo and removed request for a team January 8, 2025 10:41
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.39%. Comparing base (60d042d) to head (3987e6d).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4977   +/-   ##
=======================================
  Coverage   97.39%   97.39%           
=======================================
  Files        1191     1191           
  Lines       41630    41630           
=======================================
  Hits        40546    40546           
  Misses       1084     1084           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
ENV: prod
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be worth mentioning this is a production workflow in the filename if this isn't an input

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, fair point. I've added an input for this as I hope that we can use this for staging in the future rather than having different workflows for staging / production and demo.

@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jan 8, 2025
@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jan 8, 2025
@matthewelwell matthewelwell requested a review from kyle-ssg January 8, 2025 13:02
@matthewelwell matthewelwell merged commit 7b58be6 into main Jan 8, 2025
36 checks passed
@matthewelwell matthewelwell deleted the ci/fix-frontend-deploy-workflow branch January 8, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cd Build, test and deployment related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants