Skip to main content

cs-image-system

CI

A plugin-based, configuration-driven system that turns one YAML tree into infrastructure-as-code for identities, storages, base images and instance images, and applies it through gates, on AWS and GCE. Its purpose is scientific compute: machine images that are correct for a given HPC model, formally released, whose users log in through Okta Privileged Access.

Where to start

  • DAILY_DRIVER.md — how a person actually uses the system: what must exist first, the first run, making and changing things, what proves what, and what a failure means.
  • DESCRIPTION.md — what the system is and how it works, in one read.
  • GOALS.md — what it is for and the properties it keeps.
  • docs/OPERATIONS.md — the operating manual: runs, the developer workflow, CI, the operator's cycles, the rules.
  • docs/CONFIGURATION.md — the configuration reference: every file, every type, every field, one example each.
  • docs/DESIGN.md — the design and its rationale.
  • docs/PLUGINS.md — the packages, each with its own README ending in the same four sections: prerequisites, configuration, what it tests, when it fails.
  • GOLDEN.md — the pinned emission every change is judged against.
  • PARITY.md — how the system and its documentation can diverge, and how to check.
  • BILLING_REMINDERS.md — the GCP account's cost housekeeping.
  • docs/history/ — frozen records of how the system got here; nothing there describes the present.
  • TODO.md and PLAN.md — the work in flight; a worksheet, not documentation.

The Justfile contract

The Justfile is the single entry point for the build lifecycle. Five names are reserved, in lifecycle order:

Target Does
init Toolchain and every workspace package (uv sync), the pre-commit hook; idempotent
build Every workspace member as sdist + wheel under dist/; no tests
test The fast suite, all blocking: ruff, pyright, the unit tests (the golden included)
full-test test plus the docker-backed modification tests and, when the runtime sessions are present, a headless dry run --all with state query --strict; an absent prerequisite reports SKIPPED
release just release <part|version> [test|pypi]: probe the index and the token, then the bar (TestPyPI) or full-test (PyPI), bump every version line and pin, lock, build, publish, commit, tag v<version>

just alone lists every recipe, the contract first. just publish [test|pypi] builds and uploads the version in the tree (TestPyPI by default; a pushed v* tag makes CI do the same). just cli … runs the CLI against the reference configuration for the system's own live proofs; just fixture-live proves the frozen fixture against the real accounts; just public-safe is the gate that keeps secrets and people out of anything published. The cloud change cycle (cloud-*, ci-login-proof, sft-install) is a configuration repository's own business: its Justfile comes from the release (cs-image-system init-config), and a team runs those recipes from its own repository. cs-image-system bootstrap (stage 70) is the one-time initialisation of such a repository as terraform from an interview: the answers to bootstrap.yaml, the root to generated/bootstrap/, regenerated by every run and applied by the operator. The manual describes each.

Layout

packages/ holds the uv workspace: contract (the plugin contract, what a plugin is written against), base (models, lifecycles, state), system (the CLI), hashicorp-utils (the terraform library) and one package per plugin (AWS and GCE runtimes, packer, ansible and bash modifications, Okta identity, terraform storage and instance builders, the GCP terraform pieces, the S3 state backend). tfmodules/ are the terraform modules the builders emit calls to. tests/ is the suite, with the frozen fixture configuration under tests/fixtures/config/ and the golden emission under tests/fixtures/v2_golden/. docs/examples/ holds the three starter configuration repositories the release ships and init-config writes out. The reference configuration is its own repository, cs-image-system-testconfig, which stands alone with its own Justfile and CI; it is checked out beside this one (CSIS_CONFIG_ROOT overrides) for the system's own live proofs only, and the tests never read it.

Licence

Apache-2.0 (LICENSE); every package carries the licence file and declares it in its project metadata.

Metadata

Release files for cs-image-system 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cs-image-system 0.1.6
File Size Uploaded Provenance Actions
cs_image_system-0.1.6.tar.gz 10.0 kB Without provenance Details for cs_image_system-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cs-image-system 0.1.6
File Interpreter ABI Platform Actions
cs_image_system-0.1.6-py3-none-any.whl Python 3 none any Details for cs_image_system-0.1.6-py3-none-any.whl

Total release size: 17.9 kB

Release files / cs_image_system-0.1.6.tar.gz

Download URL cs_image_system-0.1.6.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d407437c24c852fd04f0413e3285ca7a92cb4712d11ffb5bf41143c22bf4da2f
BLAKE2b-256 checksum
How to use checksums
be90e7a25ee1368c6a935dd08f47a6189b87aff45aa12acca1ac86aae20b7ea3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / cs_image_system-0.1.6-py3-none-any.whl

Download URL cs_image_system-0.1.6-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88db3828aa8a982425de8351ec866a54bee417669b21987f5d82573ea628a66f
BLAKE2b-256 checksum
How to use checksums
6d4a89c1d3a965ee4657fcdb9f4370e6903d87f51530a83b2ae570738976890a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for cs-image-system 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page