Skip to content

Commit 895667e

Browse files
Adding VersionStream for gitlab-runner-17.8 (#39809)
Signed-off-by: Jason Hall <[email protected]> Co-authored-by: octo-sts[bot] <[email protected]> Co-authored-by: Jason Hall <[email protected]>
1 parent 9daa96b commit 895667e

File tree

1 file changed

+104
-0
lines changed

1 file changed

+104
-0
lines changed

gitlab-runner-17.8.yaml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# This tracks and the expected commit and tag used by Docker Machine.
2+
# This varies for each version of GitLab's runner and requires manual
3+
# intervention between updates.
4+
#
5+
# The Docker Machine Executor is deprecated https://gitlab.com/gitlab-org/gitlab/-/issues/498268
6+
#
7+
# This location is no longer valid for finding the machine version:
8+
# https://gitlab.com/gitlab-org/gitlab-runner/-/blob/v${{package.version}}/.gitlab/ci/_common.gitlab-ci.yml?ref_type=tags#L17
9+
#
10+
# Until machine is fully removed, we're now checking for the latest version from the following link
11+
# https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/tags
12+
vars:
13+
machine-commit: 115286f8c18fc5ebb2181bb56a04ae23eef40135
14+
machine-tag: 0.16.2-gitlab.31
15+
16+
var-transforms:
17+
- from: ${{package.version}}
18+
match: ^(\d+\.\d+)\.\d+$
19+
replace: "$1"
20+
to: major-minor-version
21+
22+
package:
23+
name: gitlab-runner-17.8
24+
# ---Additional updates required--- Review 'vars' section (above), when reviewing version bumps.
25+
version: 17.8.0
26+
epoch: 0
27+
description: GitLab Runner is the open source project that is used to run your CI/CD jobs and send the results back to GitLab
28+
copyright:
29+
- license: MIT
30+
dependencies:
31+
provides:
32+
- gitlab-runner=${{package.full-version}}
33+
34+
pipeline:
35+
- uses: git-checkout
36+
with:
37+
repository: https://gitlab.com/gitlab-org/gitlab-runner
38+
tag: v${{package.version}}
39+
expected-commit: e4f782b3301a3aca4957d9aa5a7db780d56ce80a
40+
41+
- uses: go/build
42+
with:
43+
packages: .
44+
output: gitlab-runner
45+
ldflags: -w -X gitlab.com/gitlab-org/gitlab-runner/common.NAME=${{package.name}} -X gitlab.com/gitlab-org/gitlab-runner/common.VERSION=v${{package.version}}
46+
47+
subpackages:
48+
- name: gitlab-runner-helper-${{vars.major-minor-version}}
49+
description: GitLab Runner Helper
50+
dependencies:
51+
provides:
52+
- gitlab-runner-helper=${{package.full-version}}
53+
pipeline:
54+
- uses: go/build
55+
with:
56+
packages: ./apps/gitlab-runner-helper
57+
output: gitlab-runner-helper
58+
ldflags: -w -X gitlab.com/gitlab-org/gitlab-runner/common.NAME=${{package.name}} -X gitlab.com/gitlab-org/gitlab-runner/common.VERSION=v${{package.version}}
59+
60+
- name: gitlab-docker-machine-${{vars.major-minor-version}}
61+
description: "Creates Docker hosts used by GitLab runner."
62+
dependencies:
63+
provides:
64+
- gitlab-docker-machine=${{package.full-version}}
65+
pipeline:
66+
- uses: git-checkout
67+
with:
68+
repository: https://gitlab.com/gitlab-org/ci-cd/docker-machine
69+
tag: v${{vars.machine-tag}}
70+
expected-commit: ${{vars.machine-commit}}
71+
destination: ./machine
72+
- uses: go/bump
73+
with:
74+
deps: github.com/golang-jwt/jwt/[email protected] golang.org/x/[email protected] golang.org/x/[email protected]
75+
modroot: ./machine
76+
- uses: go/build
77+
with:
78+
packages: ./cmd/docker-machine
79+
output: docker-machine
80+
ldflags: -w -X github.com/docker/machine/version.GitCommit=$(git rev-parse --short HEAD 2>/dev/null)
81+
modroot: ./machine
82+
test:
83+
pipeline:
84+
- runs: |
85+
docker-machine -v | grep ${{vars.machine-tag}}
86+
docker-machine -h
87+
88+
update:
89+
enabled: true
90+
# Requires manual steps when updating
91+
manual: true
92+
git:
93+
strip-prefix: v
94+
tag-filter-prefix: v17.8
95+
96+
test:
97+
environment:
98+
contents:
99+
packages:
100+
- gitlab-runner-helper=${{package.full-version}}
101+
pipeline:
102+
- runs: |
103+
gitlab-runner --help
104+
gitlab-runner-helper --help

0 commit comments

Comments
 (0)