Skip to content

chore: use EC2 runners for the Private Cloud build#3015

Merged
khvn26 merged 2 commits intomainfrom
chore/use-ec2-runners-for-docker-build
Nov 21, 2023
Merged

chore: use EC2 runners for the Private Cloud build#3015
khvn26 merged 2 commits intomainfrom
chore/use-ec2-runners-for-docker-build

Conversation

@khvn26
Copy link
Copy Markdown
Member

@khvn26 khvn26 commented Nov 21, 2023

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

This PR removes the need for me to have a GH runner running on my laptop to build the private cloud image.

How did you test this code?

Run workflow in CI.

Don't merge before...

  • GH_RUNNER_TOKEN is set to a GitHub token with full repo-level permissions to this repo.

@khvn26 khvn26 requested a review from a team November 21, 2023 13:06
@khvn26 khvn26 self-assigned this Nov 21, 2023
@khvn26 khvn26 requested review from zachaysan and removed request for a team November 21, 2023 13:06
@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 21, 2023

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

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2023 3:28pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2023 3:28pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2023 3:28pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 21, 2023

Uffizzi Preview deployment-41188 was deleted.

@khvn26 khvn26 force-pushed the chore/use-ec2-runners-for-docker-build branch from bc214ee to d202ecb Compare November 21, 2023 13:57
Copy link
Copy Markdown
Contributor

@zachaysan zachaysan left a comment

Choose a reason for hiding this comment

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

Everything looks good, just one small question.


stop-runner:
needs: [start-runner, build-dockerhub]
if: ${{ always() }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just curious, why is the if: here even necessary?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Without it the stop-runner job won't get launched in case of failures in any of the prior jobs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I had pretty much the same question on the similar PR in the edge API repo 😄

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5624e29) 95.79% compared to head (d202ecb) 95.79%.

❗ Current head d202ecb differs from pull request most recent head 38c4961. Consider uploading reports for the commit 38c4961 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3015   +/-   ##
=======================================
  Coverage   95.79%   95.79%           
=======================================
  Files        1048     1050    +2     
  Lines       30666    30674    +8     
=======================================
+ Hits        29376    29384    +8     
  Misses       1290     1290           

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


stop-runner:
needs: [start-runner, build-dockerhub]
if: ${{ always() }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I had pretty much the same question on the similar PR in the edge API repo 😄

@khvn26 khvn26 added this pull request to the merge queue Nov 21, 2023
Merged via the queue into main with commit eb3cc04 Nov 21, 2023
@khvn26 khvn26 deleted the chore/use-ec2-runners-for-docker-build branch November 21, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants