Skip to content

Adding some script for the GitLab CI runner with a custom executor.

tr requested to merge gitlab_ci_runner_custom into master

There are three relevant scripts:

  • prepare.sh - This will prepare the container, pulling it, run it, install git, curl and the gitlab-ci-runner binary, which are needed during the execution.
  • run.sh - This script passes all script commands from the .gitlab-ci.yml to the container.
  • cleanup.sh - After the execution this script will cleanup the container and caches, except the artifactory cache.

The base.sh defines some variables which are used by the other three scripts, like the container name, cache directory and image to run.

Merge request reports

Loading