Skip to content

CICD-406 · Developer environment bootstrap ​

Encyclopedia · Preview environments and developer experience · All snippets

Previous · CICD-405 · Next · CICD-407

1. Where it fits ​

  • Placement developer setup script.
  • Prerequisites trusted preview controller, disposable environment and scoped identities for external resources.
  • Platforms kubernetes, local-lab.

2. Copy the snippet ​

bash
uv sync --locked
pre-commit install
uv run pytest -q

3. How it works ​

uv verifies the project's lock state and installs the resolved environment before tests use it. uv executes the specified command in the project environment. The lock and declared dependency groups determine what is installed.

4. Verify the result ​

Require a committed lockfile and approved pre-commit hooks. Verify setup both on Linux and on documented developer platforms.

Validation syntax-validated (Bash parse). Status definitions.