summaryrefslogtreecommitdiff
path: root/dev-util/gitlab-runner
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-22 04:04:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-22 04:04:46 +0100
commita15e8dc7444560123d7d4be1bccb19afd5b611d0 (patch)
tree6e26ee0323c09494a66d0f78c4b81e305bb0d096 /dev-util/gitlab-runner
parent3dc4de6331223493015f198dc61854af604da86c (diff)
gentoo auto-resync : 22:10:2024 - 04:04:46
Diffstat (limited to 'dev-util/gitlab-runner')
-rw-r--r--dev-util/gitlab-runner/Manifest6
-rw-r--r--dev-util/gitlab-runner/gitlab-runner-17.4.1.ebuild62
-rw-r--r--dev-util/gitlab-runner/gitlab-runner-17.5.1.ebuild62
3 files changed, 130 insertions, 0 deletions
diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest
index dec5f04f0611..934a3f462c21 100644
--- a/dev-util/gitlab-runner/Manifest
+++ b/dev-util/gitlab-runner/Manifest
@@ -8,7 +8,13 @@ DIST gitlab-runner-17.2.1-deps.tar.xz 86661500 BLAKE2B 96700ef116677e2fa0d223347
DIST gitlab-runner-17.2.1.tar.bz2 1378845 BLAKE2B 649217da0c358e8db87758c72bd69897b1d9edd0b9e9d92c9a42ce7b39b5fa8bef7a07faf107584d90aae8ce292e0625b2a021294cd9b8cff73c02d086a5cda7 SHA512 3c14643da0884bc6bdf1eebfababb1ffa7d2ecf93ec1b0e708aef143b8a9519bc7d27fb6a3fdf6f6fb5b04511a8f1cfd9622c9c5db4365c879dc30c8a4d59cb6
DIST gitlab-runner-17.3.1-deps.tar.xz 86653516 BLAKE2B e7ac6d3218528f5a33f727a3e27a435fc2cb676e36e952892e656122f9c9e986806a1023ce8b03e4bb07e5829b7595f8ebc8a184456fe5f067745b55d1550a8b SHA512 c28edf4af1e1cb0966eb45e2d1f3b7b0f1312892e20d2cf87321e29eacbdc37b4e6b3d92f02c7b8a4cd0b4f8fc3e85d58f6ce208e4650400547fd093efa84715
DIST gitlab-runner-17.3.1.tar.bz2 1382824 BLAKE2B 58086f5964776ecc08d25c817e4460f5874f4b8def14aaab46f7e94157a2b801f42e0656c13190c3272fb43b3213ac253ed329563cf67e292a57f48d1fd0e7ce SHA512 67be67ed3e3c5136f6adad17c85080d6470f8a7082080fe7026609b42868de454dd1f8aa750087ecf23a02fdd1c2d00d7797638d0f9be070103574ea1a1c491b
+DIST gitlab-runner-17.4.1-deps.tar.xz 104751932 BLAKE2B a4db4d8f739343a5648379d60717ec9df9526f481799dd4e8eb106167ea835a16e13b60d72a96a11d5d6ed9094ab099af82c86f061d8d85ea360d47e663876b7 SHA512 df4fdbdf242e52ca1ec1f54664646c5275561060b30e12c51d6ef41bdba5b8836e0c2a303b17ddead64dd946a9a01d191adbaadbf2f3eee7ebfc5bcda3746406
+DIST gitlab-runner-17.4.1.tar.bz2 1407772 BLAKE2B 9185590409a53b511b12eb562d0765b95c202052fe2bc7c6aac334a298fd0af50cab3118079cfa42eb6ec0f7f767de0dadd036a5a888217f9742d8c5097a92e3 SHA512 be77f5e24aad129845cc0c66b19fe4cf673eb43e5a0b37a146d53a1cc114851340bfd08e23c78b8f9c4372ccee35dd541ac646abfd72906fb16c0d7fcca8e1d9
+DIST gitlab-runner-17.5.1-deps.tar.xz 108461592 BLAKE2B e78fc32c94f469267fb416f1f6d20341c7d06c46b21771ff35c6d46c5959d64d596c348df7f854a52c81bfae8c8ec3cedcecbf155be86ae832c66e3ce15abf45 SHA512 25d55ae1198415b1485a4209d19de034ad13cf25d300e50726cf67f69e27d8db3b02c664a631db3180a2ba192e9927dbba5fb5cdec7cfc35c7f5f56266f23836
+DIST gitlab-runner-17.5.1.tar.bz2 1725228 BLAKE2B 7aceaa08ac654b0e197eeac81828b505e940a0c37c1d47cee375858b650651277c4ce257f60106e845341252dccd9748d1c79fca5cac2cc151e08b9c4736b18c SHA512 f534bb38dfc42dcaa40067956a76680788d926e957f3fbf6bf763547428d0d896a2eb3360ed297c47fe2861d8fa992cf42e77346b552f4ed50fef9bb50f8cf93
EBUILD gitlab-runner-17.1.1.ebuild 1679 BLAKE2B 9390458d7a75295551b2d388fd40d490ed78897b0b39e92f37bb23f0a6b15d637de1fdd17956ba04f52458bf6a5665735967043365a7ef15f457374b16c3823d SHA512 a3436df6f2d3c2a7aaedb93c74527e924252c844cb4ac6afcf6efc5cfdf9a443c6e3a959faef7b48c7115467ff9ecebee2dbbbd520015700b9e2b12b320a1194
EBUILD gitlab-runner-17.2.1.ebuild 1679 BLAKE2B f1bf44ea5b70dbaa63ba5842650f0a73cfe37e0235f48afc411cae9bdef0e985f7f6ce2655b6f10dc83a6eadbccb8149a6d5ec06c2eb4a433356113923279b47 SHA512 656329e01389f97a8a6af6c29da086b866c2f1b20140084321f853e510fe83c45226d3f894fb14605f274db8ea2d88333d2ebff93c46952a8448a291c16c3928
EBUILD gitlab-runner-17.3.1.ebuild 1679 BLAKE2B 84c832ae8e4dbec721fead3ac4765f6007df518062ef8309cbf42b8351ac5cc453cd28f70954d36ca8f60314e37ea272f351785d76fbd8284f1d28fb9463f19e SHA512 e1893ae44e0d9cd5f1af1f87dbb29dc48f1c280f7bc20976e799d03d5df3a4433320e0cd9502d40ea861a0a872833183044672ae00cd3dc18f339dec61195629
+EBUILD gitlab-runner-17.4.1.ebuild 1679 BLAKE2B 042a2efb4afa27f7e6d0908a1d68d013b385a100676e6f3e95c328171fd0e7e01deaa390f21fc16b101af664f5dd3351c0df5a34fdcdb3bb96e85c3d74a380d6 SHA512 aecdb3ad218367ddd27d493ae2ccc80fdfbbadef6f121b2a822b16b1292c4e4dc7bfe8dd76668d499659bec6f35960027118488efe51a6e9b9a4924dfe03470c
+EBUILD gitlab-runner-17.5.1.ebuild 1679 BLAKE2B 620a8708bdce0272d324acd9c3c37e3847d1b3b4339b25227761a90d808b68630a23b357548a785ebc120de0aa8703f5eb934ab0534077455debd62bbe42eca6 SHA512 3c5375ee6b792d7cdfb1790885718584f4466d108ab0057d7cb164aff578fd8ecf1d78cc1fea78f7d9cd8b38d3289fdbe33f2718f33e064048042e96794f30f8
MISC metadata.xml 338 BLAKE2B dfdcaaee18d3e5492674d3b4055002201342fa4d5b713f88240753002de2bde6244469fe42fe514cb82544d15deacd235cd031dcf71d661a24b26f422c67c392 SHA512 b12a8270df4f07c6b4359150a3b7341d3913a93598153824ec758384758e69667a89de20066735ccc24aea7af07b5c1bdd444fca3193be5402bce5154f90ec79
diff --git a/dev-util/gitlab-runner/gitlab-runner-17.4.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-17.4.1.ebuild
new file mode 100644
index 000000000000..b18cf6e1bed9
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-17.4.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 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=32fe5502
+
+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"
+
+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 )
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+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() {
+ dobin out/binaries/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.5.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-17.5.1.ebuild
new file mode 100644
index 000000000000..f8a323beb701
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-17.5.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 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=affd9e7d
+
+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"
+
+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 )
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+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() {
+ dobin out/binaries/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"
+}