Skip to main content

No project description provided

Project description

T1-CICD

High-Level Design

High-Level Design

Sequence Diagram

Pipeline Run

High-Level Design

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.
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

1729643497158

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

t1cicd-0.1.0.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

t1cicd-0.1.0-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file t1cicd-0.1.0.tar.gz.

File metadata

  • Download URL: t1cicd-0.1.0.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/23.6.0

File hashes

Hashes for t1cicd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 925c498b31a2ca769f4b30d7670d3a6c6b9255d9ab054591021487b914262a5b
MD5 6c0c8759d66571958173c5fd6345e90c
BLAKE2b-256 c486564a9f49d8cfb23b14e25e0e3e54156f7005e3e9df27613ca3e962986e7b

See more details on using hashes here.

File details

Details for the file t1cicd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: t1cicd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 47.7 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

Hashes for t1cicd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0babc106051ff3c34e7b88e1159a28c4bbaa78812e8f54140af85cd0bc92350
MD5 1de1359f7ca608072c84957f3145b80d
BLAKE2b-256 71edaba07e46d368e99f43b7b421671306ef440640c32a9a0a812830b376bfde

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page