patsissons / docker-gitlab-runner-windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gitlab-runner-windows Container

WARNING: this container is under development and should not be considered stable.

There is a known issue with MSYS2-based programs that prevents certain git related tools from running. This issue may prevent some usage of this container.

Docker Version Docker Image Docker Pulls Docker Stars License MIT

gitlab-runner running in a windows container.

Usage

Start the docker container with your public key:

docker run -d -e REGISTRATION_TOKEN=xxx -e CI_SERVER_URL='http://localhost/ci' -e RUNNER_NAME=gitlab-agent-1 -e RUNNER_TAG_LIST='WINDOWS,DOCKER' patsissons/gitlab-runner-windows

Environment Variables

  • REGISTRATION_TOKEN - token can be found at http://.../admin/runners
  • CI_SERVER_URL - url is in the form http://.../ci
  • RUNNER_TAG_LIST - comma separated list of tags to register with
  • RUNNER_NAME - name to register the runner with
  • RUNNER_EXECUTOR - see docs for executors (defaults to shell)
  • RUNNER_SHELL - executor shell to use, see docs for options (default to cmd)
  • CONFIG_FILE - config path override (generally not used)
  • REGISTER_RUN_UNTAGGED - TBD
  • RUNNER_REQUEST_CONCURRENCY - TBD
  • RUNNER_BUILDS_DIR - override the build path
  • RUNNER_CACHE_DIR - override the cache path

See the official gitlab-runner usage docs for more information on supported enviornment variables

About

License:MIT License


Languages

Language:PowerShell 90.5%Language:Batchfile 9.5%