From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC59D158287 for ; Wed, 14 May 2025 03:42:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CC77B3434E3 for ; Wed, 14 May 2025 03:42:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id CB71411036F; Wed, 14 May 2025 03:42:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C5BA411036F for ; Wed, 14 May 2025 03:42:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C1B73434DE for ; Wed, 14 May 2025 03:42:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B5A1A1E64 for ; Wed, 14 May 2025 03:42:35 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1747194125.3a008c375e8cd9874dbddeeaa36b4c99b4380d9b.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gitlab-runner/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/gitlab-runner/Manifest dev-util/gitlab-runner/gitlab-runner-17.11.1.ebuild X-VCS-Directories: dev-util/gitlab-runner/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 3a008c375e8cd9874dbddeeaa36b4c99b4380d9b X-VCS-Branch: master Date: Wed, 14 May 2025 03:42:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 999e37c0-b802-4eb7-8a9a-90940f8f586e X-Archives-Hash: de327072f72052d3ad368767dbb8232b commit: 3a008c375e8cd9874dbddeeaa36b4c99b4380d9b Author: William Hubbs gentoo org> AuthorDate: Wed May 14 03:42:05 2025 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed May 14 03:42:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a008c37 dev-util/gitlab-runner: add 17.11.1 Signed-off-by: William Hubbs gentoo.org> dev-util/gitlab-runner/Manifest | 2 + .../gitlab-runner/gitlab-runner-17.11.1.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index e2ea073e33a4..bb88a3b930f2 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -2,6 +2,8 @@ DIST gitlab-runner-17.10.1-deps.tar.xz 115915328 BLAKE2B ed453a20e63448ec302ca32 DIST gitlab-runner-17.10.1.tar.bz2 1812706 BLAKE2B cc39c90ed6251dcd6c16ef4de8c940ada15199b7dd4266fb9cbf30ce68e050472fb736c2cd586267ff38921296ab0c0a021481ef4ddd16e9a26759d140215894 SHA512 e2e98809a09bfa25cb54961675cd02a349d6560126b59d6829c8b43d2f622322e647b9912ca40440eff64de9916d44245c4065dfbc2780c0e46de755807584b5 DIST gitlab-runner-17.11.0-deps.tar.xz 116369996 BLAKE2B 8a37fe4e955e75fef30d9f0f8c0d3f15af8eef4c13c495d55a7dd19c7ec2e1a7ac55b84a7bd9897350727acb0ead940445f17d2c3d9e01845a107e88a34b2b89 SHA512 91d506ab8c576e7977c37a54203d691dff6a2a3924aae7ad6595b81b6feab8f4f1893c8127614b0733416b1a7dbaae1d8aac7d0f0c582ac083e4ad63230d32df DIST gitlab-runner-17.11.0.tar.bz2 1873131 BLAKE2B 6a29d5c70219c670e9232131b9f53d40094c914d25d1d62d70e51a5f82dbbae0423f68811f1b2cae6e830e6dd15300092d7672038e1a6f70bf99680766d5ac52 SHA512 82c2f96a4d5c3019466154887ea0fded534a7c6508cc9914b8caf1bed6cf61be57eab1a8fb07f3beb8ba1a8844d9b5f00b6e02fc49698742ec5b67b3450ee6ab +DIST gitlab-runner-17.11.1-deps.tar.xz 114859732 BLAKE2B 52e2bc3aee36699d0a15b208f89b5a0070e01244bcea64aa322b0ce600387b071986fff8c524f9bcb1c0bdebbb68aeb2d94155d7e809b458eda26fc118c66fa9 SHA512 b439b1ba63f7bcc82712c157f46b5991d89c61e15e98383e54edce968601cec69652c2d939dca4fbceca8b9fcf1c3b1c63cf3b78c66c965c253dfafaae2f6125 +DIST gitlab-runner-17.11.1.tar.bz2 1873313 BLAKE2B 5d4bdf3a3c554476efaf15b82941cf037fbb842285b20b667da8cf23fb4f016b6466d68a6819fab66ca9842810310f90cdd22d587e5bf3132d50efb43607c6f8 SHA512 00e6e7b790332fc40a0e8a9efbf807a8751f9d7c158ab837b950dd39d521929fcdef689745d81f1d01a03ac4f1913bdc84fc68d1aaf5e98009699b6d5bc7bebf 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.3-deps.tar.xz 110070696 BLAKE2B 4c2fdf31d190ab3d8023ddce40b608d81d607fc78865f8c5b9c14fcd66126455cfb69077aebefbf82cada2c9ef3de01a035247c6509296d663f36cc6b883beae SHA512 1abb78859ee9d4ee5ee8abfcd9b7d490f0b98980a10c459c3e4fe1e56455616a0d261ec627450c3b7a516c3b2b0bd62018a9ff5d3fb26144b7a6cc095247abbf diff --git a/dev-util/gitlab-runner/gitlab-runner-17.11.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-17.11.1.ebuild new file mode 100644 index 000000000000..fa87de5ac310 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-17.11.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=96856197 + +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" +}