public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gitlab-runner/
Date: Wed, 26 Jun 2024 14:54:51 +0000 (UTC)	[thread overview]
Message-ID: <1719413684.228e7d2bb1b464665b1d34826db03c7f3dea0849.williamh@gentoo> (raw)

commit:     228e7d2bb1b464665b1d34826db03c7f3dea0849
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 14:54:23 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 14:54:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228e7d2b

dev-util/gitlab-runner: add 17.1.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-util/gitlab-runner/Manifest                    |  2 +
 dev-util/gitlab-runner/gitlab-runner-17.1.0.ebuild | 62 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest
index cf2a7f64c9b1..ca7e6b029117 100644
--- a/dev-util/gitlab-runner/Manifest
+++ b/dev-util/gitlab-runner/Manifest
@@ -4,3 +4,5 @@ DIST gitlab-runner-16.11.1-deps.tar.xz 86847148 BLAKE2B 68520b6ae8a0250ffe134e1b
 DIST gitlab-runner-16.11.1.tar.bz2 1377748 BLAKE2B c2dd939c30f1eccedaaa8d941abceea258a445d4b6c4518231cdc7e1ebc34d61912c5f1fd9e338d482a6ced547e8174dde6938b746334b215c50ee83ba1b8781 SHA512 80ac885a6d04f97c85222e87b4a3aabfa949caa060eae538d873c6b5172cb3de8234f36a9db3daaa5df132de1ac18d6f5c6a5a267cd4448dd87e98bdd393cf25
 DIST gitlab-runner-17.0.0-deps.tar.xz 86841028 BLAKE2B c7952e6028869264ed6d728043074ef5318230db18ea06a5ab740262693f22bd3111c5ad99ca2da2ca57079e3389b5a87a9994635f98fe6670f87df97e158956 SHA512 1c705bacc8eb896b23dee06ed4258c22cb0ba96073725761f2e138d4687efab4a1866e76203c1f7694c8d71995e18ad96d7da333fe88c24aa3454ac5caf4dc63
 DIST gitlab-runner-17.0.0.tar.bz2 1370211 BLAKE2B 756972b3d28d0a90ab517ecd014ccba42255dfaeb09b5e755f7395c064705273193d9a4efcbf2f1dfa8d54a9c1ed2192dcd5d3258c70aa514056df725f37322f SHA512 2cc67aa8ca43583bc60ca4d752423760b612f1a741203b0a7f0cd2fc77c292bd3a4c31f252c353a28d112d753ca920c1e8f9a401e79ac90c4eeeaf1d588ee09c
+DIST gitlab-runner-17.1.0-deps.tar.xz 86656984 BLAKE2B 7766a3764d8ba17e3943f16a63e2af9705a23080bed23f30c813f07c4ce71057665682d6221790ff767848fefe258ffb796866d1a4e2a693faea1edd55945a30 SHA512 d2b8df673f8ab6a0380bbf3604d71fd963894f5bf55ba91c8755f827654b8b1fd394401c2654a78684dab022ac6f356befbfd862282a1a503422553ce8bd76fc
+DIST gitlab-runner-17.1.0.tar.bz2 1372603 BLAKE2B 1600fbc4ec5eb2b7190424f9f2877e1938bad33b683fefd750e541f72e6d9ee4bf05c1c65de030c9022211333bbfce768bbd96ab750c46153c491d301ec63c6f SHA512 1904bac24b5f9b7bdbd18c7a7c32e875bbfb1017c34441e83a9970624a48c8bbeb3a59f926303ae3a2a28586107f29a5849bee0f17acb8dfdb6e2f7ae904c3b9

diff --git a/dev-util/gitlab-runner/gitlab-runner-17.1.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-17.1.0.ebuild
new file mode 100644
index 000000000000..e7ae3dd55714
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-17.1.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=fe451d5a
+
+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"
+}


             reply	other threads:[~2024-06-26 14:54 UTC|newest]

Thread overview: 126+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-26 14:54 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-02 19:57 [gentoo-commits] repo/gentoo:master commit in: dev-util/gitlab-runner/ William Hubbs
2025-04-02 19:55 William Hubbs
2025-03-19 21:53 William Hubbs
2025-03-11 23:16 William Hubbs
2025-03-11 23:13 William Hubbs
2025-02-06 17:33 William Hubbs
2025-01-23  4:12 William Hubbs
2025-01-23  4:12 William Hubbs
2025-01-23  4:12 William Hubbs
2025-01-15 14:38 William Hubbs
2025-01-15 14:11 William Hubbs
2025-01-14 16:36 William Hubbs
2025-01-14 16:36 William Hubbs
2025-01-14 16:36 William Hubbs
2025-01-14 16:36 William Hubbs
2024-12-06 22:31 William Hubbs
2024-12-06 22:31 William Hubbs
2024-12-06 22:29 William Hubbs
2024-12-06 22:27 William Hubbs
2024-12-06 22:27 William Hubbs
2024-12-06 22:27 William Hubbs
2024-10-21 18:01 William Hubbs
2024-10-21 18:01 William Hubbs
2024-09-03 20:11 William Hubbs
2024-09-03 20:11 William Hubbs
2024-08-17  2:13 William Hubbs
2024-08-17  2:10 William Hubbs
2024-08-16 22:58 William Hubbs
2024-07-31  4:07 William Hubbs
2024-07-31  4:07 William Hubbs
2024-07-31  2:56 William Hubbs
2024-07-31  2:54 William Hubbs
2024-07-11 14:56 William Hubbs
2024-07-11 14:56 William Hubbs
2024-07-11 14:47 William Hubbs
2024-07-11 14:47 William Hubbs
2024-06-26 14:55 William Hubbs
2024-05-20 22:33 William Hubbs
2024-05-20 22:30 William Hubbs
2024-04-08 19:32 William Hubbs
2024-04-08 19:31 William Hubbs
2024-03-13 18:23 William Hubbs
2024-03-13 18:23 William Hubbs
2024-03-12 14:56 William Hubbs
2024-03-12 14:52 William Hubbs
2024-02-22 15:45 William Hubbs
2024-01-26 15:43 William Hubbs
2024-01-09 18:44 William Hubbs
2024-01-02 22:37 William Hubbs
2023-11-30  0:07 William Hubbs
2023-11-30  0:07 William Hubbs
2023-11-16 21:49 William Hubbs
2023-11-16 21:49 William Hubbs
2023-10-26 20:44 William Hubbs
2023-10-26 20:44 William Hubbs
2023-10-26 20:44 William Hubbs
2023-10-26 20:44 William Hubbs
2023-10-26 19:55 William Hubbs
2023-10-26 19:55 William Hubbs
2023-10-13 16:30 William Hubbs
2023-10-13 16:27 William Hubbs
2023-10-13 16:27 William Hubbs
2023-09-25 21:33 William Hubbs
2023-09-25 21:33 William Hubbs
2023-09-21 21:31 William Hubbs
2023-09-21 21:30 William Hubbs
2023-08-22 16:58 William Hubbs
2023-08-22 16:58 William Hubbs
2023-07-27 19:26 William Hubbs
2023-07-27 19:26 William Hubbs
2023-07-10 22:22 William Hubbs
2023-07-10 22:22 William Hubbs
2023-06-11  2:04 William Hubbs
2023-06-11  2:04 William Hubbs
2023-06-11  2:04 William Hubbs
2023-05-30 20:59 William Hubbs
2023-05-30 14:42 William Hubbs
2023-05-02 14:44 William Hubbs
2023-05-02 14:43 William Hubbs
2023-04-06 20:26 William Hubbs
2023-04-06 20:24 William Hubbs
2023-03-28  4:52 William Hubbs
2023-03-28  4:51 William Hubbs
2023-02-25 20:05 William Hubbs
2023-02-25 20:05 William Hubbs
2023-02-11 23:15 William Hubbs
2023-02-11 23:13 William Hubbs
2023-02-11 23:13 William Hubbs
2023-01-23 18:16 William Hubbs
2023-01-23 18:16 William Hubbs
2023-01-18  3:14 William Hubbs
2023-01-18  3:14 William Hubbs
2023-01-01  5:32 William Hubbs
2022-12-01  1:37 William Hubbs
2022-12-01  1:37 William Hubbs
2022-12-01  0:09 William Hubbs
2022-11-15 19:53 William Hubbs
2022-11-15 19:52 William Hubbs
2022-11-08 18:31 William Hubbs
2022-11-08 18:05 William Hubbs
2022-11-08 18:05 William Hubbs
2022-11-07 21:50 William Hubbs
2022-10-28  2:19 Yixun Lan
2022-10-28  2:19 Yixun Lan
2022-10-26 16:28 William Hubbs
2022-10-26 16:25 William Hubbs
2022-09-24 19:20 William Hubbs
2022-09-24 19:09 William Hubbs
2022-09-24 19:09 William Hubbs
2022-09-14 19:22 Arthur Zamarin
2022-08-21  1:24 William Hubbs
2022-08-04  2:33 William Hubbs
2022-07-25 22:52 William Hubbs
2022-07-25 22:52 William Hubbs
2022-06-22  7:05 Michał Górny
2022-06-21 17:40 William Hubbs
2022-06-21 17:40 William Hubbs
2022-06-21 17:24 William Hubbs
2022-05-24 20:11 William Hubbs
2022-05-17 20:59 William Hubbs
2022-05-11 16:45 William Hubbs
2022-05-11 16:45 William Hubbs
2022-04-21 18:52 William Hubbs
2022-03-31 16:58 William Hubbs
2022-03-28 13:43 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1719413684.228e7d2bb1b464665b1d34826db03c7f3dea0849.williamh@gentoo \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox