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 BB4C91582EF for ; Tue, 11 Mar 2025 23:13:11 +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 9C941343138 for ; Tue, 11 Mar 2025 23:13:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 8E1E211037F; Tue, 11 Mar 2025 23:13:10 +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 82D9211037F for ; Tue, 11 Mar 2025 23:13:10 +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 20790343138 for ; Tue, 11 Mar 2025 23:13:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 55FC8288D for ; Tue, 11 Mar 2025 23:13:08 +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: <1741734781.91a117f1bc8c4946b9eb4a16d2c6bf37359d633d.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.9.1.ebuild X-VCS-Directories: dev-util/gitlab-runner/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 91a117f1bc8c4946b9eb4a16d2c6bf37359d633d X-VCS-Branch: master Date: Tue, 11 Mar 2025 23:13:08 +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: f5207eaf-759c-4f15-b6c0-1c09e5524b8a X-Archives-Hash: d93249cb6b48ab12b3f9f4aebb633a3d commit: 91a117f1bc8c4946b9eb4a16d2c6bf37359d633d Author: William Hubbs gentoo org> AuthorDate: Tue Mar 11 23:12:41 2025 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Mar 11 23:13:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a117f1 dev-util/gitlab-runner: add 17.9.1 Signed-off-by: William Hubbs gentoo.org> dev-util/gitlab-runner/Manifest | 2 + dev-util/gitlab-runner/gitlab-runner-17.9.1.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index 7e72bb88c5ac..cafec72342ab 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -8,3 +8,5 @@ DIST gitlab-runner-17.8.2-deps.tar.xz 111056812 BLAKE2B cd128a90a363d67bf27d6497 DIST gitlab-runner-17.8.2.tar.bz2 1751213 BLAKE2B e43cac58039c48a902ff0819084e39909561d0dca982bc3825720b114a5dc16f6e84e3d5c0e3d311b99ce27618085e6f2de0e33df28b1b5e4050cbd19412bc32 SHA512 9e4df1cd735d9e6245dda4273cae908a563666679a08e1d03c9bb26e4b49453cec4310040f846e03823d78fbc25955440ab2ee314affdd0c8a80162313985ee8 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.9.1-deps.tar.xz 110086112 BLAKE2B ecc28024da70114e1106a361bd94263e473e1f4eef394b495338ff9eae71d23ce215c8df88e7c442e89e45b34b72ffa15e6b19fdb5f2708ea24e1fdcdb669f6b SHA512 59247fb84d7466b820640dbc0a9d79a872c58295088d489bb6778b30a85dab30e52a211463f52e94e70773da7b430f012e2b359b3761bfb2cb9c3fd5ebd146ec +DIST gitlab-runner-17.9.1.tar.bz2 1784302 BLAKE2B b75f44e79358647e4456cae93348ccaa4039909417cdf97cc754e19300059b4aaf9ae8c7b5344a0b79b66cf39295f2836e52ddff28a5d86ea61420a3b0f9127d SHA512 6c40c3f60b007b01aafe4e2b5d0930e401be3ad781480c6db5fa3dfb986ab135b7d25d86eb45a69a8551349a1bcd446e53ac9744fd97aca50e1af2b490532d08 diff --git a/dev-util/gitlab-runner/gitlab-runner-17.9.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-17.9.1.ebuild new file mode 100644 index 000000000000..5d8df79a1037 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-17.9.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=bbf75488 + +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" +}