feat: use Alpine AOT images, static SQLite and Podman host metrics [CI]
This commit is contained in:
1 parent
6e945657c1
commit
103ef27ed3
37 files changed
+719
-309
No files matched your search
@@ -18,6 +18,9 @@ GLOBAL_BACKEND_FILES = {
|
||||
"NuGet.Config",
|
||||
"NuGet.config",
|
||||
}
|
||||
# The container stages backend as a standalone tree. Copy the repository-wide
|
||||
# SDK and package versions into it so restore/publish use the same configuration.
|
||||
ROOT_BUILD_FILES = {"Directory.Packages.props", "global.json"}
|
||||
CONTAINERFILES = {
|
||||
"agent": ROOT / "packaging/container/Agent.NativeBuild.Containerfile",
|
||||
"probe": ROOT / "packaging/container/Probe.NativeBuild.Containerfile",
|
||||
@@ -49,6 +52,10 @@ def stage(component: str, destination: Path) -> None:
|
||||
target.parent.mkdir(parents=True, exist_ok=True)
|
||||
shutil.copy2(path, target)
|
||||
|
||||
for name in ROOT_BUILD_FILES:
|
||||
for directory in (restore, source):
|
||||
shutil.copy2(ROOT / name, directory / name)
|
||||
|
||||
config = destination / "config"
|
||||
config.mkdir()
|
||||
(config / ".keep").write_text("", encoding="utf-8")
|
||||
|
||||
Reference in new issue
Block a user