openci_worker_cli 2.3.20 copy "openci_worker_cli: ^2.3.20" to clipboard
openci_worker_cli: ^2.3.20 copied to clipboard

OpenCI Worker CLI - A CI/CD worker for OpenCI

OpenCI Worker CLI #

The worker agent that polls and executes CI/CD build jobs for OpenCI.

Installation #

dart pub global activate openci_worker_cli

Usage #

openci_worker --service-account <path-to-service-account-json> --worker-id <id>

Options #

Flag Short Description
--service-account Path to service account JSON file (required)
--worker-id Unique ID for this worker, e.g. 1, 2 (required)
--update -u Update to the latest version
--version Print the current version
--help -h Print usage information

Running multiple workers on the same machine #

Each worker must have a unique --worker-id to avoid VM conflicts:

# Terminal 1
openci_worker --service-account ./sa.json --worker-id 1

# Terminal 2
openci_worker --service-account ./sa.json --worker-id 2

Self-update #

openci_worker -u
0
likes
120
points
18
downloads

Documentation

API reference

Publisher

verified publisheropenci.org

Weekly Downloads

OpenCI Worker CLI - A CI/CD worker for OpenCI

License

Apache-2.0 (license)

Dependencies

args, chopper, dio, hooks, http, logging, lume_dart, openci_shared, process_run, pubspec_version_hook, retry, sentry, uuid, yaml, yaml_edit

More

Packages that depend on openci_worker_cli