-
Notifications
You must be signed in to change notification settings - Fork 13
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
Investigate Using an image instead of building tools each run #94
Comments
In particular,
If we can publish a docker image (say, nightly) of these, it should reduce the running time from 2-3 minutes to <10s. Since we run 2 probes every 10m, this is about 2 * 6 * 24 = 288 minutes / day of CI time that we'd claw back. |
@sallyom -- did you get started on this, or do you mind if I take it? |
I've tried several times to optimize the module caching to speed this up. it seems to work for a bit, then eventually get worse :/ |
I poked at this a bit, and the one tricky part seems to be the https://github.com/sigstore/sigstore-probers/blob/main/.github/workflows/reusable-prober.yml#L90 I may see about re-implementing that elsewhere, but it's a medium-sized ball of retries. |
... and I just realized I could copy the built go binaries from the built container to the workspace, which should be quick and allow us to use |
We will still need:
|
Description
It looks like we run
go build
on some of the tools used in the probers. It might be worth investigating if we can just pull those in from a prebuilt image each run which would save us time on each run.The text was updated successfully, but these errors were encountered: