No project description provided
Project description
T1-CICD
High-Level Design
Sequence Diagram
Pipeline Run
Components
CLI
cicd
-
Usage: cicd [OPTIONS] COMMAND [ARGS]...
This command is the entry point to the CLI. It can be used to check the config file, perform a dry run, or run a pipeline.
- Options:
- -c, --check Check config file.
- -dr, --dryrun Dry run.
- -cf, --config-file TEXT Path to config file.
- -h, --help Show help message and exit
- Commands:
- report Show a report of a pipeline.
- run Run a specific pipeline or override the config file in a repository.
- stop Stop a specific pipeline in a repository.
- Options:
cicd report
-
Usage: cicd report [OPTIONS]
Show a report of a pipeline.
If no options are specified, show a report of all pipelines.
If --pipeline is specified, show a report of the pipeline.
If --run is specified, show a report of the run.
If --stage is specified, show a report of the stage.
If --job is specified, show a report of the job.
-
Options:
- -r, --repo TEXT Repository path. [required]
- -l, --local Run locally.
- -p, --pipeline TEXT Pipeline name.
- -rn, --run TEXT Run number.
- -s, --stage TEXT Stage name.
- -j, --job TEXT Job name.
- -h, --help Show help message and exit.
cicd run
-
Usage: cicd run [OPTIONS]
Run a specific pipeline or override the config file in a repository.
If --override is specified, override the config file with the new config.
if either --pipeline or --file is specified, run the specific pipeline.
Otherwise, run all pipelines in the repository.
-
Options:
- -r, --repo TEXT Repository path. [default: (current local directory)]
- -l, --local Run locally.
- -b, --branch TEXT Branch name. [default: (main branch)]
- -c, --commit TEXT Commit hash. [default: (the latest commit)]
- -p, --pipeline TEXT Pipeline name.
- -f, --file TEXT Path to config file.
- -o, --override TEXT Override config file.
- -h, --help Show this message and exit.
cicd stop
-
Usage: cicd stop [OPTIONS]
Stop a specific pipeline in a repository. if either --pipeline or --file is specified, stop the specific pipeline. Otherwise, stop all pipelines in the repository.
-
Options:
- -r, --repo TEXT Repository path. [default: (current local directory)]
- -l, --local Run locally.
- -b, --branch TEXT Branch name. [default: (main branch)]
- -c, --commit TEXT Commit hash. [default: (the latest commit)]
- -p, --pipeline TEXT Pipeline name.
- -f, --file TEXT Path to config file.
- -h, --help Show help message and exit.
Rest API
Getting Started
Build the project
$ poetry install
Run server
$ poetry run server # It will be packaged and added to system env.
Run CLI
$ poetry run cicd # It will be packaged and added to system env.
Run tests
$ poetry run pytest
Run test coverage
$ poetry run coverage report
Run static analysis
$ poetry run pylint src
Generate documents
$ poetry run pdoc src
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file t1cicd-0.1.0.1.tar.gz
.
File metadata
- Download URL: t1cicd-0.1.0.1.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13e3a9509353f6622967d1f9d189da45b575120ed8739f95b57e4f45b3fef9b7 |
|
MD5 | 5ff2879d9d0c70d1ce4689807d7d6439 |
|
BLAKE2b-256 | fc1edb4233f97022e3de64cadba6d2f6b29f79a1f54c72d3e47238127c9f2635 |
File details
Details for the file t1cicd-0.1.0.1-py3-none-any.whl
.
File metadata
- Download URL: t1cicd-0.1.0.1-py3-none-any.whl
- Upload date:
- Size: 48.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efcef0e036182b5d29bd51baed82b5653db82d2f1e870f658d043788df4f8289 |
|
MD5 | 951fca9c5a6bb3f9a878facb637c06e6 |
|
BLAKE2b-256 | b7ca118a4c1854d9783f8c251f6e9b5734d3c4946693067ace2ea5ea9aca4306 |