TraceMachina / nativelink

Bazel RBE with CAS server implementation in Rust. The free and open source cache and remote execution service, prioritizing stability and speed for the people that need it.
https://docs.nativelink.com
Apache License 2.0
236 stars 46 forks source link

Tag evaluation for K8s images shouldn't run on the host #1012

Open aaronmondal opened 2 weeks ago

aaronmondal commented 2 weeks ago

While working on decoupling the nativelink and toolchain images I noticed that the current kustomization scripts won't work in a cross-platform setting. A nix eval would evaluate against the host system architecture, causing potential tag mismatches between the host and cluster node architecture.

The nix eval calls should run in the cluster via tekton and emit the tags to e.g. configMaps.