About

Gento stands for aGent of Red Hat OpenShift. It enables Cloud-Native Applications and Operators on OpenShift through the DCI OpenShift App Agent, 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. Install it from the official releases. Writing to /usr/local/bin on Red Hat Enterprise Linux (RHEL) requires administrative privileges, so prefix the tar command 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

To install gento with all its dependencies, run the install shell script 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
)"

Run gento as the dci-openshift-app-agent user. Pass a DCI settings file as its parameter. For better reporting, use the naming pattern settings-cnf-name.yml. Add /usr/local/bin to the dci-openshift-app-agent user’s PATH.

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

Test

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

License