-
Notifications
You must be signed in to change notification settings - Fork 242
ci: use depot runners #11260
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: use depot runners #11260
Conversation
Deploying agoric-sdk with
|
Latest commit: |
9445774
|
Status: | ✅ Deploy successful! |
Preview URL: | https://32959544.agoric-sdk.pages.dev |
Branch Preview URL: | https://mk-depot-runners-integration.agoric-sdk.pages.dev |
47dbdf7
to
3c5e2ff
Compare
@@ -126,7 +126,7 @@ jobs: | |||
needs: pre_check | |||
if: needs.pre_check.outputs.should_run == 'true' | |||
|
|||
runs-on: 'ubuntu-22.04-4core-150SSD-16RAM' | |||
runs-on: 'depot-ubuntu-22.04-4' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a minor difference b/w 4 core and 8 core machines - went with fewer core machine as this step is not the bottleneck
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What difference other than cores? You mean cost diff as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant the diff in reduction in time. Cost diff for sure b/w 4 and 8 core machines obvio
@@ -199,7 +199,7 @@ jobs: | |||
test-docker-build: | |||
needs: pre_check | |||
if: needs.pre_check.outputs.should_run == 'true' | |||
runs-on: 'ubuntu-22.04-4core-150SSD-16RAM' | |||
runs-on: 'depot-ubuntu-22.04-8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better machine with similar pricing to the previous runner
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we see native docker images layer/build caching in depot runners? I think the time reduction is due to this surely
@@ -126,7 +126,7 @@ jobs: | |||
needs: pre_check | |||
if: needs.pre_check.outputs.should_run == 'true' | |||
|
|||
runs-on: 'ubuntu-22.04-4core-150SSD-16RAM' | |||
runs-on: 'depot-ubuntu-22.04-4' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What difference other than cores? You mean cost diff as well?
No, this is by just switching to depot runners. See https://depot.dev/blog/depot-github-actions-runners. |
If we see this thread, our main goal was to have bettwr docker layers caching through depot. Just curious if we have achieved that by usind depot runners or not. Or do we need something else get changed as well? |
I am drafting this PR till I figure out why CI is breaking all of a sudden (it passed when was draft and broke afterwards). |
That is still the goal. This is just a base step towards achieving that. as per https://depot.dev/docs/github-actions/overview "Our runners are automatically integrated into our distributed cache architecture for upload and download speeds up to 1000 MiB/s on 12.5 Gbps of network throughput. We've brought 10x faster caching to GitHub Actions jobs by plugging in the same cache orchestration system that we use for our Docker image builds. You don't have to do anything to get this benefit; it's just there." |
3c5e2ff
to
ef1feb4
Compare
👋 Founder of Depot here. Just wanted to flag that our runners are not automatically integrated with our container build product out of the box. Our container build acceleration runs on optimized builders that run next to the GHA runner when you use Also feel free to ping me via email if I can ever help with anything kyle [at] depot.dev. |
Companion PR: #11271 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm. We can iterate on the machine size for time / cost tradeoff.
ef1feb4
to
9445774
Compare
This pull request has been removed from the queue for the following reason: Pull request #11260 has been dequeued. The pull request rule doesn't match anymore. The following conditions don't match anymore:
You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. |
Sorry, this change seems super small in scope, please proceed. |
closes: #11238
Description
Replaces standard GH runner machines with depot runners for integration tests.
Security Considerations
Nothing new.
Scaling Considerations
Reduces job times by a few minutes (details in description). Sets up a baseline for future docker build caching
Documentation Considerations
None
Testing Considerations
CI is passing
Upgrade Considerations
None