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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C0401584F2 for ; Wed, 19 Mar 2025 21:53:37 +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 24EA034313A for ; Wed, 19 Mar 2025 21:53:37 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 1B44A11037F; Wed, 19 Mar 2025 21:53:36 +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 1156711037F for ; Wed, 19 Mar 2025 21:53:36 +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 B5E0034313A for ; Wed, 19 Mar 2025 21:53:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EA262058 for ; Wed, 19 Mar 2025 21:53:34 +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: <1742421206.3dc045b607238a5706cdd5a53e54baed5a765b4b.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.10.0.ebuild X-VCS-Directories: dev-util/gitlab-runner/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 3dc045b607238a5706cdd5a53e54baed5a765b4b X-VCS-Branch: master Date: Wed, 19 Mar 2025 21:53:34 +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: 8a0d3260-5134-4138-a29b-0f2d063d5b2c X-Archives-Hash: d7a891fc183e1e22c226e6e3ad218de2 commit: 3dc045b607238a5706cdd5a53e54baed5a765b4b Author: William Hubbs gentoo org> AuthorDate: Wed Mar 19 21:53:10 2025 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Mar 19 21:53:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dc045b6 dev-util/gitlab-runner: add 17.10.0 Signed-off-by: William Hubbs gentoo.org> dev-util/gitlab-runner/Manifest | 2 + .../gitlab-runner/gitlab-runner-17.10.0.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index 62b4515518c3..a03fa20fa656 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -1,3 +1,5 @@ +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.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 diff --git a/dev-util/gitlab-runner/gitlab-runner-17.10.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-17.10.0.ebuild new file mode 100644 index 000000000000..e5ae618eb502 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-17.10.0.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=67b2b2db + +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" +}