estuaryoss / agent-cicd

Run your light CI/CD flows using Estuary Agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing as a service

Estuary CI/CD

Estuary CI/CD CLI will run your CI/CD flow and stream back the events real-time as they happen.

Code quality

Maintainability

Linux status

Build Status

Win status

CircleCI

Steps

  • deploy estuary-agent-java on the target machine (metal/VM/Docker/IoT device)
  • define your yaml configuration
  • start your CI/CD flow

!Obs: Compatible with Agent version >= 4.2.4

Usage

python .\main.py --ip=192.168.0.10 --port=8080 --username=admin --password=yourSecret --file="config.yaml"

The default endpoint is /commanddetachedyaml. The endpoint can be overridden:

python .\main.py --ip=192.168.0.10 --port=8080 --username=admin --password=yourSecret --endpoint=/docker/command --file="config.yaml"

Params

PS > python main.py --help
Usage: main.py [OPTIONS]

Options:
  --ip TEXT        The IP/hostname of the target machine where Estuary Agent
                   is deployed
  --port TEXT      The port number of the target machine where Estuary Agent
                   is deployed
  --username TEXT  The username used for the Basic authentication
  --password TEXT  The password used for the Basic authentication
  --protocol TEXT  The protocol with which the estuary-agent was deployed.
                   Default is http. E.g. https
  --cert TEXT      The certificate with which the estuary-agent was deployed.
                   E.g. https/cert.pem
  --endpoint TEXT  The endpoint to sent the request. Default is
                   "/commandsyaml"
  --file TEXT      The yaml file path on disk. Default is "./config.yaml"
  --batch TEXT     If batch is "true", the server will execute all commands in
                   batch. If batch is "false" the commands will be executed
                   one by one and the CLI exits when the first failure is
                   detected. Default is "false"
  --help           Show this message and exit.

Use cases

  • App download and installation
  • CI/CD flows

Support project:

About

Run your light CI/CD flows using Estuary Agent

License:Apache License 2.0


Languages

Language:Python 100.0%