sourcegraph/doc
Greg Magolan be015c58c2
refactor: upgrade to rules_oci 2.0 (2nd attempt) (#63829)
2nd attempt of #63111, a follow up
https://github.com/sourcegraph/sourcegraph/pull/63085

rules_oci 2.0 brings a lot of performance improvement around oci_image
and oci_pull, which will benefit Sourcegraph. It will also make RBE
faster and have less load on remote cache.

However, 2.0 makes some breaking changes like

- oci_tarball's default output is no longer a tarball
- oci_image no longer compresses layers that are uncompressed, somebody
has to make sure all `pkg_tar` targets have a `compression` attribute
set to compress it beforehand.
- there is no curl fallback, but this is fine for sourcegraph as it
already uses bazel 7.1.

I checked all targets that use oci_tarball as much as i could to make
sure nothing depends on the default tarball output of oci_tarball. there
was one target which used the default output which i put a TODO for
somebody else (somebody who is more on top of the repo) to tackle
**later**.

## Test plan

CI. Also run delivery on this PR (don't land those changes)

---------

Co-authored-by: Noah Santschi-Cooney <noah@santschi-cooney.ch>
2024-08-07 22:21:49 +01:00
..
_resources Chore: remove plausible scripts (#63054) 2024-06-03 17:33:40 -06:00
admin dotcom: Remove on-demand cloning of repositories (#63321) 2024-06-26 14:53:14 -07:00
cli/references chore(docs): remove outdated content (#61687) 2024-04-08 16:20:45 +02:00
dev refactor: upgrade to rules_oci 2.0 (2nd attempt) (#63829) 2024-08-07 22:21:49 +01:00
_generated.push.sh fix(docs): no delivery if triggered without changes (#61578) 2024-04-04 09:08:41 +00:00
BUILD.bazel chore(docs): remove outdated content (#61687) 2024-04-08 16:20:45 +02:00
CHANGELOG.md doc: symlink CHANGELOG.md to docs for better search results (#22918) 2021-07-16 23:25:02 +08:00
CODENOTIFY chore: clean up CODENOTIFY for @sourcegraph/delivery (#57046) 2023-09-26 15:20:42 -04:00
dependency_decisions.yml chore/otel-collector: upgrade to v0.103.0, remove jaegerexporter (#63171) 2024-07-10 09:01:41 -07:00
docsite.json insights: re-index docs (#32415) 2022-03-10 10:05:59 -07:00
index.md Fix typo on main docs page (#59104) 2023-12-20 20:09:43 +01:00
KNOWN-ISSUES.md Ajb doc update 23 (#56656) 2023-09-15 17:04:23 +00:00
serve.sh bzl: bazelify docsite and doc/cli/reference generation (#54538) 2023-07-03 16:12:44 +02:00
sidebar.md chore(docs): remove outdated content (#61687) 2024-04-08 16:20:45 +02:00
test.sh bzl: wrap docsite check into //doc:test (#54376) 2023-06-28 21:00:54 +02:00