Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gitlab-runner/
Date: Mon, 07 Nov 2022 21:50:46
Message-Id: 1667857811.6b7bfcf0d0baeec42acea21dc6a546d34c8b6eb0.williamh@gentoo
1 commit: 6b7bfcf0d0baeec42acea21dc6a546d34c8b6eb0
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 7 21:49:46 2022 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 7 21:50:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b7bfcf0
7
8 dev-util/gitlab-runner: drop 15.1.1, 15.2.1
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 dev-util/gitlab-runner/Manifest | 4 --
13 dev-util/gitlab-runner/gitlab-runner-15.1.1.ebuild | 67 ----------------------
14 dev-util/gitlab-runner/gitlab-runner-15.2.1.ebuild | 67 ----------------------
15 3 files changed, 138 deletions(-)
16
17 diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest
18 index 0d1bf82e63f9..06b000f2cca2 100644
19 --- a/dev-util/gitlab-runner/Manifest
20 +++ b/dev-util/gitlab-runner/Manifest
21 @@ -1,7 +1,3 @@
22 -DIST gitlab-runner-15.1.1-deps.tar.xz 140961196 BLAKE2B b3818572b2b5c01c78290572219c9788b0c61091eb4fd28978c08b5c9e11c14cf7b988b036598e93f543f9cd02bb22d1e2aa60ff905891948216943db5e28907 SHA512 fedc9bc87deed3a8cbaac8aa641d7a7175b535dca74d0bddc1b59b796a952a794bcfb456055ec19fc561cab060be9c5a09df322cf52daef7cb8152acb89e26b9
23 -DIST gitlab-runner-15.1.1.tar.gz 1287440 BLAKE2B 0648132a2de277865d3899e460d0f444a26d3d827ee6efdf90abd195b243f31e138f57ca968c702089245e92763ab3cbb7e997fb8dc409a373689ed4e75016bc SHA512 538fc769e0aed90ffe4df9e2afe81b3c89f0c3d9ad9d48e52f12cde5df3b36326f054c1ab88c3d532cf573cdcd7a6e1733d3041cff133a665db5c91c4b8ddd0c
24 -DIST gitlab-runner-15.2.1-deps.tar.xz 141242072 BLAKE2B 598850f3614772cad485a994ed156074c5f3aeb9b2bbf085fc9f77ded820d1facc6fafdc8b8fa9d763156cc15a454821113bfd47f2d943f2fb28723bc10a8cb7 SHA512 ac3f2b0272f9a6135c953b55e36623117c5e09c70ce88c2989fca4689eba699d12bffe6d5331876f942cfc69ae704b13f73f01ca9a681d02c113e2638420aad5
25 -DIST gitlab-runner-15.2.1.tar.gz 1291638 BLAKE2B 7f2c7100ab5a7e670f8d50ea9dccd5f96b23b4e7ba60f928d732edc3a5f50b10afcfe9ffb052c4242ee401a21a0ddfad14e398a6a133ac093f3bbab84b620b0e SHA512 ed165fd95094dd00450bd2ffbbe876235849fdd98ff0ffc6ce635a103f426d4380573ef8c71f5a40d115fa6fe7ec9416b1c7b780f1563e8b3d4c4a09c02519f7
26 DIST gitlab-runner-15.3.1-deps.tar.xz 141247556 BLAKE2B 8ea8e519efabfe54ff2a70477e713285a80889e6f001adae7263626db4086112964dcde328662a96c3c92d251e294fed6cd8023772f74be650a63f7d7fd2bd58 SHA512 047b4b3ac5e4fb6d493b5ae51219bcd60b056265a146d4001299ccaee491e5b6b0da8a3f1f84d4d44ae0e726b732c69d59851735283c78ddd6456ab9a7a87d49
27 DIST gitlab-runner-15.3.1.tar.gz 1306831 BLAKE2B 032115edb7b0ae23d4f4083e542aa645e4f76fea04a63c5d3018080314081c82b2250d292b26b507101b627314d9142b0109f33fa8289a583010a5d692a6c1cd SHA512 62e543983e184c2e57189042f8281696e0428841890aef8779fce125041dbbd0626807491e5ae589e367f6b725fb93e663d94da3a051e2a9ec681b959c4bd85f
28 DIST gitlab-runner-15.4.1-deps.tar.xz 138998168 BLAKE2B cee390b7955ee98eccffca6e878492f8c2de39d0ed4f4366ee9f0cc3fd016c625153dbe3b79d2cc6cf1e3a301f6ba8c2ad6a40b29d71408494a36788f07ba601 SHA512 c143883330b7a03ed4b77d49bded4423a44ef53ef8597294c99f067401c1ebe92ae69f8c8820181634b76e070d76304212ae1bcd957a7cbbee2167cca4dcfd64
29
30 diff --git a/dev-util/gitlab-runner/gitlab-runner-15.1.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.1.1.ebuild
31 deleted file mode 100644
32 index 39a1d57d7b63..000000000000
33 --- a/dev-util/gitlab-runner/gitlab-runner-15.1.1.ebuild
34 +++ /dev/null
35 @@ -1,67 +0,0 @@
36 -# Copyright 1999-2022 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=8
40 -inherit go-module systemd tmpfiles
41 -
42 -# make sure this gets updated for every bump
43 -GIT_COMMIT=bfccfab3
44 -
45 -DESCRIPTION="The official GitLab Runner, written in Go"
46 -HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner"
47 -SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
48 -SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
49 -
50 -LICENSE="MIT"
51 -SLOT="0"
52 -KEYWORDS="~amd64"
53 -
54 -COMMON_DEPEND="acct-group/gitlab-runner
55 - acct-user/gitlab-runner"
56 -DEPEND="${COMMON_DEPEND}"
57 -RDEPEND="${COMMON_DEPEND}"
58 -BDEPEND="dev-go/gox"
59 -
60 -DOCS=( docs CHANGELOG.md README.md config.toml.example )
61 -
62 -PATCHES=(
63 - # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498
64 - "${FILESDIR}"/build-for-arm64.patch
65 - )
66 -
67 -S="${WORKDIR}/${PN}-v${PV}"
68 -
69 -src_compile() {
70 - emake \
71 - BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \
72 - GOX="${EPREFIX}/usr/bin/gox" \
73 - REVISION=${GIT_COMMIT} \
74 - VERSION=${PV} \
75 - runner-bin-host
76 -}
77 -
78 -src_test() {
79 - CI=0 ego test
80 -}
81 -
82 -src_install() {
83 - dobin out/binaries/gitlab-runner
84 - einstalldocs
85 -
86 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
87 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
88 - systemd_dounit "${FILESDIR}/${PN}.service"
89 - newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
90 - keepdir /{etc,var/log}/${PN}
91 - fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN}
92 - fperms 0700 /{etc,var/log}/gitlab-runner
93 -}
94 -
95 -pkg_postinst() {
96 - tmpfiles_process gitlab-runner.conf
97 - [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return
98 - elog
99 - elog "To use the runner, you need to register it with this command:"
100 - elog "# gitlab-runner register"
101 - elog "This will also create the configuration file in /etc/gitlab-runner/config.toml"
102 -}
103
104 diff --git a/dev-util/gitlab-runner/gitlab-runner-15.2.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.2.1.ebuild
105 deleted file mode 100644
106 index eb76a2210290..000000000000
107 --- a/dev-util/gitlab-runner/gitlab-runner-15.2.1.ebuild
108 +++ /dev/null
109 @@ -1,67 +0,0 @@
110 -# Copyright 1999-2022 Gentoo Authors
111 -# Distributed under the terms of the GNU General Public License v2
112 -
113 -EAPI=8
114 -inherit go-module systemd tmpfiles
115 -
116 -# make sure this gets updated for every bump
117 -GIT_COMMIT=32fc1585e
118 -
119 -DESCRIPTION="The official GitLab Runner, written in Go"
120 -HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner"
121 -SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
122 -SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
123 -
124 -LICENSE="MIT"
125 -SLOT="0"
126 -KEYWORDS="~amd64"
127 -
128 -COMMON_DEPEND="acct-group/gitlab-runner
129 - acct-user/gitlab-runner"
130 -DEPEND="${COMMON_DEPEND}"
131 -RDEPEND="${COMMON_DEPEND}"
132 -BDEPEND="dev-go/gox"
133 -
134 -DOCS=( docs CHANGELOG.md README.md config.toml.example )
135 -
136 -PATCHES=(
137 - # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498
138 - "${FILESDIR}"/build-for-arm64.patch
139 - )
140 -
141 -S="${WORKDIR}/${PN}-v${PV}"
142 -
143 -src_compile() {
144 - emake \
145 - BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \
146 - GOX="${EPREFIX}/usr/bin/gox" \
147 - REVISION=${GIT_COMMIT} \
148 - VERSION=${PV} \
149 - runner-bin-host
150 -}
151 -
152 -src_test() {
153 - CI=0 ego test
154 -}
155 -
156 -src_install() {
157 - dobin out/binaries/gitlab-runner
158 - einstalldocs
159 -
160 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
161 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
162 - systemd_dounit "${FILESDIR}/${PN}.service"
163 - newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
164 - keepdir /{etc,var/log}/${PN}
165 - fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN}
166 - fperms 0700 /{etc,var/log}/gitlab-runner
167 -}
168 -
169 -pkg_postinst() {
170 - tmpfiles_process gitlab-runner.conf
171 - [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return
172 - elog
173 - elog "To use the runner, you need to register it with this command:"
174 - elog "# gitlab-runner register"
175 - elog "This will also create the configuration file in /etc/gitlab-runner/config.toml"
176 -}