GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Speed up CI and make its builds visible by lhotari · Pull Request #16 · jonoffcpu/jonoffcpu Conversation
Collaborator
CI improvements: Gradle build visibility and caching, Docker layer caching, a dependency-submission workflow, and per-fixture test progress in the console. Gradle
Docker layer caching
Test progress in the consoleThe fixtures are main-based
Verification
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsGradle in GitHub Actions: - setup-gradle (gradle/actions v6.3.0, the latest release) uses its default enhanced cache provider, which is free for public repositories, instead of the basic one. It saves the Gradle User Home, the local build cache included, from main only, and every other run restores it read-only, as the action recommends. - Gradle's build cache is on (org.gradle.caching), so compiled classes, generated code and javadoc come from that cache. Only cacheable task types use it; the Docker builds and the fixtures always run. - Every Gradle build publishes a Build Scan to scans.gradle.com, the job summary lists the builds with their scans, and a failing build is also summarized as a pull request comment (pull-requests: write, granted by both callers of the reusable workflow). - A new dependency-submission workflow submits the resolved Gradle dependencies to GitHub's dependency graph on every push to main, which Dependabot alerts and security updates for them are based on. Docker layer caching: - The native bundle builds, which Gradle runs with docker buildx, restore every stage from the GitHub Actions cache with -PdockerCache=gha, and export them with mode=max when -PdockerCacheWrite=true. CI writes only on main, like the Gradle cache, so pull requests read main's layers without evicting them. A docker-container buildx builder, selected through BUILDX_BUILDER, and ghaction-github-runtime provide what the gha cache needs; the default builder stays in use for everything else. The packaged smoke's runtime image uses the same cache. - Both native bundle Dockerfiles now compile the collector's Cargo dependencies, the vendored libbpf, elfutils and zlib among them, in a stage of their own from a placeholder crate, with the same RUSTFLAGS as the real build. A collector change then rebuilds only the collector: locally, the x86-64 glibc and musl bundles rebuild in 32 s instead of 102 s after a collector-only change. Test progress: the fixtures are main-based JavaExec tasks, so Gradle's test logging does not apply. Each fixture task now reports its class as STARTED and PASSED with its duration, and fixtures made of scenario methods report each scenario as STARTED, PASSED or FAILED with its time (FixtureSteps). Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |