About

Gento stands for aGent of Red Hat OpenShift. It deploys and certifies cloud-native applications and operators on OpenShift through the DCI OpenShift App Agent. The agent is part of the Red Hat Distributed Continuous Integration (DCI) service. Gento is built on the shellbase Unix shell framework.

Install

Gento ships as a standalone Portable Operating System Interface (POSIX) shell script named gento. Download it from the official releases.

The install script prepares a Red Hat Enterprise Linux (RHEL) host in one step. It installs gento, shellbase, oc, yq, and the DCI packages to /usr/local/bin. It also creates the runtime directory of the dci-openshift-app-agent user. Run it as root:

REL=0.9.20260404
SRC=https://github.com/rdavid/gento/archive/refs/tags/v$REL.tar.gz
sudo su -c eval -c "$(
  curl --location --silent $SRC |
    tar \
      --extract \
      --gzip \
      --to-stdout \
      gento-$REL/app/install
)"

To install just the gento script, extract it to /usr/local/bin. Writing there requires administrative privileges, so prefix tar with sudo:

REL=0.9.20260404
SRC=https://github.com/rdavid/gento/archive/refs/tags/v$REL.tar.gz
curl --location --silent $SRC |
  sudo tar \
    --directory /usr/local/bin \
    --extract \
    --gzip \
    --strip-components=2 \
    gento-$REL/app/gento

Run gento as the dci-openshift-app-agent user with /usr/local/bin in its PATH. Pass a DCI settings file as the only parameter. Name the file settings-cnf-name.yml for clearer reports.

sudo su - dci-openshift-app-agent
gento settings-cnf-name.yml

Test

The project uses Daniel J. Bernstein’s build system, redo. Sergey Matveev’s goredo implementation works as well. Run redo to lint the project. It applies the following linters to the source files: actionlint, hadolint, reuse, shellcheck, shfmt, typos, vale, yamllint, zizmor.

License