summaryrefslogtreecommitdiff
path: root/dev-util/gitlab-runner
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-03 01:56:56 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-03 01:56:56 +0000
commit104a2857092fea8d195d33810535ab44ac273ba8 (patch)
tree02e2a8bf63785f19266c3f5c2db6fb0c5b0ef463 /dev-util/gitlab-runner
parent49955454c1c6f0c30ab17d37abd921ee4aba0383 (diff)
gentoo auto-resync : 03:01:2024 - 01:56:56
Diffstat (limited to 'dev-util/gitlab-runner')
-rw-r--r--dev-util/gitlab-runner/Manifest3
-rw-r--r--dev-util/gitlab-runner/gitlab-runner-16.7.0.ebuild62
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest
index 371932b0c861..6f0089e3596d 100644
--- a/dev-util/gitlab-runner/Manifest
+++ b/dev-util/gitlab-runner/Manifest
@@ -8,7 +8,10 @@ DIST gitlab-runner-16.5.0-deps.tar.xz 218830692 BLAKE2B 91f1b48239f8da19c93f5b9e
DIST gitlab-runner-16.5.0.tar.bz2 1373002 BLAKE2B 25ac77ffa71a633cad2b99211acf68595a3ee293f5af3e7cd813ec5a9b70a252413ed99d3b354ef713fb08b9dfeb140e7daa7a3cfd168d4af270034147657dac SHA512 59f03814a44d53c573b336f3eff9d1d273bc6b601e86cc58ca91778705a7897c999bd30e92361aa9294a91596505ca2950d56ad9cc64db7aa40a204ab4a4173d
DIST gitlab-runner-16.6.1-deps.tar.xz 223030236 BLAKE2B 76866243ed71a907b0eb8d9991243683be45c7e426c2ba53f556ebb868ef42a6523d5eb421fdffe2ce0ec290f5d8a19db9e5690eec52b4bdb8a7e819ded11939 SHA512 907464fd819d1f331f8f19be5c6fcf64838f3d7ad2d27586d2799642ef3ea94c2860caca8d4dc1b11404b664e3e7201e8becf99fd1895c8a7ab548ce4d4ea65b
DIST gitlab-runner-16.6.1.tar.bz2 1335597 BLAKE2B 5432b008c38e0ce4f6d9026f82f964a2b929b81165d5694b05d740e5db3d561e7856842dec1d0bd17595832a6321f5d060da6e1be0f12da6a66608226089af97 SHA512 14a30a276c46b43b7b5b6a766eb287beecb434a2c6cadaababdd6de0b265f23de2dc3b8387f8110889cf3cca70ad95bffcbfed7cf0d5543604ee3aebc4cad579
+DIST gitlab-runner-16.7.0-deps.tar.xz 236174584 BLAKE2B 54372f6f817fdbcb208924c563c07300911cde664035f50f0324785cadbacaa353cdb532045f4b41a6b026f80fc440f8756260d7524094e6e777835db5388d89 SHA512 95c32c55a6bde15db4ea9c82cb76952f4b51b98a6b3e02047e51ae9510e1d9189248d44545f665c7db588e26c58f20c6ef13c7692376a07c4afcf98cf96eae26
+DIST gitlab-runner-16.7.0.tar.bz2 1349700 BLAKE2B 3371e91a8881b9b0f9ada5ed05509db2b8052e4570aeabe7555474450897815ebd7bd81cbc979e75cd871f1d61ded0670ebcf91890b2a57de0b7c771698f6739 SHA512 21f1ecdf181dd7d62d92709e2efd9a9373e0c7a807ddba035becdc8b98b8f2a18bc3ac21f23af3c060e8b3e650b81c213c93068345f19789df904837fd00e4d5
EBUILD gitlab-runner-16.4.2.ebuild 1679 BLAKE2B 5adad30ce3b1953bad8bc9ab5ab5a09e60f65fcc55b535f2f59b237cda84937a771edeee723481e12832816fde72339be4d91e0b274eb14cbcdc0e76ec392cbb SHA512 231a4136d008a94f1e453c78c22a4f313a072d8840a26d45d7727bfc68564a939a39c7a6483591ce94f8bac73e0f0bd4a9796d8364c06cac85ac4d40e072b1d3
EBUILD gitlab-runner-16.5.0.ebuild 1679 BLAKE2B c3922fd79181a2507c5a30aac3f1dda41035d8e13fba2a3da8e721ba3a13b44a32cd7ddd6d9e37c8359f07c92e65b97357929c9e17a233f4e391378c4c62c463 SHA512 1272ab8e54e3f210a05282eb55eea050dcbe78611990eab3f8a164d28811f66b62ad90e170975d27de6ecf006312fe61ae3f1e084e6826b1bde1c61941d33852
EBUILD gitlab-runner-16.6.1.ebuild 1679 BLAKE2B 5e5cffac508bd7590482ad3e6c203e343e1c83a46d83cc90290020e384e715066756a6e4b5d679d3c76f31f3d70defde3e8aaf564686b33fc8ea843eadc80f19 SHA512 93692ca4173745e792981bf6fadc127aa6363580f4a185cc1a83ab59dbbf555b8e3c21598e541ce53eb361a44290994f738dc0d16f00f88f2070604bfc0cf63e
+EBUILD gitlab-runner-16.7.0.ebuild 1679 BLAKE2B a52a347e8564f9463c2e55f8c63479e6da6ef477bcc8ebd6509f62423517cade211099350a3649a205f5794f3c35a39bea3c3d1149ba48044d9ccb4be1af80a4 SHA512 76cf1f0141a2e363a46eb53cfb4cf834af30b7b8a92c9c7c00314ade7f013646341248de491df37823aeb04408f41b5f6ae8d249e6f391b88286962d920174ac
MISC metadata.xml 338 BLAKE2B dfdcaaee18d3e5492674d3b4055002201342fa4d5b713f88240753002de2bde6244469fe42fe514cb82544d15deacd235cd031dcf71d661a24b26f422c67c392 SHA512 b12a8270df4f07c6b4359150a3b7341d3913a93598153824ec758384758e69667a89de20066735ccc24aea7af07b5c1bdd444fca3193be5402bce5154f90ec79
diff --git a/dev-util/gitlab-runner/gitlab-runner-16.7.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.7.0.ebuild
new file mode 100644
index 000000000000..7bf43b214f04
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-16.7.0.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=102c81ba
+
+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"
+}