Repository navigation
[v2] Embed the web UI, add kala version, a non-root image, benchmarks and contributor docs - #278
Merged
Merged
Conversation
Serve the web UI from go:embed and remove the generated bindata. The third-party libraries are no longer in the repository: the build installs them with npm from a lockfile and embeds them. Without them the UI says it is unavailable.
kala version and --version print the version, commit, build date and Go version set at build time. The image is a pinned multi-stage build running as a non-root user. CI checks the release binary and builds and smoke-tests the image.
Benchmark the next-run computation, saving a job with a long history and listing jobs. Pull requests fail if a benchmark is 20% slower than the base twice. CONTRIBUTING explains how to build, test, fuzz and benchmark.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
go:embedand removes the generated bindata and its tools.kala versionandkala --version: version, commit, build date and Go version, set at build time bymake bin/kala.CONTRIBUTING.md.