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: Thu, 22 Feb 2024 15:45:31 +0000 (UTC)	[thread overview]
Message-ID: <1708616724.a81d4c676e8f887299fcc65dd79b26d5cad21d84.williamh@gentoo> (raw)

commit:     a81d4c676e8f887299fcc65dd79b26d5cad21d84
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 22 15:45:01 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Feb 22 15:45:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81d4c67

dev-util/gitlab-runner: add 16.8.1, 16.9.0

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

 dev-util/gitlab-runner/Manifest                    |  4 ++
 dev-util/gitlab-runner/gitlab-runner-16.8.1.ebuild | 62 ++++++++++++++++++++++
 dev-util/gitlab-runner/gitlab-runner-16.9.0.ebuild | 62 ++++++++++++++++++++++
 3 files changed, 128 insertions(+)

diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest
index bae19e6fcb41..bbd8f186331e 100644
--- a/dev-util/gitlab-runner/Manifest
+++ b/dev-util/gitlab-runner/Manifest
@@ -6,3 +6,7 @@ DIST gitlab-runner-16.7.0-deps.tar.xz 236174584 BLAKE2B 54372f6f817fdbcb208924c5
 DIST gitlab-runner-16.7.0.tar.bz2 1349700 BLAKE2B 3371e91a8881b9b0f9ada5ed05509db2b8052e4570aeabe7555474450897815ebd7bd81cbc979e75cd871f1d61ded0670ebcf91890b2a57de0b7c771698f6739 SHA512 21f1ecdf181dd7d62d92709e2efd9a9373e0c7a807ddba035becdc8b98b8f2a18bc3ac21f23af3c060e8b3e650b81c213c93068345f19789df904837fd00e4d5
 DIST gitlab-runner-16.8.0-deps.tar.xz 236205192 BLAKE2B f9cd36f0bc0514e5bc20b17b4df7fd35e6e435a66569172935a0590ed354f3aec0c8f570f085ee7105ddabde8dc307a32770638cb26cf36aa6cb16810f43cd4b SHA512 6eb4713703a15e129111f5ae11620600e175ca8063435daee6d87b961f43d44f672393ff5c28734837d7dabcbd69257e1e787dfb47bfa32d326db01ecb988611
 DIST gitlab-runner-16.8.0.tar.bz2 1351894 BLAKE2B a2179c5d728895574d24471ec4de7bb02aa8c07b256e5c3ad90777652af9d44d9951cec4b153a232c24388461184061e23b75a4813a6987fee03823c692d51ce SHA512 5822a097ff9d03540b89d809a5851a4b1e55e193499e23af20a259c07cf4840b4db2edc6616113d40cf35ed1cd94a8db04178ad55b94a6b42e2f9c7a306c672d
+DIST gitlab-runner-16.8.1-deps.tar.xz 236213628 BLAKE2B b270aa8f285c1c568c303832b1600b50425e2e5b94f18a53ac1cd4afe35e2279fc81c3ac0ad671959f8833d0b55d2e9057e4f8222f274a5224af0440b876b75f SHA512 2c7fa171624d05617777b442d3fd4870e1180231df5f34005b388de5d0f3ead2297599f45a5d7ad05d84abf054507263d96c673cb3f3e3ff5a734891a2771727
+DIST gitlab-runner-16.8.1.tar.bz2 1352201 BLAKE2B 931bb25d5aabae58af4c1808b5540ebe5bef49ee0fb663036e1faede8322bf3e8760419841aa7937db16d3145d2b9143f2da1b7783df5408697383763f709810 SHA512 054fcd54760e20e9ddb781876bc5bf8b491100495232ef5d54a0f4ce232b5eda603b6bec4b59143ccd17991416472746c0d5e563e7550f72c22ca28a3cc08535
+DIST gitlab-runner-16.9.0-deps.tar.xz 236216888 BLAKE2B 206c9caf281b0527494cebc98f85e01060367a295632328b405f184bbe15b1381be69c6f2076d70f7e1a9461ec98a836a71fe0f380bafbae68857bd09d62a1bd SHA512 46edb66d2a1c42187ac89ecd7f7b2b8db366ac75a5ebeda9a716f970dd21e8df526ef70f7f24652ed69a103b97b4b0ac8e98e816cb606abec275449d54ca66c1
+DIST gitlab-runner-16.9.0.tar.bz2 1361920 BLAKE2B 8dafc277531d441f6f55477221b8ef1b5c8a207697c438a1e647bcb034d557e66de270afb18ae01c829f25e0dd8b2bacd5aceb830b461cb65698f03ad51cca87 SHA512 442682b14e8166147bf13e07320b6440d078be19ee6da9b313aa12b1373eef07bd831cadb47aea6f637a1db8cd361177f05732bcf9e122b8a44bcf5263abff27

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

diff --git a/dev-util/gitlab-runner/gitlab-runner-16.9.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.9.0.ebuild
new file mode 100644
index 000000000000..dfb58886f388
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-16.9.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=656c1943
+
+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-02-22 15:45 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-22 15:45 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-21 18:01 [gentoo-commits] repo/gentoo:master commit in: dev-util/gitlab-runner/ 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-06-26 14:54 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-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=1708616724.a81d4c676e8f887299fcc65dd79b26d5cad21d84.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