Integration into Gitlab CI
The CLI agent supports integration into Gitlab CI using the .gitlab-ci.yaml file and is supplied as both a Docker image and a binary file.
Johnny Docker image
Example .gitlab-ci.yaml file (Docker image)
<version> must be replaced with the agent version. A list of current versions with descriptions is available in Changelog.
Johnny binary file
To use the agent binary file, you must first perform the following steps on the gitlab-runner machine:
- Download the file with the command
or
JOHNNY_VERSION must be replaced with the agent version. A list of current versions with descriptions is available in Changelog. REGISTRY_URL, REGISTRY_USERNAME and REGISTRY_PASSWORD should be replaced with the URL, login and password received from the vendor.
2. Allow file execution
Example .gitlab-ci.yaml (binary file)
Was this page helpful?
