Skip to main content

A Sony Ci api client

Project description

deploy codecov

sonyci

A Sony Ci api client

Install

pdm install

Configure

Create a file called .cred with the following contents, and add your credentials:

export CI_USERNAME=
export CI_PASSWORD=
export CI_CLIENT_ID=
export CI_CLIENT_SECRET=
export CI_WORKSPACE_ID=

Activate the variables:

source .cred

Alternate notation: (May not be available in your terminal)

. .cred

Use

Run the cli with ci

$ ci -h

 Usage: ci [OPTIONS] COMMAND [ARGS]...

╭─ Options ─────────────────────────────────────────────────────────────────────────────────────╮
│ --version             -v            Show the version and exit.                                │
│ --token               -t      TEXT  Sony CI token. [env var: TOKEN] [default: None]           │
│ --install-completion                Install completion for the current shell.                 │
│ --show-completion                   Show completion for the current shell, to copy it or      │
│                                     customize the installation.                               │
│ --help                -h            Show this message and exit.                               │
╰───────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────────╮
│ login                    Login to Sony CI.                                                    │
╰───────────────────────────────────────────────────────────────────────────────────────────────╯

Login

ci login

develop

pre-commit secret scanning

  1. Install ggshield
pip install ggshield
# or
brew install gitguardian/tap/ggshield
  1. Login to gitguardian
ggshield auth login
  1. Install the pre-commit hooks
pre-commit install

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

sonyci-0.2.5.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distribution

sonyci-0.2.5-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

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