From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1485787-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E1B8C15800F for <garchives@archives.gentoo.org>; Sat, 11 Feb 2023 23:14:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAD2FE0894; Sat, 11 Feb 2023 23:14:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 pigeon.gentoo.org (Postfix) with ESMTPS id C10DCE0894 for <gentoo-commits@lists.gentoo.org>; Sat, 11 Feb 2023 23:14:01 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B84FD340CEF for <gentoo-commits@lists.gentoo.org>; Sat, 11 Feb 2023 23:14:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5648688E for <gentoo-commits@lists.gentoo.org>; Sat, 11 Feb 2023 23:13:58 +0000 (UTC) From: "William Hubbs" <williamh@gentoo.org> 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" <williamh@gentoo.org> Message-ID: <1676157211.6e604c460cc33ee543a77520c311f9a246b71768.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-15.7.4.ebuild X-VCS-Directories: dev-util/gitlab-runner/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 6e604c460cc33ee543a77520c311f9a246b71768 X-VCS-Branch: master Date: Sat, 11 Feb 2023 23:13:58 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c11b8f4b-9d81-4f97-b69c-4c27ed6a0968 X-Archives-Hash: 15ee7b812a735190a18a419f87f42708 commit: 6e604c460cc33ee543a77520c311f9a246b71768 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Sat Feb 11 23:12:15 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Sat Feb 11 23:13:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e604c46 dev-util/gitlab-runner: add 15.7.4 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> dev-util/gitlab-runner/Manifest | 2 + dev-util/gitlab-runner/gitlab-runner-15.7.4.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index 838c818ab29d..838964863f11 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -2,5 +2,7 @@ DIST gitlab-runner-15.6.2-deps.tar.xz 160098068 BLAKE2B b312f78c79a2ed47a6d52443 DIST gitlab-runner-15.6.2.tar.bz2 1237158 BLAKE2B 2466e2688626e70cbb46386d9f963c95b1ac3fa6d5dbeeca02917524530588ad69e73cfe54adb1c70de1aa4eaa0599d8f9558fdc72432c87de2d6382ad56f060 SHA512 b9fce864b52ecc49441c4714beb9b6584cd30c1d55d3fea3e188b3154bd33931601111c4c869f354a75f97aeb803c68f8f1a3faa6c0b4d62ba85853f28ccdd25 DIST gitlab-runner-15.7.2-deps.tar.xz 160595944 BLAKE2B e0e942a2bf41b0f9092ff3c8670a0cc2a9dbcd961e89efb802f46c05f4d69c68db3c611ce16cafba4240419077b6021747d2b5f0c625c0a6975282a27c54482d SHA512 97bd14b384f49ec4b9c0e2a38597b86da45897d6a1bb61c0f2abf9e80f0f22aa07d17668599b7be340f3ffca8d340df51d50793d1b971ec1c6a0b798b97c1fec DIST gitlab-runner-15.7.2.tar.bz2 1249827 BLAKE2B 9f83fe67453a086f10d0451637c3195ae6c0440f0606af4fb6b81fa4a019e67d5b916155e1674af9e28ccc52fb2ff6ad4b4783961731fb314c2ba35652648714 SHA512 f5ffd9dfee82cd6d41ab886af995a2479e08c2f5a182a135d84247a7644b2f32cfd77f803266eeebb8c244c4cb0b9cb8a1a7dc5aaef2b181e2b6085dce62d046 +DIST gitlab-runner-15.7.4-deps.tar.xz 160601896 BLAKE2B a208b751544fec8033276b541bb445c2b28100c16c9438113d83d719cae8d2b8a8c61a9a86c98e1b0c221c5be7365ad68ee9b29432df5ea03d1122e62763d022 SHA512 4a0f56348ef13ffe80395fe2887fbc5aca54f1ae620793c96388f69ae6b8c8e09c9e49d6b7524f14f7d93c560bce76678a4c8f74f6f00e0f146d54af7788344f +DIST gitlab-runner-15.7.4.tar.bz2 1250425 BLAKE2B 933aa20c9c4ae0008caf0a63e3cc0b8fb22e34830d2536a54980b484913f8e6dc545539697fb36185d0cb1360660a9162fd5231ef4ef351177062b9b2cd56dc5 SHA512 9db90d39e1c52676165f39e9002da777c2e8c4c38c7f9538579628d858e9e541ee1b2e66156c0b6387d503088ea75084dee82a761733366dbd3db895da80a9e5 DIST gitlab-runner-15.8.0-deps.tar.xz 160683188 BLAKE2B 38a3fe7e527553cc53382338ecb52d2a3c8c94b72b04d0d3dfa01e4b4953c9a73fb71982daa60f6ea735c77c6d18d78f40381fce9d9f261ad3d8d5cab527bdf8 SHA512 3e412e20cbdd76d896e2e3b40fe8558de1eea69fae1649a91c04ec7f16afcdc0611aa033fab49334ccb5fc0a6c4062c3de858f0419b93a8b10896176f2ff58db DIST gitlab-runner-15.8.0.tar.bz2 1256911 BLAKE2B 309f98898a122b82f107e286ef3212e7b3e1345e8ba4486b9e02e10da717ba71b08f2075a2f6ddedf5d64506954f65754410e30bc729f0cf005ad8845912e72b SHA512 4239218aaf53db3020f5eb6edc17014b7d7550093bc9a4b545216eb1f2e155c77418eb2d5cf2ec1c1554664b6763354cd8d5fcb3d3ffbaeb6839b4282be76cdf diff --git a/dev-util/gitlab-runner/gitlab-runner-15.7.4.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.7.4.ebuild new file mode 100644 index 000000000000..1e933732b588 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-15.7.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 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=d7448701 + +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" +}