Keep runtime builder path stable [skip ci]
This commit is contained in:
@@ -118,7 +118,7 @@ jobs:
|
|||||||
--lock-output runtime-output/package-artifacts.lock.json \
|
--lock-output runtime-output/package-artifacts.lock.json \
|
||||||
--requirements-output runtime-output/requirements-release.packages.txt \
|
--requirements-output runtime-output/requirements-release.packages.txt \
|
||||||
--python .runtime-build/bin/python
|
--python .runtime-build/bin/python
|
||||||
PYTHON=.runtime-build/bin/python \
|
PYTHON="$PWD/.runtime-build/bin/python" \
|
||||||
GOVOPLAN_WEBUI_PACKAGE_LOCK="$PWD/runtime-output/package-artifacts.lock.json" \
|
GOVOPLAN_WEBUI_PACKAGE_LOCK="$PWD/runtime-output/package-artifacts.lock.json" \
|
||||||
GOVOPLAN_WEBUI_PACKAGE_DIR="$PWD/runtime-output/webui-packages" \
|
GOVOPLAN_WEBUI_PACKAGE_DIR="$PWD/runtime-output/webui-packages" \
|
||||||
bash tools/release/install-webui-release-dependencies.sh ../govoplan-core/webui
|
bash tools/release/install-webui-release-dependencies.sh ../govoplan-core/webui
|
||||||
|
|||||||
@@ -153,6 +153,8 @@ being selected from an undeclared registry.
|
|||||||
The runtime distribution workflow uses the verified wheelhouse directly and
|
The runtime distribution workflow uses the verified wheelhouse directly and
|
||||||
installs module WebUI tarballs only after matching them to the lock. It publishes
|
installs module WebUI tarballs only after matching them to the lock. It publishes
|
||||||
the package set, package lock, and hash-locked requirements as release assets.
|
the package set, package lock, and hash-locked requirements as release assets.
|
||||||
|
The WebUI installer receives the absolute runtime-build interpreter path so its
|
||||||
|
directory changes cannot escape the isolated release environment.
|
||||||
The package-lock SHA-256 is part of the signed distribution manifest. Runtime
|
The package-lock SHA-256 is part of the signed distribution manifest. Runtime
|
||||||
finalization also requires the lock's package versions and hashes to match the
|
finalization also requires the lock's package versions and hashes to match the
|
||||||
wheel composition embedded in the images. OCI assembly remains network-free
|
wheel composition embedded in the images. OCI assembly remains network-free
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ class PackageRegistryReleaseTests(unittest.TestCase):
|
|||||||
"--package-lock runtime-output/package-artifacts.lock.json",
|
"--package-lock runtime-output/package-artifacts.lock.json",
|
||||||
workflow,
|
workflow,
|
||||||
)
|
)
|
||||||
|
self.assertIn('PYTHON="$PWD/.runtime-build/bin/python"', workflow)
|
||||||
self.assertNotIn(
|
self.assertNotIn(
|
||||||
"pip wheel --no-deps --wheel-dir runtime-output/local-wheels",
|
"pip wheel --no-deps --wheel-dir runtime-output/local-wheels",
|
||||||
workflow,
|
workflow,
|
||||||
|
|||||||
Reference in New Issue
Block a user