Skip to content

General CLI linking all services used in conjunction of the Cosmotech Platform

License

Notifications You must be signed in to change notification settings

Cosmo-Tech/Babylon

Repository files navigation

Babylon

End-User-Documentation Documentation Cosmotech

Babylon is a tool designed to simplify configuration and management of the Cosmo Tech solutions and platform.

A basic how-to about contribution can be found there : Contribution

Installation

Install babylon in a virtual environment:

Install with uv (recommended)

If you don't have uv installed do so following instructions

uv venv
source .venv/bin/activate
uv pip install .

For development mode:

uv pip install -e . --group dev

Install using pip

python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install .

For development mode:

python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Usage

After installation, you can use the babylon command in your terminal.

babylon namespace use -c <context_id> -t <tenant_id> -s <state_id>

babylon init

babylon apply --organization project/

babylon apply --solution project/

babylon apply --workspace project/

babylon apply --dataset project/

babylon apply --runner project/

Release

To release a new version follow the checklist:

  • Make sure all features are merged on main (JIRA board)
  • Verify that:
    • CI tests are green Github Actions
    • Sonarqube quality gate passes sonarqube
    • Make sure dependencies are up to date uv lock --upgrade
    • Dependency track has no critical vulnerabilities DependencyTrack
  • Increment the version number (VERSION) /Babylon/version.py following semver rules
  • Generate lock file uv lock
  • Make a git tag, git tag -a -m "5.0.0-beta.2" 5.0.0-beta.2
  • Push the tag git push tag 5.0.0-beta.2
  • Write release notes publish on GitHub

About

General CLI linking all services used in conjunction of the Cosmotech Platform

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 18