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

Uploaded Source

Built Distribution

sonyci-0.3.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file sonyci-0.3.0.tar.gz.

File metadata

  • Download URL: sonyci-0.3.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for sonyci-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e4707ba9537a578b17b6a4358ba35b70a95b2482f201ff4ccd5013dd8e28a1ea
MD5 ba9f9a7e1f4b773075f012b14926e1e5
BLAKE2b-256 18d942c0f4eea8a606b9c4ea304cc05ebac86bf464593737173702a56d757636

See more details on using hashes here.

File details

Details for the file sonyci-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: sonyci-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for sonyci-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9de9271ef7bba1daea959ff680ccf9af922d4908f12d92efad6e538c033d96e4
MD5 07462986caa365541f09ff80c1f6d741
BLAKE2b-256 dc7a41130e3146e9915b4c1ca6a5db1a3af86e5476920a5b2914fa85115784f9

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