cki-dev.sh

Run CKI GitLab CI jobs locally at the speed of light ⚡!

Run CKI GitLab CI jobs locally at the speed of light ⚡!

The script is a wrapper around gitlab-ci-local that adds some useful features among which tox caching for faster job execution.

Usage

cki-dev.sh [job_name] [-- [gitlab-ci-local args]]

You can pass any [gitlab-ci-local args] to the script via args after the -- separator or through GCL_<VAR_NAME> environment variables.

Check the gitlab-ci-local README for all the available [gitlab-ci-local args] options.

Examples

# Run common jobs
cki-dev.sh linting
cki-dev.sh linting-root-ruff  
cki-dev.sh tests
cki-dev.sh yamllint

# Override variables
cki-dev.sh linting -- --variable CKI_DISABLED_LINTERS="ruff pylint"

# List available jobs
cki-dev.sh --list

# Get help
cki-dev.sh --help