Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python wrapper for SonyCi api

License

NotificationsYou must be signed in to change notification settings

WGBH-MLA/sonyci

Repository files navigation

deploycodecov

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 withci

$ ci -h Usage: ci [OPTIONS] COMMAND [ARGS]...╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────╮│ --version             -V                          Show the version and exit.                             ││ --verbose             -v                          Show verbose output.                                   ││ --token               -t      PARSE_BEARER_TOKEN  Sony CI token. [env var: CI_TOKEN] [default: None]     ││ --workspace-id        -w      TEXT                Sony CI workspace ID. [env var: CI_WORKSPACE_ID]       ││                                                   [default: None]                                        ││ --client-id           -c      TEXT                Sony CI client ID. [env var: CI_CLIENT_ID]             ││                                                   [default: None]                                        ││ --client-secret       -s      TEXT                Sony CI client secret. [env var: CI_CLIENT_SECRET]     ││                                                   [default: None]                                        ││ --install-completion                              Install completionfor the current shell.              ││ --show-completion                                 Show completionfor the current shell, to copy it or   ││                                                   customize the installation.                            ││ --help                -h                          Show this message and exit.                            │╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────╮│ asset      Searchforfilesin a Sony CI workspace                                                       ││ download   Download a file from Sony CI                                                                  ││ get        Make a GET request to Sony CI.                                                                ││ login      Login to Sony CI.                                                                             ││ post       Make a POST request to Sony CI.                                                               ││ search     Searchforfilesin a Sony CI workspace                                                       ││ tui                                                                                                      │╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Login

ci login

develop

pre-commit secret scanning

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

[8]ページ先頭

©2009-2025 Movatter.jp