dev-util/gitlab-runner: drop 16.11.1

Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs
2024-07-11 09:55:47 -05:00
parent 9d1fb0f269
commit b7abe83001
2 changed files with 0 additions and 64 deletions
-2
View File
@@ -1,5 +1,3 @@
DIST gitlab-runner-16.11.1-deps.tar.xz 86847148 BLAKE2B 68520b6ae8a0250ffe134e1bd19360e142c51ec012df026212f80f8c4f23e8bce633451606502cf0af6762489564ff71c4fab5aafc04513695f161d929fa3ec2 SHA512 695f23266ebd82ed6bcf22da6eb41fd69404d929dbc55cc0e2d1f8e01f476d5343d88b9f07198447af2030b48db085ae382e7f627eb685e1c19f99ddaf55b483
DIST gitlab-runner-16.11.1.tar.bz2 1377748 BLAKE2B c2dd939c30f1eccedaaa8d941abceea258a445d4b6c4518231cdc7e1ebc34d61912c5f1fd9e338d482a6ced547e8174dde6938b746334b215c50ee83ba1b8781 SHA512 80ac885a6d04f97c85222e87b4a3aabfa949caa060eae538d873c6b5172cb3de8234f36a9db3daaa5df132de1ac18d6f5c6a5a267cd4448dd87e98bdd393cf25
DIST gitlab-runner-16.11.2-deps.tar.xz 85890592 BLAKE2B f7316c038e5036799e02d1cd42bf39fbc25a02223b022d6cbb988d1072b4cdac3d652aad068531ebdbf46e16349b35b152d56801920aea05cc1bde0af820952d SHA512 bf01403946883ef3d204064bbf776c3372442e56b1404ee26c092f8e031770786d13ea796a11c41782257f6492ae2c78a8792dc8be6bae9f5be211b904e783b4
DIST gitlab-runner-16.11.2.tar.bz2 1378922 BLAKE2B 43e896f0680e834d63ce92a1103796fe651067fec62662a186da307e5279f3d9449a6b04867c09a8bf72a3e4c431727c3145dfba5d405c24b881598cdeaebe3f SHA512 c05e5f398fdd5f80fa13dffc21e820d9ce4d34e3e1186c71c818c9e9da7ffec8c79559d5e875b691e824ca0ee0d7598b0166cf7a68e27136b10bf86195fb701e
DIST gitlab-runner-17.0.0-deps.tar.xz 86841028 BLAKE2B c7952e6028869264ed6d728043074ef5318230db18ea06a5ab740262693f22bd3111c5ad99ca2da2ca57079e3389b5a87a9994635f98fe6670f87df97e158956 SHA512 1c705bacc8eb896b23dee06ed4258c22cb0ba96073725761f2e138d4687efab4a1866e76203c1f7694c8d71995e18ad96d7da333fe88c24aa3454ac5caf4dc63
@@ -1,62 +0,0 @@
# 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=535ced5f
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"
}