commit:     dc8e6d941efd0ae8543fa2e5100925b1f039798c
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  2 19:54:50 2025 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Apr  2 19:55:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8e6d94

dev-util/gitlab-runner: add 17.8.5, 17.9.3, 17.10.1

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-util/gitlab-runner/Manifest                    |  6 +++
 .../gitlab-runner/gitlab-runner-17.10.1.ebuild     | 62 ++++++++++++++++++++++
 dev-util/gitlab-runner/gitlab-runner-17.8.5.ebuild | 62 ++++++++++++++++++++++
 dev-util/gitlab-runner/gitlab-runner-17.9.3.ebuild | 62 ++++++++++++++++++++++
 4 files changed, 192 insertions(+)

diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest
index a03fa20fa656..f36488b882f8 100644
--- a/dev-util/gitlab-runner/Manifest
+++ b/dev-util/gitlab-runner/Manifest
@@ -1,8 +1,14 @@
 DIST gitlab-runner-17.10.0-deps.tar.xz 117710344 BLAKE2B 
bbdc1e5bd2579f1c246ff5fb3b278a28fb46b8faf74a7ba89581b5a3292cc7efd87c5da5cc698352afbe719699186e458259f2086aed3039c2c16a7c41262642
 SHA512 
6675c5768d61abe6ccf69440361eb09e42cbd74bf89172c0c4e0d23a30bcf2c8b77b1b738717037dda4239767f35146f913fbbbed3f57f0fd0e7f4883871aaac
 DIST gitlab-runner-17.10.0.tar.bz2 1812755 BLAKE2B 
296673af16a1b72f8888a128defa4921b341d136bcce55c9c01e2b4686a9df55b153e061ba706e4cb0c200b0b75104684f540dd2c5722aef053536a3398abf94
 SHA512 
ef49666cb9f424dd11025f988608eae0f64ae9f22ea7e04315073da8ee3fc68650fc9d7b4c68978d824d3000fdd70f9cae86bcd6f37caa3cef54746726b19f60
+DIST gitlab-runner-17.10.1-deps.tar.xz 115915328 BLAKE2B 
ed453a20e63448ec302ca32be28535d0fac2f81f9c0edeb5223749f885e499e94ca1e183bfb3ca5947ab84b37c18b6bab5fa7b7c7ff335344a1566b997187007
 SHA512 
7f040b4e73a2c4a20324006410abfd04aedbff542f5083395f3d0b360785b08a54263134537c7d17ff6c5c54dccef1b8db499bb5be4c3a41d51043ce2e7c77f9
+DIST gitlab-runner-17.10.1.tar.bz2 1812706 BLAKE2B 
cc39c90ed6251dcd6c16ef4de8c940ada15199b7dd4266fb9cbf30ce68e050472fb736c2cd586267ff38921296ab0c0a021481ef4ddd16e9a26759d140215894
 SHA512 
e2e98809a09bfa25cb54961675cd02a349d6560126b59d6829c8b43d2f622322e647b9912ca40440eff64de9916d44245c4065dfbc2780c0e46de755807584b5
 DIST gitlab-runner-17.7.1-deps.tar.xz 108516732 BLAKE2B 
cba771fb005fccaa19816fb5f4bf45e63f2de3d69f2477e4d1f68388a98a46a9332767d5bb455f4076cd7fdf1c1a63ea728bb8142dcea957e2f60e0577cc4733
 SHA512 
c2332bdee6b7bfbe0d3ec93b7f0825b6f5df1440bd04eae44ea63375b57690ba5e7d1aa08907d5ba45a771b49e286c1b82c0f0a75de4da51192a2038d9aa6e17
 DIST gitlab-runner-17.7.1.tar.bz2 1757310 BLAKE2B 
44fa445f30ae65be18a63788bcdda1086af0226f0a44c792f898a7c8fae584e48d4a84e132b3257121cafc2f7df1760bc24f6d9154c2c359167530e57e4afe89
 SHA512 
f1d21ee94873652ee7aa62a165707088f957334ee90f3fab7b66df8b63589c2e6e41e1bb9f7cfa13835ca992b8ba773bdc88ad2a72e1b46accfd558eaf1d2a22
 DIST gitlab-runner-17.8.3-deps.tar.xz 109232796 BLAKE2B 
cd307c8fba9bcc3b3d955c4443813f44f419f57382c910a66c67da3d955d5ff7772815d8ab3fc35e51fe8b795fe72167cc6e6c5ae3011ee90a36d6106287bed3
 SHA512 
b5db3a95aaaf6e6b8c532e52a56aaed3c6ea3bcaa5185b88778208c44f98b42c8b6a2b2269676e67dd9adb6f4a7f7ff4755e513347417d56b1c326574b91e2ba
 DIST gitlab-runner-17.8.3.tar.bz2 1751505 BLAKE2B 
104a37aa7f659baba08d3623e76821df286e24093ba192665c27a3ca33df9721c4cf89851ebc59f37519b80e74fa9aebe6ad1d99f17ba6bf03dd9c96d6357286
 SHA512 
c4ae576ea5e158c78fb10021bbf0240dee5f16342bebf3e5ebc25c6803d78c3b2e84f3ffd73a6622743bb3720ff21525c1be762912cd3c5f4fc8fc483b38db79
+DIST gitlab-runner-17.8.5-deps.tar.xz 110991876 BLAKE2B 
1cc576c819be8f1de649b71b385e60e7655400309a679e94060e53a9eaadff472c197018f4b3f4d2b4e88623ccfc1fc8fcf9913fbe3a097faf9d787f2c6ac47b
 SHA512 
bd433417c7ee75e55a176c77267be494396139b4c9f02795bba243eb8540613e778c49d000673c014e8fae9ecea63663c7ae4b2ac1bb6dfdb7081df466669555
+DIST gitlab-runner-17.8.5.tar.bz2 1756615 BLAKE2B 
ea7f7af2ff17f34d39b20256ed160f01613b56a22eeb5f1355f378b312216238b183dc57868dd8c9f4adc6151ea1efae6fcbd27f364cbe9f5fabe75be2263f8b
 SHA512 
7e716468d0922b05e41f04b2228c31d61d17761e850836a43cceafc92fb78e353b2fabbbfb364a4d81fa87010dd48f2106f65b1499ee6ca146044c75e558e839
 DIST gitlab-runner-17.9.1-deps.tar.xz 110086112 BLAKE2B 
ecc28024da70114e1106a361bd94263e473e1f4eef394b495338ff9eae71d23ce215c8df88e7c442e89e45b34b72ffa15e6b19fdb5f2708ea24e1fdcdb669f6b
 SHA512 
59247fb84d7466b820640dbc0a9d79a872c58295088d489bb6778b30a85dab30e52a211463f52e94e70773da7b430f012e2b359b3761bfb2cb9c3fd5ebd146ec
 DIST gitlab-runner-17.9.1.tar.bz2 1784302 BLAKE2B 
b75f44e79358647e4456cae93348ccaa4039909417cdf97cc754e19300059b4aaf9ae8c7b5344a0b79b66cf39295f2836e52ddff28a5d86ea61420a3b0f9127d
 SHA512 
6c40c3f60b007b01aafe4e2b5d0930e401be3ad781480c6db5fa3dfb986ab135b7d25d86eb45a69a8551349a1bcd446e53ac9744fd97aca50e1af2b490532d08
+DIST gitlab-runner-17.9.3-deps.tar.xz 110070696 BLAKE2B 
4c2fdf31d190ab3d8023ddce40b608d81d607fc78865f8c5b9c14fcd66126455cfb69077aebefbf82cada2c9ef3de01a035247c6509296d663f36cc6b883beae
 SHA512 
1abb78859ee9d4ee5ee8abfcd9b7d490f0b98980a10c459c3e4fe1e56455616a0d261ec627450c3b7a516c3b2b0bd62018a9ff5d3fb26144b7a6cc095247abbf
+DIST gitlab-runner-17.9.3.tar.bz2 1791900 BLAKE2B 
4f850cad7f869595cf4e9e100fa840dbd66f227a9ed7e8f34ecabc517f9459bc85527270e0b57194c1e4067b8138155e2eee980e7ffe3890da881b1414501061
 SHA512 
192abb08400dabc8c6d78f6571f2d675e78696e8a3bf93dcc5901035b3a0a4f14bff3e5d3c8786f21f6ed0fce11f06cbdb94bbdf25340c0b04eb83ce5c103856

diff --git a/dev-util/gitlab-runner/gitlab-runner-17.10.1.ebuild 
b/dev-util/gitlab-runner/gitlab-runner-17.10.1.ebuild
new file mode 100644
index 000000000000..3c94c9cf1799
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-17.10.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+
+# make sure this gets updated for every bump
+GIT_COMMIT=ef334dcc
+
+DESCRIPTION="The official GitLab Runner, written in Go"
+HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner";
+SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
 -> ${P}.tar.bz2"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz";
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~ppc64 ~riscv"
+
+COMMON_DEPEND="acct-group/gitlab-runner
+       acct-user/gitlab-runner"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="dev-go/gox"
+
+DOCS=( docs CHANGELOG.md README.md config.toml.example )
+
+src_compile() {
+       emake \
+               BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \
+               GOX="${EPREFIX}/usr/bin/gox" \
+               REVISION=${GIT_COMMIT} \
+               VERSION=${PV} \
+               runner-bin-host
+}
+
+src_test() {
+       CI=0 ego test
+}
+
+src_install() {
+       newbin out/binaries/gitlab-runner-linux-* gitlab-runner
+       einstalldocs
+
+       newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+       newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+       systemd_dounit "${FILESDIR}/${PN}.service"
+       newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
+       keepdir /{etc,var/log}/${PN}
+       fperms 0700 /{etc,var/log}/gitlab-runner
+       fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN}
+}
+
+pkg_postinst() {
+       tmpfiles_process gitlab-runner.conf
+       [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return
+       elog
+       elog "To use the runner, you need to register it with this command:"
+       elog "# gitlab-runner register"
+       elog "This will also create the configuration file in 
/etc/gitlab-runner/config.toml"
+}

diff --git a/dev-util/gitlab-runner/gitlab-runner-17.8.5.ebuild 
b/dev-util/gitlab-runner/gitlab-runner-17.8.5.ebuild
new file mode 100644
index 000000000000..6d9f6a565c80
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-17.8.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+
+# make sure this gets updated for every bump
+GIT_COMMIT=c9164c8c
+
+DESCRIPTION="The official GitLab Runner, written in Go"
+HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner";
+SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
 -> ${P}.tar.bz2"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz";
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~ppc64 ~riscv"
+
+COMMON_DEPEND="acct-group/gitlab-runner
+       acct-user/gitlab-runner"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="dev-go/gox"
+
+DOCS=( docs CHANGELOG.md README.md config.toml.example )
+
+src_compile() {
+       emake \
+               BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \
+               GOX="${EPREFIX}/usr/bin/gox" \
+               REVISION=${GIT_COMMIT} \
+               VERSION=${PV} \
+               runner-bin-host
+}
+
+src_test() {
+       CI=0 ego test
+}
+
+src_install() {
+       newbin out/binaries/gitlab-runner-linux-* gitlab-runner
+       einstalldocs
+
+       newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+       newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+       systemd_dounit "${FILESDIR}/${PN}.service"
+       newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
+       keepdir /{etc,var/log}/${PN}
+       fperms 0700 /{etc,var/log}/gitlab-runner
+       fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN}
+}
+
+pkg_postinst() {
+       tmpfiles_process gitlab-runner.conf
+       [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return
+       elog
+       elog "To use the runner, you need to register it with this command:"
+       elog "# gitlab-runner register"
+       elog "This will also create the configuration file in 
/etc/gitlab-runner/config.toml"
+}

diff --git a/dev-util/gitlab-runner/gitlab-runner-17.9.3.ebuild 
b/dev-util/gitlab-runner/gitlab-runner-17.9.3.ebuild
new file mode 100644
index 000000000000..0216a65f832c
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-17.9.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+
+# make sure this gets updated for every bump
+GIT_COMMIT=f6927248
+
+DESCRIPTION="The official GitLab Runner, written in Go"
+HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner";
+SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
 -> ${P}.tar.bz2"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz";
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~ppc64 ~riscv"
+
+COMMON_DEPEND="acct-group/gitlab-runner
+       acct-user/gitlab-runner"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="dev-go/gox"
+
+DOCS=( docs CHANGELOG.md README.md config.toml.example )
+
+src_compile() {
+       emake \
+               BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \
+               GOX="${EPREFIX}/usr/bin/gox" \
+               REVISION=${GIT_COMMIT} \
+               VERSION=${PV} \
+               runner-bin-host
+}
+
+src_test() {
+       CI=0 ego test
+}
+
+src_install() {
+       newbin out/binaries/gitlab-runner-linux-* gitlab-runner
+       einstalldocs
+
+       newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+       newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+       systemd_dounit "${FILESDIR}/${PN}.service"
+       newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
+       keepdir /{etc,var/log}/${PN}
+       fperms 0700 /{etc,var/log}/gitlab-runner
+       fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN}
+}
+
+pkg_postinst() {
+       tmpfiles_process gitlab-runner.conf
+       [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return
+       elog
+       elog "To use the runner, you need to register it with this command:"
+       elog "# gitlab-runner register"
+       elog "This will also create the configuration file in 
/etc/gitlab-runner/config.toml"
+}

Reply via email to