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.2.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

t1cicd-0.1.2-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: t1cicd-0.1.2.tar.gz
  • Upload date:
  • Size: 33.4 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.2.tar.gz
Algorithm Hash digest
SHA256 a76ca9739b5f01d0c8d224b0e7023a6bf9527d6028b3c3b724cb1112478049b1
MD5 10a2ebd0b67509687e23c9e30c6e3fa7
BLAKE2b-256 1cbb4e7782f369808411a817845355b61feb40c7aea0fc9a898f5f8c40f801bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: t1cicd-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 50.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e8da0097bde76a2dc1784826359038adbfbef6b2994741b8af579c95af9fa231
MD5 ea314756a15b51298a26937e8d7d9bf4
BLAKE2b-256 42f29820bb0b5ac09005ba90ad2e94c1433765624f8738a2f3d57789c7dab006

See more details on using hashes here.

Supported by

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