Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gitlab-runner/
Date: Thu, 01 Dec 2022 01:37:37
Message-Id: 1669858642.8a45d7567af6e50e9560a49088dd1cbb1e6813de.williamh@gentoo
1 commit: 8a45d7567af6e50e9560a49088dd1cbb1e6813de
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 01:37:22 2022 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 01:37:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a45d756
7
8 dev-util/gitlab-runner: drop 15.3.1
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 dev-util/gitlab-runner/Manifest | 2 -
13 dev-util/gitlab-runner/gitlab-runner-15.3.1.ebuild | 67 ----------------------
14 2 files changed, 69 deletions(-)
15
16 diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest
17 index 5e4d0b0ab54f..a3b8d8fefde4 100644
18 --- a/dev-util/gitlab-runner/Manifest
19 +++ b/dev-util/gitlab-runner/Manifest
20 @@ -1,5 +1,3 @@
21 -DIST gitlab-runner-15.3.1-deps.tar.xz 141247556 BLAKE2B 8ea8e519efabfe54ff2a70477e713285a80889e6f001adae7263626db4086112964dcde328662a96c3c92d251e294fed6cd8023772f74be650a63f7d7fd2bd58 SHA512 047b4b3ac5e4fb6d493b5ae51219bcd60b056265a146d4001299ccaee491e5b6b0da8a3f1f84d4d44ae0e726b732c69d59851735283c78ddd6456ab9a7a87d49
22 -DIST gitlab-runner-15.3.1.tar.gz 1306831 BLAKE2B 032115edb7b0ae23d4f4083e542aa645e4f76fea04a63c5d3018080314081c82b2250d292b26b507101b627314d9142b0109f33fa8289a583010a5d692a6c1cd SHA512 62e543983e184c2e57189042f8281696e0428841890aef8779fce125041dbbd0626807491e5ae589e367f6b725fb93e663d94da3a051e2a9ec681b959c4bd85f
23 DIST gitlab-runner-15.4.1-deps.tar.xz 138998168 BLAKE2B cee390b7955ee98eccffca6e878492f8c2de39d0ed4f4366ee9f0cc3fd016c625153dbe3b79d2cc6cf1e3a301f6ba8c2ad6a40b29d71408494a36788f07ba601 SHA512 c143883330b7a03ed4b77d49bded4423a44ef53ef8597294c99f067401c1ebe92ae69f8c8820181634b76e070d76304212ae1bcd957a7cbbee2167cca4dcfd64
24 DIST gitlab-runner-15.4.1.tar.gz 1310885 BLAKE2B 9ba470444f7ba2db8be6044548dc9d7ee1ef8f50e63b0bc1ec2ba65ab9b5d035c5bc3a3bb50c4bf0d5acfa1329fe06fe9769f847aaa73c61ff116123f637e3f9 SHA512 1334c1d3fc830f49a0977cd43045105d013658361d55c807a99a2b36bd2b9dc4f3410185f13264a50a7cc13ab97d2191ec4a4daf45c10b24b42375dd6a2f6d13
25 DIST gitlab-runner-15.5.1-deps.tar.xz 151906516 BLAKE2B 50dced95fd72259d31d0dd6513ddc6aa1001c5ca83a1a7b33028a9bc163c553e2bcd80dff32443813bb85f8d215b8ae73c8f75f0cfedeb6062cd6824f0415f04 SHA512 a74673d48de86e337b936b60a35820621f35e6a70087ebf59a8641c6f3f1d5e1ba7d0e3156815d8204c3dbcd349f5e903be4501f566e419f5ca46382cebbf15f
26
27 diff --git a/dev-util/gitlab-runner/gitlab-runner-15.3.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.3.1.ebuild
28 deleted file mode 100644
29 index 2da005840004..000000000000
30 --- a/dev-util/gitlab-runner/gitlab-runner-15.3.1.ebuild
31 +++ /dev/null
32 @@ -1,67 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -inherit go-module systemd tmpfiles
38 -
39 -# make sure this gets updated for every bump
40 -GIT_COMMIT=447840fe
41 -
42 -DESCRIPTION="The official GitLab Runner, written in Go"
43 -HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner"
44 -SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
45 -SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -KEYWORDS="amd64 ~ppc64"
50 -
51 -COMMON_DEPEND="acct-group/gitlab-runner
52 - acct-user/gitlab-runner"
53 -DEPEND="${COMMON_DEPEND}"
54 -RDEPEND="${COMMON_DEPEND}"
55 -BDEPEND="dev-go/gox"
56 -
57 -DOCS=( docs CHANGELOG.md README.md config.toml.example )
58 -
59 -PATCHES=(
60 - # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498
61 - "${FILESDIR}"/build-for-arm64.patch
62 - )
63 -
64 -S="${WORKDIR}/${PN}-v${PV}"
65 -
66 -src_compile() {
67 - emake \
68 - BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \
69 - GOX="${EPREFIX}/usr/bin/gox" \
70 - REVISION=${GIT_COMMIT} \
71 - VERSION=${PV} \
72 - runner-bin-host
73 -}
74 -
75 -src_test() {
76 - CI=0 ego test
77 -}
78 -
79 -src_install() {
80 - dobin out/binaries/gitlab-runner
81 - einstalldocs
82 -
83 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
84 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
85 - systemd_dounit "${FILESDIR}/${PN}.service"
86 - newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf
87 - keepdir /{etc,var/log}/${PN}
88 - fperms 0700 /{etc,var/log}/gitlab-runner
89 - fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN}
90 -}
91 -
92 -pkg_postinst() {
93 - tmpfiles_process gitlab-runner.conf
94 - [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return
95 - elog
96 - elog "To use the runner, you need to register it with this command:"
97 - elog "# gitlab-runner register"
98 - elog "This will also create the configuration file in /etc/gitlab-runner/config.toml"
99 -}