Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

516,524

Downloads of v 9.1.0:

472

Last Update:

24 Apr 2017

Package Maintainer(s):

Software Author(s):

  • Gitlab

Tags:

admin cli foss git cross-platform build gitlab

Gitlab Runner

This is not the latest version of Gitlab Runner available.

  • 1
  • 2
  • 3

9.1.0 | Updated: 24 Apr 2017

Downloads:

516,524

Downloads of v 9.1.0:

472

Maintainer(s):

Software Author(s):

  • Gitlab

Gitlab Runner 9.1.0

This is not the latest version of Gitlab Runner available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Gitlab. The inclusion of Gitlab trademark(s), if any, upon this webpage is solely to identify Gitlab goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Gitlab Runner, run the following command from the command line or from PowerShell:

>

To upgrade Gitlab Runner, run the following command from the command line or from PowerShell:

>

To uninstall Gitlab Runner, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade gitlab-runner -y --source="'INTERNAL REPO URL'" --version="'9.1.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade gitlab-runner -y --source="'INTERNAL REPO URL'" --version="'9.1.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install gitlab-runner
  win_chocolatey:
    name: gitlab-runner
    version: '9.1.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'gitlab-runner' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '9.1.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller gitlab-runner
{
    Name     = "gitlab-runner"
    Version  = "9.1.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'gitlab-runner':
  ensure   => '9.1.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 24 Apr 2017.

Description

GitLab Runner is the open source project that is used to run your jobs and send the results back to GitLab. It is used in conjunction with GitLab CI, the open-source continuous integration service included with GitLab that coordinates the jobs.

Features

  • Allows to run:
    • multiple jobs concurrently
    • use multiple tokens with multiple server (even per-project)
    • limit number of concurrent jobs per-token
  • Jobs can be run:
    • locally
    • using Docker containers
    • using Docker containers and executing job over SSH
    • using Docker containers with autoscaling on different clouds and virtualization hypervisors
    • connecting to remote SSH server
  • Is written in Go and distributed as single binary without any other requirements
  • Supports Bash, Windows Batch and Windows PowerShell
  • Works on GNU/Linux, OS X and Windows (pretty much anywhere you can run Docker)
  • Allows to customize the job running environment
  • Automatic configuration reload without restart
  • Easy to use setup with support for Docker, Docker-SSH, Parallels or SSH running environments
  • Enables caching of Docker containers
  • Easy installation as a service for GNU/Linux, OSX and Windows
  • Embedded Prometheus metrics HTTP server

Package parameters

  • InstallDir - Installation directory. If the Gitlab Runner is already installed, its current directory will be used. To install to a new directory, uninstall it first.

Notes

  • The script register_example.ps1 is provided along the executable which can be used to quickly register runner non-interactively. If you want to use it, rename it, because it will be overwritten on updates.

tools\chocolateyBeforeModify.ps1
Get-Service gitlab-runner -ea 0 | Stop-Service
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1

$pp = Get-PackageParameters
$current_dir = Get-RunnerInstallDir

if ($current_dir) {
    Write-Host 'Using previous gitlab-runner install path:' $current_dir
    $pp.InstallDir = $current_dir
} else {
    if (!$pp.InstallDir) { $pp.InstallDir = "C:\GitLab-Runner" }
    Write-Host 'Using install directory:' $pp.InstallDir
}

$tmp_path = Join-Path (Get-PackageCacheLocation)  "gitlab-runner.exe"
$packageArgs = @{
  packageName    = 'gitlab-runner'
  fileFullPath   = $tmp_path
  url            = 'https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v9.1.0/binaries/gitlab-ci-multi-runner-windows-386.exe'
  url64Bit       = 'https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v9.1.0/binaries/gitlab-ci-multi-runner-windows-amd64.exe'
  checksum       = '22f3878a22c20ba620a0c18dcb98270c2b01bfab3cf31cda07b6137a78c6b6b9'
  checksum64     = 'bee2dbb9ed256765dcd7638f14c371b120eb635b570a842ab1f911e5e4b1552d'
  checksumType   = 'sha256'
  checksumType64 = 'sha256'
}
Get-ChocolateyWebFile @packageArgs

Get-Service gitlab-runner -ea 0 | Stop-Service
mkdir $pp.InstallDir -ea 0 | Out-Null
cp $tmp_path, $toolsPath\register_example.ps1 $pp.InstallDir -force

$runner_path = $pp.InstallDir + '\gitlab-runner.exe'
Install-BinFile gitlab-runner $runner_path
tools\chocolateyUninstall.ps1
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1

$installDir = Get-RunnerInstallDir
if (!$current_dir) { Write-Warning "Can't find gitlab-runner installation directory, aborting"; return }

pushd $installDir
.\gitlab-runner.exe stop
.\gitlab-runner.exe uninstall
popd

rm $installDir -Force
tools\helpers.ps1
function Get-RunnerInstallDir() {
    $res = Get-WmiObject win32_service | ? {$_.Name -eq 'gitlab-runner'} | select -Expand PathName
    if (!$res) { return }
    $res = $res -split '\\gitlab-runner.exe' | select -First 1
    if (Test-Path $res) { return $res }
}


tools\register_example.ps1
# For the list of all environment vars run `gitlab-runner register --help`

$Env:REGISTRATION_TOKEN         = ''
$Env:CI_SERVER_URL              = ''
$Env:RUNNER_TAG_LIST            = ''

$Env:RUNNER_NAME                = ''
$Env:RUNNER_EXECUTOR            = 'shell'
$Env:RUNNER_SHELL               = 'powershell'

$Env:CONFIG_FILE                = "$PSScriptRoot\config.toml"
$Env:REGISTER_RUN_UNTAGGED      = 'false'
$Env:RUNNER_REQUEST_CONCURRENCY = 1
$Env:RUNNER_BUILDS_DIR          = ''
$Env:RUNNER_CACHE_DIR           = ''

gitlab-runner register --non-interactive

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Gitlab Runner 17.9.1 662 Monday, March 10, 2025 Approved
Gitlab Runner 17.9.0 657 Thursday, February 20, 2025 Approved
Gitlab Runner 17.8.0 1350 Friday, January 17, 2025 Approved
Gitlab Runner 17.7.0 855 Wednesday, January 8, 2025 Approved
Gitlab Runner 17.6.0 1281 Friday, December 6, 2024 Approved
Gitlab Runner 17.5.3 2023 Friday, November 1, 2024 Approved
Gitlab Runner 17.5.0 806 Friday, October 18, 2024 Approved
Gitlab Runner 17.4.1 1395 Monday, October 14, 2024 Approved
Gitlab Runner 17.4.0 2091 Friday, September 20, 2024 Approved
Gitlab Runner 17.3.1 4609 Friday, August 23, 2024 Approved
Gitlab Runner 17.3.0 1231 Friday, August 16, 2024 Approved
Gitlab Runner 17.2.1 4311 Wednesday, July 31, 2024 Approved
Gitlab Runner 17.2.0 3629 Friday, July 19, 2024 Approved
Gitlab Runner 17.1.0 7481 Friday, June 21, 2024 Approved
Gitlab Runner 17.0.0 7110 Friday, May 17, 2024 Approved
Gitlab Runner 16.11.1 2873 Saturday, May 4, 2024 Approved
Gitlab Runner 16.11.0 10035 Friday, April 19, 2024 Approved
Gitlab Runner 16.10.0 2751 Friday, March 22, 2024 Approved
Gitlab Runner 16.9.1 1928 Thursday, February 29, 2024 Approved
Gitlab Runner 16.9.0 1624 Friday, February 16, 2024 Approved
Gitlab Runner 16.8.0 2873 Saturday, January 20, 2024 Approved
Gitlab Runner 16.7.0 2989 Friday, December 22, 2023 Approved
Gitlab Runner 16.6.1 1739 Sunday, November 26, 2023 Approved
Gitlab Runner 16.6.0 1261 Friday, November 17, 2023 Approved
Gitlab Runner 16.5.0 1395 Saturday, October 21, 2023 Approved
Gitlab Runner 16.4.0 1854 Tuesday, September 26, 2023 Approved
Gitlab Runner 16.3.1 2963 Tuesday, September 19, 2023 Approved
Gitlab Runner 16.2.0 3860 Saturday, July 22, 2023 Approved
Gitlab Runner 16.1.0 2180 Thursday, June 22, 2023 Approved
Gitlab Runner 16.0.2 1817 Friday, June 9, 2023 Approved
Gitlab Runner 16.0.1 663 Saturday, May 27, 2023 Approved
Gitlab Runner 16.0.0 1116 Monday, May 22, 2023 Approved
Gitlab Runner 15.11.0 49520 Tuesday, April 25, 2023 Approved
Gitlab Runner 15.10.0 1442 Friday, March 24, 2023 Approved
Gitlab Runner 15.9.1 699 Wednesday, March 15, 2023 Approved
Gitlab Runner 15.8.0 3460 Thursday, February 2, 2023 Approved
Gitlab Runner 15.7.2 1085 Sunday, January 15, 2023 Approved
Gitlab Runner 15.7.1 15957 Friday, December 23, 2022 Approved
Gitlab Runner 15.7.0 823 Monday, December 19, 2022 Approved
Gitlab Runner 15.6.0 2788 Tuesday, November 22, 2022 Approved
Gitlab Runner 15.5.0 255246 Sunday, October 23, 2022 Approved
Gitlab Runner 15.4.0 2145 Thursday, September 22, 2022 Approved
Gitlab Runner 15.3.0 2636 Saturday, August 20, 2022 Approved
Gitlab Runner 15.2.0 1426 Tuesday, August 9, 2022 Approved
Gitlab Runner 15.1.0 1821 Tuesday, June 21, 2022 Approved
Gitlab Runner 15.0.0 1393 Friday, May 20, 2022 Approved
Gitlab Runner 14.10.0 1664 Tuesday, April 19, 2022 Approved
Gitlab Runner 14.9.0 1469 Tuesday, March 22, 2022 Approved
Gitlab Runner 14.8.0 1214 Tuesday, February 22, 2022 Approved
Gitlab Runner 14.7.0 1152 Thursday, January 20, 2022 Approved
Gitlab Runner 14.6.0 1739 Saturday, December 18, 2021 Approved
Gitlab Runner 14.5.0 1349 Monday, November 22, 2021 Approved
Gitlab Runner 14.4.0 1132 Tuesday, October 26, 2021 Approved
Gitlab Runner 14.3.0 1411 Wednesday, September 22, 2021 Approved
Gitlab Runner 14.2.0 1203 Saturday, August 28, 2021 Approved
Gitlab Runner 14.0.0 2135 Sunday, June 20, 2021 Approved
Gitlab Runner 13.12.0 2905 Friday, May 21, 2021 Approved
Gitlab Runner 13.11.0 1053 Wednesday, April 21, 2021 Approved
Gitlab Runner 13.10.0 1688 Monday, March 22, 2021 Approved
Gitlab Runner 13.9.0 1560 Tuesday, February 23, 2021 Approved
Gitlab Runner 13.8.0 1824 Thursday, January 21, 2021 Approved
Gitlab Runner 13.7.0 1468 Tuesday, December 22, 2020 Approved
Gitlab Runner 13.6.0.20201205 728 Saturday, December 5, 2020 Approved
Gitlab Runner 13.6.0 1061 Sunday, November 22, 2020 Approved
Gitlab Runner 13.5.0 9196 Wednesday, October 21, 2020 Approved
Gitlab Runner 13.4.0 272 Saturday, September 19, 2020 Approved
Gitlab Runner 13.3.0 3274 Friday, August 21, 2020 Approved
Gitlab Runner 13.2.0 1700 Monday, July 20, 2020 Approved
Gitlab Runner 13.1.0 1472 Saturday, June 20, 2020 Approved
Gitlab Runner 13.0.1 1244 Monday, June 1, 2020 Approved
Gitlab Runner 13.0.0 860 Thursday, May 21, 2020 Approved
Gitlab Runner 12.10.0 2853 Wednesday, April 22, 2020 Approved
Gitlab Runner 12.9.0 767 Tuesday, April 14, 2020 Approved
Gitlab Runner 12.8.0 2507 Sunday, February 23, 2020 Approved
Gitlab Runner 12.7.1 1208 Friday, January 24, 2020 Approved
Gitlab Runner 12.7.0 319 Tuesday, January 21, 2020 Approved
Gitlab Runner 12.6.0 594 Tuesday, December 24, 2019 Approved
Gitlab Runner 12.5.0 1089 Thursday, November 21, 2019 Approved
Gitlab Runner 12.4.1 1104 Tuesday, October 29, 2019 Approved
Gitlab Runner 12.4.0 519 Tuesday, October 22, 2019 Approved
Gitlab Runner 12.3.0 2229 Saturday, September 21, 2019 Approved
Gitlab Runner 12.2.0 1280 Friday, August 23, 2019 Approved
Gitlab Runner 12.1.0 1137 Saturday, July 20, 2019 Approved
Gitlab Runner 12.0.0 1685 Saturday, June 22, 2019 Approved
Gitlab Runner 11.11.2 874 Tuesday, June 4, 2019 Approved
Gitlab Runner 11.11.0 548 Tuesday, May 21, 2019 Approved
Gitlab Runner 11.10.0 914 Saturday, April 20, 2019 Approved
Gitlab Runner 11.9.0 756 Saturday, March 23, 2019 Approved
Gitlab Runner 11.8.0 926 Saturday, February 23, 2019 Approved
Gitlab Runner 11.7.0 1048 Tuesday, January 22, 2019 Approved
Gitlab Runner 11.6.0 399 Friday, January 18, 2019 Approved
Gitlab Runner 11.4.0 1534 Monday, October 22, 2018 Approved
Gitlab Runner 11.4.0-rc1 340 Thursday, October 11, 2018 Exempted
Gitlab Runner 11.3.0 883 Saturday, September 22, 2018 Approved
Gitlab Runner 11.3.0-rc1 351 Wednesday, September 12, 2018 Exempted
Gitlab Runner 11.2.0 785 Thursday, August 23, 2018 Approved
Gitlab Runner 11.2.0-rc1 360 Thursday, August 9, 2018 Approved
Gitlab Runner 11.1.0 793 Monday, July 23, 2018 Approved
Gitlab Runner 11.1.0-rc1 388 Saturday, July 14, 2018 Approved
Gitlab Runner 11.0.0 1024 Saturday, June 23, 2018 Approved
Gitlab Runner 11.0.0-rc1 437 Wednesday, June 13, 2018 Approved
Gitlab Runner 10.8.0 920 Wednesday, May 23, 2018 Approved
Gitlab Runner 10.8.0-rc1 509 Friday, May 11, 2018 Approved
Gitlab Runner 10.7.0-rc1 571 Thursday, April 12, 2018 Approved
Gitlab Runner 10.6.0 1221 Friday, March 23, 2018 Approved
Gitlab Runner 10.6.0-rc1 504 Friday, March 9, 2018 Approved
Gitlab Runner 10.5.0 742 Friday, February 23, 2018 Approved
Gitlab Runner 10.5.0-rc1 510 Friday, February 9, 2018 Approved
Gitlab Runner 10.4.0 753 Monday, January 22, 2018 Approved
Gitlab Runner 10.4.0-rc1 612 Tuesday, January 9, 2018 Approved
Gitlab Runner 10.3.0 797 Saturday, December 23, 2017 Approved
Gitlab Runner 10.3.0-rc1 566 Monday, December 11, 2017 Approved
Gitlab Runner 10.2.0 874 Thursday, November 23, 2017 Approved
Gitlab Runner 10.2.0-rc1 549 Saturday, November 11, 2017 Approved
Gitlab Runner 10.1.0 1048 Sunday, October 22, 2017 Approved
Gitlab Runner 10.1.0-rc1 570 Tuesday, October 10, 2017 Approved
Gitlab Runner 10.0.0-rc1 527 Tuesday, September 26, 2017 Approved
Gitlab Runner 9.5.0 1173 Wednesday, August 23, 2017 Approved
Gitlab Runner 9.4.0 848 Sunday, July 23, 2017 Approved
Gitlab Runner 9.3.0 564 Thursday, June 22, 2017 Approved
Gitlab Runner 9.2.1 447 Saturday, June 17, 2017 Approved
Gitlab Runner 9.2.0 524 Monday, May 22, 2017 Approved
Gitlab Runner 9.1.1 456 Wednesday, May 3, 2017 Approved
Gitlab Runner 9.1.0 472 Monday, April 24, 2017 Approved
Gitlab Runner 9.0.0 494 Thursday, March 30, 2017 Approved
Discussion for the Gitlab Runner Package

Ground Rules:

  • This discussion is only about Gitlab Runner and the Gitlab Runner package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Gitlab Runner, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus