A Sony Ci api client
Project description
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
- Install ggshield
pip install ggshield
# or
brew install gitguardian/tap/ggshield
- Login to gitguardian
ggshield auth login
- Install the pre-commit hooks
pre-commit install
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
sonyci-0.3.0.tar.gz
(18.6 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4707ba9537a578b17b6a4358ba35b70a95b2482f201ff4ccd5013dd8e28a1ea |
|
MD5 | ba9f9a7e1f4b773075f012b14926e1e5 |
|
BLAKE2b-256 | 18d942c0f4eea8a606b9c4ea304cc05ebac86bf464593737173702a56d757636 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de9271ef7bba1daea959ff680ccf9af922d4908f12d92efad6e538c033d96e4 |
|
MD5 | 07462986caa365541f09ff80c1f6d741 |
|
BLAKE2b-256 | dc7a41130e3146e9915b4c1ca6a5db1a3af86e5476920a5b2914fa85115784f9 |