rules_apko
rules_apko copied to clipboard
copy lockfile instead of symlinking when translating
We started seeing the following errors on all our apko_image targets:
(10:27:41) ERROR: /mnt/ephemeral/workdir/sourcegraph/sourcegraph/cmd/batcheshelper/BUILD.bazel:78:11: Action cmd/batcheshelper/wolfi_base_apko failed: missing input file '@@batcheshelper_apko_lock//:lockfile_copy'
(10:27:41) ERROR: /mnt/ephemeral/workdir/sourcegraph/sourcegraph/cmd/batcheshelper/BUILD.bazel:78:11: Action cmd/batcheshelper/wolfi_base_apko failed: 1 input file(s) do not exist
Patch tested as part of a fix for the issue (briefly) outlined here: https://github.com/sourcegraph/sourcegraph/pull/61877
I'm not sure why we were suddenly seeing that behaviour or where to start looking to debug this (or how to reliably reproduce it anymore)
rules_apko version 1.2.2