sourcegraph/third_party/rules_apko
Noah S-C 88998e2c35
bazel: patch rules_apko to copy, not symlink, lockfile (#61877)
CI started failing with a bunch of the following for every apko target
```
...
(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
...
```

This line seemed suspect, so lets replace it with an actual full copy instead of 🤨 symlink https://sourcegraph.com/github.com/chainguard-dev/rules_apko@1d78765293a0baf3f92ca49efa51d6c02b9c828e/-/blob/apko/translate_lock.bzl?L69

## Test plan

CI goes green again 😎
2024-04-15 11:07:16 +00:00
..
apko_run_runfiles_path.patch Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
BUILD.bazel Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
copy_dont_symlink_lockfile.patch bazel: patch rules_apko to copy, not symlink, lockfile (#61877) 2024-04-15 11:07:16 +00:00
repository_label_strip.patch Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00