1 |
commit: f9e9f39f8484ee903383138717d6157a08b6ce91 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 19:19:59 2022 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 24 19:19:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e9f39f |
7 |
|
8 |
dev-util/gitlab-runner: drop 14.10.1-r1, 15.0.0-r1, 15.1.0, 15.2.0, 15.3.0 |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
dev-util/gitlab-runner/Manifest | 10 ---- |
13 |
.../gitlab-runner/gitlab-runner-14.10.1-r1.ebuild | 67 ---------------------- |
14 |
.../gitlab-runner/gitlab-runner-15.0.0-r1.ebuild | 67 ---------------------- |
15 |
dev-util/gitlab-runner/gitlab-runner-15.1.0.ebuild | 67 ---------------------- |
16 |
dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild | 67 ---------------------- |
17 |
dev-util/gitlab-runner/gitlab-runner-15.3.0.ebuild | 67 ---------------------- |
18 |
6 files changed, 345 deletions(-) |
19 |
|
20 |
diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest |
21 |
index 364c847dfed7..6490b184585e 100644 |
22 |
--- a/dev-util/gitlab-runner/Manifest |
23 |
+++ b/dev-util/gitlab-runner/Manifest |
24 |
@@ -1,17 +1,7 @@ |
25 |
-DIST gitlab-runner-14.10.1-deps.tar.xz 142897024 BLAKE2B 353b209e62b87edd7f684c2b936446468e49d5124f93fffe32e7b30fb78e6d9f28ed19c25458fde5f4d45148ef18c4fad785120c50c4c847632371854310ba9f SHA512 49ff9f0c09fb7eb4ea4657babc2e1fdff08f0818f941d5cf926807a3f4912f573c8d54f45fd3d1c180a9e669c5ab5bca5d607fbd520c974c936711bd448527ec |
26 |
-DIST gitlab-runner-14.10.1.tar.gz 1265690 BLAKE2B c455c08f1530b4fa6d63d74736adeb7cfb76c5f4f56577e2c22ba64630c88a3b0933fd0e3fbcf173d7263f6150bd77491fa091c5c8a4821dabf4bfee24928a52 SHA512 5b3a6b1b13569a9f24206f078bd864689fc6cf9c7f249b3fc5adb36e9c59bc6b53f218a7e31aab8537f188500f072a8e73ad9422e03e2eb44c21521c903044a1 |
27 |
-DIST gitlab-runner-15.0.0-deps.tar.xz 142912160 BLAKE2B e38db204edb80c76524f58aa125bbd17523e239e30533f93e009b73d8cf571f071967dc50c12ba8622b7f03b0ac0565bb5702ccc33c495501321a73cede009e1 SHA512 f8870cd3a33ff778f5fe99b12fff2944d457006fd1c59d5a289650606d5b69fb56f50b0b88725eb5a1e4d30ed52db5c136475f03e0c0597a6544ee86f0c27fdd |
28 |
-DIST gitlab-runner-15.0.0.tar.gz 1273838 BLAKE2B ac80f8bdd4a750f86d34e98cefad9d3c4e345d9607669c1205e5fbba28f25a83be27c43850383fd81e8222426ed31c2738a59c22cd5b6b6e60765295e7437f17 SHA512 8ba54e690fc45c1e22d174b649fbe3cf78707fd5a146c738c73cba045e6ac00499ddedd7a5f905c0c7e4e804a533d3fc718f8f7ac3c9ec5581de4dd9b3599c80 |
29 |
-DIST gitlab-runner-15.1.0-deps.tar.xz 140961872 BLAKE2B 711d2d7b75ab287216963a3871bfcd755d4b5478a37bffcbc64dbe32b93b2c08ca94b0048847697ed83031fc160d9e36589734ccda36526e67d5b4ae621a644b SHA512 58d23e8d25a8c033b517c8f21e6a24c3c449eb7365ae074c18bbda6d2030cc053371da8d5899319a767c922c5923a9042629fe191ba714c3553eadaeb2756a2d |
30 |
-DIST gitlab-runner-15.1.0.tar.gz 1287049 BLAKE2B 76b1c5b535e328941741e55e460de158bcf54d8fa76bc70eba1eed63e7e892f126cdec992cf34ad4c0227f0ee5ba33ec06cea8ba4efd47bf36a540869f71b706 SHA512 7892b4ccfa5973f20deda365e337b8f70e159a9387b6823eada4b39a0cabcd078af08c9bc45e629aa432f49c72f71df6b04fc1cecb72bc2e9c9cd018fc04299b |
31 |
DIST gitlab-runner-15.1.1-deps.tar.xz 140961196 BLAKE2B b3818572b2b5c01c78290572219c9788b0c61091eb4fd28978c08b5c9e11c14cf7b988b036598e93f543f9cd02bb22d1e2aa60ff905891948216943db5e28907 SHA512 fedc9bc87deed3a8cbaac8aa641d7a7175b535dca74d0bddc1b59b796a952a794bcfb456055ec19fc561cab060be9c5a09df322cf52daef7cb8152acb89e26b9 |
32 |
DIST gitlab-runner-15.1.1.tar.gz 1287440 BLAKE2B 0648132a2de277865d3899e460d0f444a26d3d827ee6efdf90abd195b243f31e138f57ca968c702089245e92763ab3cbb7e997fb8dc409a373689ed4e75016bc SHA512 538fc769e0aed90ffe4df9e2afe81b3c89f0c3d9ad9d48e52f12cde5df3b36326f054c1ab88c3d532cf573cdcd7a6e1733d3041cff133a665db5c91c4b8ddd0c |
33 |
-DIST gitlab-runner-15.2.0-deps.tar.xz 141451528 BLAKE2B a77b8ca5c1570fc80f2d9f2bf3ebd9291997cd7f017eb1eaefb68d7bdba219d9fd14fb86c313a8c4fdc8169d81488244905d971a9b7c8393000f85253fd69ae2 SHA512 0aca328527b8b769015ea8177e22c8e232dd840b6427bf6e7ae7e0acccdc3cc6630ad10c2bc3fc42729107509fd37eaa5441846aa5f1ce934d68786335b960a4 |
34 |
-DIST gitlab-runner-15.2.0.tar.gz 1291980 BLAKE2B 06194f6dfba94a1d071b3f29f3065475b8a9c08669ee0ec43917340a54dcdf79843f43b3f7fbe2e57560184c58166d7c107ed465742cfff05163faaca7ef491f SHA512 74f6a8941909c189bbde534d1cf5e1b8a60f595fa6046ca98dd4fb3a9f7406f988dfb9b2c2a6c777813fb24e4f5c23975f74163f7d5584b553acc4ca28ec8331 |
35 |
DIST gitlab-runner-15.2.1-deps.tar.xz 141242072 BLAKE2B 598850f3614772cad485a994ed156074c5f3aeb9b2bbf085fc9f77ded820d1facc6fafdc8b8fa9d763156cc15a454821113bfd47f2d943f2fb28723bc10a8cb7 SHA512 ac3f2b0272f9a6135c953b55e36623117c5e09c70ce88c2989fca4689eba699d12bffe6d5331876f942cfc69ae704b13f73f01ca9a681d02c113e2638420aad5 |
36 |
DIST gitlab-runner-15.2.1.tar.gz 1291638 BLAKE2B 7f2c7100ab5a7e670f8d50ea9dccd5f96b23b4e7ba60f928d732edc3a5f50b10afcfe9ffb052c4242ee401a21a0ddfad14e398a6a133ac093f3bbab84b620b0e SHA512 ed165fd95094dd00450bd2ffbbe876235849fdd98ff0ffc6ce635a103f426d4380573ef8c71f5a40d115fa6fe7ec9416b1c7b780f1563e8b3d4c4a09c02519f7 |
37 |
-DIST gitlab-runner-15.3.0-deps.tar.xz 141251000 BLAKE2B e72c597a10e78f234f7879ff77ecbd787f8a056116f70ed683b82af47bbc701157e23b1e72e9707598796b30e2a747813049984091058c97098436806b18ed66 SHA512 1956885e185854db3f4d6a40aaebd6c6010879d2baf6f910e5fae3f1ed2ba71c4896761a30a8b29c625af2770cb57e5a0a84dc85441096e9d66ed644cab76765 |
38 |
-DIST gitlab-runner-15.3.0.tar.gz 1306073 BLAKE2B cc7f1902e7cfc7577e936b411ae7f582c25757ed5d59cc5d61bb8f9c027ce292c7aac46788a44be78686f1705d5722373a9f5f2b295fd1eab2666e749fc50e06 SHA512 8eabe9a4fd04e46d4bf306dc202664e29f5cb12cba5d73820888957d694711702e026f79a84e1d5f5237cb3d1e7efed8e035129814dcc6354e708ee98e98cbe9 |
39 |
DIST gitlab-runner-15.3.1-deps.tar.xz 141247556 BLAKE2B 8ea8e519efabfe54ff2a70477e713285a80889e6f001adae7263626db4086112964dcde328662a96c3c92d251e294fed6cd8023772f74be650a63f7d7fd2bd58 SHA512 047b4b3ac5e4fb6d493b5ae51219bcd60b056265a146d4001299ccaee491e5b6b0da8a3f1f84d4d44ae0e726b732c69d59851735283c78ddd6456ab9a7a87d49 |
40 |
DIST gitlab-runner-15.3.1.tar.gz 1306831 BLAKE2B 032115edb7b0ae23d4f4083e542aa645e4f76fea04a63c5d3018080314081c82b2250d292b26b507101b627314d9142b0109f33fa8289a583010a5d692a6c1cd SHA512 62e543983e184c2e57189042f8281696e0428841890aef8779fce125041dbbd0626807491e5ae589e367f6b725fb93e663d94da3a051e2a9ec681b959c4bd85f |
41 |
DIST gitlab-runner-15.4.0-deps.tar.xz 141260140 BLAKE2B 876b71eb424bd5d65624718a666f7ff376b7d548056932e5f190974aa54bb7df5453b6fd6cb7a683a528035a8ddc0cec4a4a0f5481c491a6daac2e47edcba061 SHA512 1e940a8ac199b37d305d046f8f93d474e58881f76ee1e569d905cdc02f219dd5730ea7a4efc7ba297d5492996777daf2ec783788da9de6c5873528e0ed0d7c91 |
42 |
|
43 |
diff --git a/dev-util/gitlab-runner/gitlab-runner-14.10.1-r1.ebuild b/dev-util/gitlab-runner/gitlab-runner-14.10.1-r1.ebuild |
44 |
deleted file mode 100644 |
45 |
index 6761ca661422..000000000000 |
46 |
--- a/dev-util/gitlab-runner/gitlab-runner-14.10.1-r1.ebuild |
47 |
+++ /dev/null |
48 |
@@ -1,67 +0,0 @@ |
49 |
-# Copyright 1999-2022 Gentoo Authors |
50 |
-# Distributed under the terms of the GNU General Public License v2 |
51 |
- |
52 |
-EAPI=8 |
53 |
-inherit go-module systemd tmpfiles |
54 |
- |
55 |
-# make sure this gets updated for every bump |
56 |
-GIT_COMMIT=f761588f |
57 |
- |
58 |
-DESCRIPTION="The official GitLab Runner, written in Go" |
59 |
-HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" |
60 |
-SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
61 |
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" |
62 |
- |
63 |
-LICENSE="MIT" |
64 |
-SLOT="0" |
65 |
-KEYWORDS="~amd64" |
66 |
- |
67 |
-COMMON_DEPEND="acct-group/gitlab-runner |
68 |
- acct-user/gitlab-runner" |
69 |
-DEPEND="${COMMON_DEPEND}" |
70 |
-RDEPEND="${COMMON_DEPEND}" |
71 |
-BDEPEND="dev-go/gox" |
72 |
- |
73 |
-DOCS=( docs CHANGELOG.md README.md config.toml.example ) |
74 |
- |
75 |
-PATCHES=( |
76 |
- # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498 |
77 |
- "${FILESDIR}"/build-for-arm64.patch |
78 |
- ) |
79 |
- |
80 |
-S="${WORKDIR}/${PN}-v${PV}" |
81 |
- |
82 |
-src_compile() { |
83 |
- emake \ |
84 |
- BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ |
85 |
- GOX="${EPREFIX}/usr/bin/gox" \ |
86 |
- REVISION=${GIT_COMMIT} \ |
87 |
- VERSION=${PV} \ |
88 |
- runner-bin-host |
89 |
-} |
90 |
- |
91 |
-src_test() { |
92 |
- CI=0 ego test |
93 |
-} |
94 |
- |
95 |
-src_install() { |
96 |
- dobin out/binaries/gitlab-runner |
97 |
- einstalldocs |
98 |
- |
99 |
- newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
100 |
- newinitd "${FILESDIR}/${PN}.initd" "${PN}" |
101 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
102 |
- newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf |
103 |
- keepdir /{etc,var/log}/${PN} |
104 |
- fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} |
105 |
- fperms 0700 /{etc,var/log}/gitlab-runner |
106 |
-} |
107 |
- |
108 |
-pkg_postinst() { |
109 |
- tmpfiles_process gitlab-runner.conf |
110 |
- [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return |
111 |
- elog |
112 |
- elog "To use the runner, you need to register it with this command:" |
113 |
- elog "# gitlab-runner register" |
114 |
- elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" |
115 |
-} |
116 |
|
117 |
diff --git a/dev-util/gitlab-runner/gitlab-runner-15.0.0-r1.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.0.0-r1.ebuild |
118 |
deleted file mode 100644 |
119 |
index 046e21d8e4bb..000000000000 |
120 |
--- a/dev-util/gitlab-runner/gitlab-runner-15.0.0-r1.ebuild |
121 |
+++ /dev/null |
122 |
@@ -1,67 +0,0 @@ |
123 |
-# Copyright 1999-2022 Gentoo Authors |
124 |
-# Distributed under the terms of the GNU General Public License v2 |
125 |
- |
126 |
-EAPI=8 |
127 |
-inherit go-module systemd tmpfiles |
128 |
- |
129 |
-# make sure this gets updated for every bump |
130 |
-GIT_COMMIT=febb2a09 |
131 |
- |
132 |
-DESCRIPTION="The official GitLab Runner, written in Go" |
133 |
-HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" |
134 |
-SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
135 |
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" |
136 |
- |
137 |
-LICENSE="MIT" |
138 |
-SLOT="0" |
139 |
-KEYWORDS="~amd64" |
140 |
- |
141 |
-COMMON_DEPEND="acct-group/gitlab-runner |
142 |
- acct-user/gitlab-runner" |
143 |
-DEPEND="${COMMON_DEPEND}" |
144 |
-RDEPEND="${COMMON_DEPEND}" |
145 |
-BDEPEND="dev-go/gox" |
146 |
- |
147 |
-DOCS=( docs CHANGELOG.md README.md config.toml.example ) |
148 |
- |
149 |
-PATCHES=( |
150 |
- # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498 |
151 |
- "${FILESDIR}"/build-for-arm64.patch |
152 |
- ) |
153 |
- |
154 |
-S="${WORKDIR}/${PN}-v${PV}" |
155 |
- |
156 |
-src_compile() { |
157 |
- emake \ |
158 |
- BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ |
159 |
- GOX="${EPREFIX}/usr/bin/gox" \ |
160 |
- REVISION=${GIT_COMMIT} \ |
161 |
- VERSION=${PV} \ |
162 |
- runner-bin-host |
163 |
-} |
164 |
- |
165 |
-src_test() { |
166 |
- CI=0 ego test |
167 |
-} |
168 |
- |
169 |
-src_install() { |
170 |
- dobin out/binaries/gitlab-runner |
171 |
- einstalldocs |
172 |
- |
173 |
- newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
174 |
- newinitd "${FILESDIR}/${PN}.initd" "${PN}" |
175 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
176 |
- newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf |
177 |
- keepdir /{etc,var/log}/${PN} |
178 |
- fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} |
179 |
- fperms 0700 /{etc,var/log}/gitlab-runner |
180 |
-} |
181 |
- |
182 |
-pkg_postinst() { |
183 |
- tmpfiles_process gitlab-runner.conf |
184 |
- [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return |
185 |
- elog |
186 |
- elog "To use the runner, you need to register it with this command:" |
187 |
- elog "# gitlab-runner register" |
188 |
- elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" |
189 |
-} |
190 |
|
191 |
diff --git a/dev-util/gitlab-runner/gitlab-runner-15.1.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.1.0.ebuild |
192 |
deleted file mode 100644 |
193 |
index fcce7a120b1e..000000000000 |
194 |
--- a/dev-util/gitlab-runner/gitlab-runner-15.1.0.ebuild |
195 |
+++ /dev/null |
196 |
@@ -1,67 +0,0 @@ |
197 |
-# Copyright 1999-2022 Gentoo Authors |
198 |
-# Distributed under the terms of the GNU General Public License v2 |
199 |
- |
200 |
-EAPI=8 |
201 |
-inherit go-module systemd tmpfiles |
202 |
- |
203 |
-# make sure this gets updated for every bump |
204 |
-GIT_COMMIT=76984217 |
205 |
- |
206 |
-DESCRIPTION="The official GitLab Runner, written in Go" |
207 |
-HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" |
208 |
-SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
209 |
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" |
210 |
- |
211 |
-LICENSE="MIT" |
212 |
-SLOT="0" |
213 |
-KEYWORDS="~amd64" |
214 |
- |
215 |
-COMMON_DEPEND="acct-group/gitlab-runner |
216 |
- acct-user/gitlab-runner" |
217 |
-DEPEND="${COMMON_DEPEND}" |
218 |
-RDEPEND="${COMMON_DEPEND}" |
219 |
-BDEPEND="dev-go/gox" |
220 |
- |
221 |
-DOCS=( docs CHANGELOG.md README.md config.toml.example ) |
222 |
- |
223 |
-PATCHES=( |
224 |
- # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498 |
225 |
- "${FILESDIR}"/build-for-arm64.patch |
226 |
- ) |
227 |
- |
228 |
-S="${WORKDIR}/${PN}-v${PV}" |
229 |
- |
230 |
-src_compile() { |
231 |
- emake \ |
232 |
- BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ |
233 |
- GOX="${EPREFIX}/usr/bin/gox" \ |
234 |
- REVISION=${GIT_COMMIT} \ |
235 |
- VERSION=${PV} \ |
236 |
- runner-bin-host |
237 |
-} |
238 |
- |
239 |
-src_test() { |
240 |
- CI=0 ego test |
241 |
-} |
242 |
- |
243 |
-src_install() { |
244 |
- dobin out/binaries/gitlab-runner |
245 |
- einstalldocs |
246 |
- |
247 |
- newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
248 |
- newinitd "${FILESDIR}/${PN}.initd" "${PN}" |
249 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
250 |
- newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf |
251 |
- keepdir /{etc,var/log}/${PN} |
252 |
- fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} |
253 |
- fperms 0700 /{etc,var/log}/gitlab-runner |
254 |
-} |
255 |
- |
256 |
-pkg_postinst() { |
257 |
- tmpfiles_process gitlab-runner.conf |
258 |
- [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return |
259 |
- elog |
260 |
- elog "To use the runner, you need to register it with this command:" |
261 |
- elog "# gitlab-runner register" |
262 |
- elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" |
263 |
-} |
264 |
|
265 |
diff --git a/dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild |
266 |
deleted file mode 100644 |
267 |
index c10a0b580009..000000000000 |
268 |
--- a/dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild |
269 |
+++ /dev/null |
270 |
@@ -1,67 +0,0 @@ |
271 |
-# Copyright 1999-2022 Gentoo Authors |
272 |
-# Distributed under the terms of the GNU General Public License v2 |
273 |
- |
274 |
-EAPI=8 |
275 |
-inherit go-module systemd tmpfiles |
276 |
- |
277 |
-# make sure this gets updated for every bump |
278 |
-GIT_COMMIT=7f093137 |
279 |
- |
280 |
-DESCRIPTION="The official GitLab Runner, written in Go" |
281 |
-HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" |
282 |
-SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
283 |
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" |
284 |
- |
285 |
-LICENSE="MIT" |
286 |
-SLOT="0" |
287 |
-KEYWORDS="~amd64" |
288 |
- |
289 |
-COMMON_DEPEND="acct-group/gitlab-runner |
290 |
- acct-user/gitlab-runner" |
291 |
-DEPEND="${COMMON_DEPEND}" |
292 |
-RDEPEND="${COMMON_DEPEND}" |
293 |
-BDEPEND="dev-go/gox" |
294 |
- |
295 |
-DOCS=( docs CHANGELOG.md README.md config.toml.example ) |
296 |
- |
297 |
-PATCHES=( |
298 |
- # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498 |
299 |
- "${FILESDIR}"/build-for-arm64.patch |
300 |
- ) |
301 |
- |
302 |
-S="${WORKDIR}/${PN}-v${PV}" |
303 |
- |
304 |
-src_compile() { |
305 |
- emake \ |
306 |
- BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ |
307 |
- GOX="${EPREFIX}/usr/bin/gox" \ |
308 |
- REVISION=${GIT_COMMIT} \ |
309 |
- VERSION=${PV} \ |
310 |
- runner-bin-host |
311 |
-} |
312 |
- |
313 |
-src_test() { |
314 |
- CI=0 ego test |
315 |
-} |
316 |
- |
317 |
-src_install() { |
318 |
- dobin out/binaries/gitlab-runner |
319 |
- einstalldocs |
320 |
- |
321 |
- newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
322 |
- newinitd "${FILESDIR}/${PN}.initd" "${PN}" |
323 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
324 |
- newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf |
325 |
- keepdir /{etc,var/log}/${PN} |
326 |
- fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} |
327 |
- fperms 0700 /{etc,var/log}/gitlab-runner |
328 |
-} |
329 |
- |
330 |
-pkg_postinst() { |
331 |
- tmpfiles_process gitlab-runner.conf |
332 |
- [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return |
333 |
- elog |
334 |
- elog "To use the runner, you need to register it with this command:" |
335 |
- elog "# gitlab-runner register" |
336 |
- elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" |
337 |
-} |
338 |
|
339 |
diff --git a/dev-util/gitlab-runner/gitlab-runner-15.3.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.3.0.ebuild |
340 |
deleted file mode 100644 |
341 |
index 61d17b4ce4a7..000000000000 |
342 |
--- a/dev-util/gitlab-runner/gitlab-runner-15.3.0.ebuild |
343 |
+++ /dev/null |
344 |
@@ -1,67 +0,0 @@ |
345 |
-# Copyright 1999-2022 Gentoo Authors |
346 |
-# Distributed under the terms of the GNU General Public License v2 |
347 |
- |
348 |
-EAPI=8 |
349 |
-inherit go-module systemd tmpfiles |
350 |
- |
351 |
-# make sure this gets updated for every bump |
352 |
-GIT_COMMIT=bbcb5aba7 |
353 |
- |
354 |
-DESCRIPTION="The official GitLab Runner, written in Go" |
355 |
-HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" |
356 |
-SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz" |
357 |
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" |
358 |
- |
359 |
-LICENSE="MIT" |
360 |
-SLOT="0" |
361 |
-KEYWORDS="~amd64 ~ppc64" |
362 |
- |
363 |
-COMMON_DEPEND="acct-group/gitlab-runner |
364 |
- acct-user/gitlab-runner" |
365 |
-DEPEND="${COMMON_DEPEND}" |
366 |
-RDEPEND="${COMMON_DEPEND}" |
367 |
-BDEPEND="dev-go/gox" |
368 |
- |
369 |
-DOCS=( docs CHANGELOG.md README.md config.toml.example ) |
370 |
- |
371 |
-PATCHES=( |
372 |
- # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498 |
373 |
- "${FILESDIR}"/build-for-arm64.patch |
374 |
- ) |
375 |
- |
376 |
-S="${WORKDIR}/${PN}-v${PV}" |
377 |
- |
378 |
-src_compile() { |
379 |
- emake \ |
380 |
- BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ |
381 |
- GOX="${EPREFIX}/usr/bin/gox" \ |
382 |
- REVISION=${GIT_COMMIT} \ |
383 |
- VERSION=${PV} \ |
384 |
- runner-bin-host |
385 |
-} |
386 |
- |
387 |
-src_test() { |
388 |
- CI=0 ego test |
389 |
-} |
390 |
- |
391 |
-src_install() { |
392 |
- dobin out/binaries/gitlab-runner |
393 |
- einstalldocs |
394 |
- |
395 |
- newconfd "${FILESDIR}/${PN}.confd" "${PN}" |
396 |
- newinitd "${FILESDIR}/${PN}.initd" "${PN}" |
397 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
398 |
- newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf |
399 |
- keepdir /{etc,var/log}/${PN} |
400 |
- fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} |
401 |
- fperms 0700 /{etc,var/log}/gitlab-runner |
402 |
-} |
403 |
- |
404 |
-pkg_postinst() { |
405 |
- tmpfiles_process gitlab-runner.conf |
406 |
- [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return |
407 |
- elog |
408 |
- elog "To use the runner, you need to register it with this command:" |
409 |
- elog "# gitlab-runner register" |
410 |
- elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" |
411 |
-} |