This project provides a minimal Python script for running Cosmotech Brewery simulations in CI/CD pipelines.
COSMOTECH_API_URL=https://cluster/tenant/version
SERVER_URL=https://cluster/keycloak/
REALM_NAME=code_name
COSMOTECH_CLIENT_ID=automation-client
COSMOTECH_CLIENT_SECRET=your_client_secret
LOG_LEVEL=INFO # Optional, defaults to INFO- Install the uv package manager:
pip install uv- Copy
.env.exampleto.envand fill in your credentials:
cp .env.example .env- Create and activate a virtual environment:
uv venv
source .venv/bin/activate- Install dependencies:
# For production use
uv pip install .
# For development (includes testing dependencies)
uv pip install -e .- Activate VPN and run the simulation:
python3 -m run.mainAlternatively run with docker:
docker build -t cosmotech-run .
docker run --env-file .env cosmotech-run