Watch
1
0
Fork
You've already forked buildah-build
1
mirror of https://github.com/redhat-actions/buildah-build.git synced 2026-11-16 19:40:57 +00:00
buildah-build/tsconfig.json
Christopher Brown 6c3509dc57
Detect container storage root instead of hardcoding it (#174) (#175)
The buildah-image container mode hardcoded /var/lib/containers/storage
as the volume mount path. This is the rootful storage location and
fails with "permission denied" when the runner operates as a non-root
user (rootless podman stores data elsewhere).

Query `podman info --format '{{.Store.GraphRoot}}'` at runtime to
discover the actual storage root. Falls back to the previous hardcoded
path with a warning if detection fails.

Also adds vitest and unit tests for the container mode logic, and a
test job in CI.

Closes #174

Co-authored-by: Claude Opus 4.6 <[email protected]>
2026-07-24 13:00:55 +01:00

30 lines
640 B
JSON

{
"compilerOptions": {
"rootDir": "src/",
"outDir": "out/",
"target": "es2024",
"lib": ["es2024"],
"module": "commonjs",
"moduleResolution": "node",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"types": ["node"]
},
"include": [
"src/"
],
"exclude": [
"src/**/*.test.ts"
]
}