-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.yml
42 lines (42 loc) · 1.6 KB
/
manifest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
version: 1
applications:
- name: gitlab-runner
path: runner
buildpacks:
- https://github.com/cloudfoundry/apt-buildpack
- binary_buildpack
no-route: true
health-check-type: process
instances: 1
memory: ((runner_memory))
command: gitlab-runner run
services:
- ((service_account_instance))
- ((object_store_instance))
env:
DEFAULT_JOB_IMAGE: ((default_job_image))
# See gitlab-runner register --help for available vars.
CI_SERVER_TOKEN: ((ci_server_token))
CI_SERVER_URL: ((ci_server_url))
DOCKER_HUB_USER: ((docker_hub_user))
DOCKER_HUB_TOKEN: ((docker_hub_token))
RUNNER_EXECUTOR: ((runner_executor))
RUNNER_NAME: ((runner_name))
OBJECT_STORE_INSTANCE: ((object_store_instance))
WORKER_MEMORY: ((worker_memory))
WORKER_DISK_SIZE: ((worker_disk_size))
# Remaining runner configuration is generally static. In order to surface
# the entire configuration input, we are using envvars for all of it.
RUNNER_BUILDS_DIR: "/tmp/build"
RUNNER_CACHE_DIR: "/tmp/cache"
CUSTOM_CLEANUP_EXEC: "/home/vcap/app/cf-driver/cleanup.sh"
CUSTOM_PREPARE_EXEC: "/home/vcap/app/cf-driver/prepare.sh"
CUSTOM_RUN_EXEC: "/home/vcap/app/cf-driver/run.sh"
REGISTER_NON_INTERACTIVE: true
# TODO - Add timeouts like CUSTOM_CLEANUP_EXEC_TIMEOUT
#
# DANGER: Do not set RUNNER_DEBUG to true without reading
# https://docs.gitlab.com/runner/faq/#enable-debug-logging-mode
# and ensuring job logs are removed to avoid leaking secrets.
RUNNER_DEBUG: "false"