ci: run workflows on fedora-tiny with Bazel remote execution #144
No reviewers
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
prskr/meilisearch-operator!144
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "paperclip/ICB-47-fedora-tiny-rbe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refs ICB-47 (same change as prskr/tools #137/#138).
What
fedora-tiny; tests/builds/pusher use--config=remote(nativelink RBE, arm64). Addedbuild:remoteblock to.bazelrcand//platforms:linux_arm64_rbe; removed local--remote_cacheand runnerDOCKER_HOST.build:remote --@protobuf//bazel/flags:allow_nonstandard_protoc: the protobuf protoc check is arun_shellaction with noPATH, so on the RBE worker it fails withgrep/cat: command not found. Local builds still run the check.validate.yaml(PR + main):bazel run //tools/format:format.check(check only), thenbazel test --config=remote //.... The repo had novalidateworkflow;go.yamlran tests on PR/main before, so it is now tag-only (release).--platforms=//:linux_amd64 --remote_download_toplevel,tool_cfg = "target"onimage_push(runner is amd64). kustomize in release uses the runner'skustomizeinstead ofbazel run(avoids arm64 binary).manualso//...analysis works with one arm64 execution platform://:go,//:format,//tools:bazel_env,//tools/format:format,//dev:generate_crd_code,//dev:update_snapshots,//dev:dev,//dev:dev-manifest,//dev:apply-dev-manifest,//dev:apply_kustomization.bazel run <target>still works when named directly.apm.lock.yamlandconfig/dev/kustomization.yaml(indent only), so the format check passes.Verification
bazel build --config=remote --nobuild //...passes locally.a0c7b61, removed in70123fd): 12/12 tests pass on RBE, images and the amd64 pusher//:pushbuild, and every pusher ELF binary is x86-64 (e_machine=0x3e).validate(run 847 ona0c7b61, run 848 on70123fd): format check and 12/12 tests green.Not verified / risks
git cliffon fedora-tiny.reset reason: overflowon GoLink, handshake timeout). They did not repeat in the last 3 runs.git revert.🤖 Generated with Claude Code
I guess it makes sense to add/update .gitattributes like this:
to avoid formatting generated files