Import upstream v0.16.22, stripped

Upstream commit: 474dd0229cb20cf513036619781ed97bd8073c3f
Enterprise-only files removed or emptied: 63
Enterprise-only snippets removed: 117 in 50 files
Dangling module declarations removed: 5
Cargo edits turning enterprise off: 14
Verification: clean
Enterprise feature gates left for rebuilt features: 19 in 18 files

Produced by tools/fork/strip.py. The full report is in docs/fork/strip-reports/ on main.
This commit is contained in:
2026-09-18 10:21:56 -07:00
commit 7dae9b29fd
1650 changed files with 485521 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
variable "TARGET" {
default = "$TARGET"
}
variable "GHCR_REPO" {
default = "$GHCR_REPO"
}
variable "BUILD_ENV" {
default = "$BUILD_ENV"
}
variable "SUFFIX" {
default = "$SUFFIX"
}
variable "DOCKER_PLATFORM" {
default = "$DOCKER_PLATFORM"
}
target "docker-metadata-action" {}
target "build" {
secret = [
"type=env,id=ACTIONS_RESULTS_URL",
"type=env,id=ACTIONS_RUNTIME_TOKEN"
]
args = {
TARGET = "${TARGET}"
BUILD_ENV = equal("", "${BUILD_ENV}") ? null : "${BUILD_ENV}"
}
target = "binaries"
cache-from = [
"type=registry,ref=${GHCR_REPO}-buildcache:${TARGET}"
]
cache-to = [
"type=registry,ref=${GHCR_REPO}-buildcache:${TARGET},mode=max,compression=zstd,compression-level=9,force-compression=true,oci-mediatypes=true,image-manifest=false"
]
context = "./"
dockerfile = "Dockerfile.build"
output = ["./artifact"]
}
target "image" {
inherits = ["build","docker-metadata-action"]
cache-to = [""]
cache-from = [
"type=registry,ref=${GHCR_REPO}-buildcache:${TARGET}"
]
target = equal("", "${SUFFIX}") ? "gnu" : "musl"
platforms = [
"${DOCKER_PLATFORM}"
]
output = [
""
]
}