Skip to content

Commit cc4a343

Browse files
committed
Test runner installation
Signed-off-by: Norman Ziegner <[email protected]>
1 parent 2221a20 commit cc4a343

File tree

1 file changed

+21
-41
lines changed

1 file changed

+21
-41
lines changed

molecule/gitlab_runner/molecule.yml

Lines changed: 21 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -69,57 +69,37 @@ provisioner:
6969
locked: true
7070
limit: 10
7171
instancegitlabciopenstack2:
72-
gitlab_runner_version: "17.8.1"
73-
gitlab_runner_install_docker: false
74-
gitlab_runner_ssh_public_key: ""
75-
gitlab_runner_ssh_private_key: ""
76-
gitlab_runner_registry_mirror: "https://registry-mirror.example"
77-
gitlab_runner_listen_address: "127.0.0.1:9252"
78-
gitlab_runner_set_default_network_opts: true
79-
gitlab_runner_autoscaler_openstack_auth_url: "https://openstack.helmholtz.de:5000"
80-
gitlab_runner_autoscaler_openstack_username: "openstackuser"
81-
gitlab_runner_autoscaler_openstack_password: "123456"
82-
gitlab_runner_autoscaler_openstack_project_id: "e5cc8263-be6c-45a7-a6ce-e852dac95395"
83-
gitlab_runner_autoscaler_openstack_project_name: "openstack-project"
84-
gitlab_runner_autoscaler_openstack_user_domain_name: "Default"
85-
gitlab_runner_autoscaler_openstack_region_name: "Default"
72+
gitlab_runner_version: "17.6.0"
73+
gitlab_runner_deb_file: "https://packages.gitlab.com/runner/gitlab-runner/packages/{{ ansible_distribution | lower }}/{{ ansible_distribution_release | lower }}/gitlab-runner_{{ gitlab_runner_pkg_version }}_amd64.deb/download.deb"
74+
gitlab_runner_helper_images_deb_file: "https://packages.gitlab.com/runner/gitlab-runner/packages/{{ ansible_distribution | lower }}/{{ ansible_distribution_release | lower }}/gitlab-runner-helper-images_{{ gitlab_runner_pkg_version }}_all.deb/download.deb"
75+
gitlab_runner_install_docker: true
76+
gitlab_runner_ssh_public_key: "test_key.pub"
77+
gitlab_runner_ssh_private_key: "test_key"
78+
gitlab_runner_sentry_dsn: "https://[email protected]/1"
79+
gitlab_runner_registry_mirrors:
80+
- "http://registry-mirror1.example"
81+
- "https://registry-mirror2.example"
82+
gitlab_runner_insecure_registries:
83+
- "registry-mirror1.example"
84+
gitlab_runner_enable_session_server: true
8685
gitlab_runner_list:
8786
- name: "test01"
8887
url: "https://gitlab.com"
8988
description: "Molecule test runner"
9089
authentication_token: "${AUTHENTICATION_TOKEN}"
91-
executor: "docker-autoscaler"
90+
executor: "docker"
9291
environment: ["CI_CPUS=8", "DOCKER_TLS_CERTDIR=/certs"]
93-
docker_volumes: ["/cache", "/certs/client", "/opt/docker/daemon.json:/etc/docker/daemon.json:ro"]
92+
docker_security_opts: ["seccomp=unconfined"]
93+
docker_volumes: ["/cache", "/certs/client"]
94+
docker_devices: ["/dev/kfd", "/dev/dri"]
95+
docker_cpus: 2
96+
docker_gpus: "all"
97+
docker_memory: "2g"
9498
docker_image: "python:3.8"
95-
docker_shm_size: 2147483648
96-
docker_disable_cache: true
99+
docker_network_mtu: 1442
97100
tags: ["docker", "hifis"]
98101
locked: true
99102
limit: 10
100-
autoscaler_max_builds: 1
101-
autoscaler_idle_count: 5
102-
autoscaler_max_instances: 10
103-
machine_idle_count: 5
104-
autoscaler_group_name: "hifis"
105-
autoscaler_cloud_name: "openstack"
106-
autoscaler_clouds_config: "/etc/gitlab-runner/clouds.yaml"
107-
autoscaler_use_ignition: true
108-
autoscaler_boot_time: "5m"
109-
autoscaler_flavor_ref: "a7779e0c-899a-4c73-b75d-757e7722dc9b"
110-
autoscaler_image_ref: "67c1e69a-921d-4a5c-85cf-cf2a7d94a14d"
111-
autoscaler_network_id: "183bd5c6-e720-4601-b471-f4135a32263d"
112-
autoscaler_security_group: "8f291fca-006c-4576-a18e-f343d06af2c4"
113-
autoscaler_scheduler_hint: "8357bc97-580a-429f-a71d-895a3ab4b645"
114-
autoscaler_username: "core"
115-
autoscaler_keyname: "runner-internal"
116-
cache_type: "s3"
117-
cache_server_address: "https://cache.example"
118-
cache_access_key: "key"
119-
cache_secret_key: "secret"
120-
cache_bucket_name: "bucket"
121-
cache_bucket_location: "eu-west-1"
122-
cache_insecure: "false"
123103
verifier:
124104
name: "ansible"
125105
scenario:

0 commit comments

Comments
 (0)