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: Mon, 25 Jul 2022 22:52:51 +0000 (UTC) [thread overview]
Message-ID: <1658789566.2ffb7038f358a23ec942e2299acbe92bcf3a9dc8.williamh@gentoo> (raw)
commit: 2ffb7038f358a23ec942e2299acbe92bcf3a9dc8
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 22:51:13 2022 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 22:52:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ffb7038
dev-util/gitlab-runner: add 15.2.0
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
dev-util/gitlab-runner/Manifest | 2 +
dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild | 67 ++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest
index 146be42f1d05..c9b6186e9b31 100644
--- a/dev-util/gitlab-runner/Manifest
+++ b/dev-util/gitlab-runner/Manifest
@@ -6,3 +6,5 @@ DIST gitlab-runner-15.1.0-deps.tar.xz 140961872 BLAKE2B 711d2d7b75ab287216963a38
DIST gitlab-runner-15.1.0.tar.gz 1287049 BLAKE2B 76b1c5b535e328941741e55e460de158bcf54d8fa76bc70eba1eed63e7e892f126cdec992cf34ad4c0227f0ee5ba33ec06cea8ba4efd47bf36a540869f71b706 SHA512 7892b4ccfa5973f20deda365e337b8f70e159a9387b6823eada4b39a0cabcd078af08c9bc45e629aa432f49c72f71df6b04fc1cecb72bc2e9c9cd018fc04299b
DIST gitlab-runner-15.1.1-deps.tar.xz 140961196 BLAKE2B b3818572b2b5c01c78290572219c9788b0c61091eb4fd28978c08b5c9e11c14cf7b988b036598e93f543f9cd02bb22d1e2aa60ff905891948216943db5e28907 SHA512 fedc9bc87deed3a8cbaac8aa641d7a7175b535dca74d0bddc1b59b796a952a794bcfb456055ec19fc561cab060be9c5a09df322cf52daef7cb8152acb89e26b9
DIST gitlab-runner-15.1.1.tar.gz 1287440 BLAKE2B 0648132a2de277865d3899e460d0f444a26d3d827ee6efdf90abd195b243f31e138f57ca968c702089245e92763ab3cbb7e997fb8dc409a373689ed4e75016bc SHA512 538fc769e0aed90ffe4df9e2afe81b3c89f0c3d9ad9d48e52f12cde5df3b36326f054c1ab88c3d532cf573cdcd7a6e1733d3041cff133a665db5c91c4b8ddd0c
+DIST gitlab-runner-15.2.0-deps.tar.xz 141451528 BLAKE2B a77b8ca5c1570fc80f2d9f2bf3ebd9291997cd7f017eb1eaefb68d7bdba219d9fd14fb86c313a8c4fdc8169d81488244905d971a9b7c8393000f85253fd69ae2 SHA512 0aca328527b8b769015ea8177e22c8e232dd840b6427bf6e7ae7e0acccdc3cc6630ad10c2bc3fc42729107509fd37eaa5441846aa5f1ce934d68786335b960a4
+DIST gitlab-runner-15.2.0.tar.gz 1291980 BLAKE2B 06194f6dfba94a1d071b3f29f3065475b8a9c08669ee0ec43917340a54dcdf79843f43b3f7fbe2e57560184c58166d7c107ed465742cfff05163faaca7ef491f SHA512 74f6a8941909c189bbde534d1cf5e1b8a60f595fa6046ca98dd4fb3a9f7406f988dfb9b2c2a6c777813fb24e4f5c23975f74163f7d5584b553acc4ca28ec8331
diff --git a/dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild
new file mode 100644
index 000000000000..c10a0b580009
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 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=7f093137
+
+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.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+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 )
+
+PATCHES=(
+ # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498
+ "${FILESDIR}"/build-for-arm64.patch
+ )
+
+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}
+ fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN}
+ fperms 0700 /{etc,var/log}/gitlab-runner
+}
+
+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"
+}
next reply other threads:[~2022-07-25 22:52 UTC|newest]
Thread overview: 105+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-25 22:52 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-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-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=1658789566.2ffb7038f358a23ec942e2299acbe92bcf3a9dc8.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