

- How to install gitlab runner on windows driver#
- How to install gitlab runner on windows registration#
공식 저장소를 사용한 Gitlab Runner Install 저장소 업데이트 및 apt install $ curl -L "" | sudo bash
How to install gitlab runner on windows driver#
with your chosen driver and all options from the MachineOptions section. The first time you’re using Docker Machine, it’s best to execute manually docker-machine create. IdleCount: 1 IdleTime: 1800 MaxBuilds: 10 MachineDriver: 'amazonec2 ' MachineName: 'git-runner-%s ' MachineOptions: NOTE concurrent_specific: '0 ' docker_image: 'alpine ' # Indicates whether this runner can pick jobs without tags. # Defaults to 0, simply means don't limit. name: 'Example autoscaling GitLab Runner ' state: present # token is an optional override to the global gitlab_runner_registration_token token: 'HUzTMgnxk17YV8Rj8ucQ ' executor: 'docker+machine ' # Maximum number of jobs to run concurrently on this specific runner. Gitlab_runner_registration_token: 'HUzTMgnxk17YV8Rj8ucQ ' gitlab_runner_coordinator_url: ' ' gitlab_runner_runners: See the config for more options Example Playbook

IdleTime - Time (in seconds) for machine to be in Idle state before it is removed. IdleCount - Number of machines, that need to be created and waiting in Idle state. It must contain %s, which will be replaced with a unique machine identifier. MachineDriver - which should be set to amzonec2 when working on AWS you can also set amazonec2-tags to identify you instance more easily via aws-cli or the console.amazonec2-access-key and amazonec2-secret-key the keys of the dedicated IAM user with permission for EC2.Gitlab_runner_machine_options: - Foremost you need to pass an array of dedicated vars in the machine_options to configure your scaling runner: At the moment role support s3, azure and gcs types.Ĭache_type: "s3 " cache_path: "cache " cache_shared: true cache_s3_server_address: "s3. " cache_s3_access_key: " " cache_s3_secret_key: " " cache_s3_bucket_name: " " cache_s3_bucket_location: "eu-west-1 " cache_s3_insecure: false Autoscale Runner Machine vars for AWS (optional) Gitlab Runners cacheįor each gitlab runner in gitlab_runner_runners you can set cache options.

How to install gitlab runner on windows registration#
See the defaults/main.yml file listing all possible options which you can be passed to a runner registration command. You should provide a repository containing the needed packages before running this role. gitlab_runner_skip_package_repo_install- Skip the APT or YUM repository installation (by default, false).gitlab_runner_runners - A list of gitlab runners to register & configure.gitlab_runner_listen_address - Enable /metrics endpoint for Prometheus scraping.gitlab_runner_sentry_dsn - Enable tracking of all system level errors to Sentry.gitlab_runner_coordinator_url - The GitLab coordinator URL.If this is specified, a runner will be registered to a GitLab server. gitlab_runner_registration_token - The GitLab registration token.Defaults to the number of processor cores. gitlab_runner_concurrent - The maximum number of global jobs to run concurrently.On Linux, use gitlab_runner_package_version instead. gitlab_runner_wanted_version or gitlab_runner_package_version - To install a specific version of the gitlab runner (by default it installs the latest).In order to install a version < 10.x you will need to define this variable gitlab_runner_package_name: gitlab-ci-multi-runner. gitlab_runner_package_name - Since Gitlab 10.x The package name of gitlab-ci-multi-runner has been renamed to gitlab-runner.This role requires Ansible 2.7 or higher. Needed something simple and working, this did the trick for me. This role will install the official GitLab Runner
