Cognite Transformations CLI
Use the Transformations command-line interface (Transformations CLI) to manage the lifecycle of your transformation jobs using the command line. With the Transformations CLI, you can process data from the CDF staging area (RAW) into the CDF data model. To learn more about how the Cognite Transformations CLI package works, see the documentation.
The Transformations CLI is based on Python and replaces the Jetfire CLI.
The Transformations CLI provides a GitHub Action to deploy transformations. You'll find the documentation here.
We've also created a CI/CD template that uses GitHub Workflows. You'll find the documentation here.
Migrating from Jetfire CLI
Transformations CLI replaces the Jetfire CLI. If you've already used the Jetfire CLI in a GitHub Action, we recommend migrating to the Transformations CLI GitHub Action. You'll find the migration guide here.
We use poetry to manage dependencies and to administrate virtual environments. To develop Transformations CLI, follow these steps to set up your local environment:
Install poetry: (add
pip install poetry
git clone email@example.com:cognitedata/transformations-cli.git
Move into the newly created local repository:
Create a virtual environment and install dependencies:
poetry run pre-commit install
To publish a new version, change the version in
pyproject.toml. Make sure to update the
This project adheres to the Contributor Covenant v2.0 as a code of conduct.