bazel: use remote caching (#1456)

* bazel: add configuration for remote caching
* ci: enable bazel remote caching for building binaries
* ci: use bazel directly when building go binaries
* ci: enable cache for most build steps
* dev-docs: document remote caching
This commit is contained in:
Malte Poll 2023-03-20 16:05:08 +01:00 committed by GitHub
parent 4f37fe38f9
commit c3c0940adb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 263 additions and 46 deletions

View file

@ -22,6 +22,7 @@ timestamp() {
"${REPOSITORY_ROOT}/tools/pseudo-version" -print-timestamp -timestamp-format '2006-01-02T15:04:05Z07:00'
}
echo "REPO_URL https://github.com/edgelesssys/constellation.git"
echo "STABLE_STAMP_COMMIT $(git rev-parse HEAD)"
echo "STABLE_STAMP_STATE $(git diff-index --quiet HEAD -- && echo "clean" || echo "dirty")"
echo "STABLE_STAMP_VERSION $(pseudo_version)"