dev-util/gitlab-runner: drop 16.4.2

Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs
2024-01-09 12:02:15 -06:00
parent bc12c32214
commit 0f08d6ea6c
2 changed files with 0 additions and 64 deletions

View File

@@ -1,5 +1,3 @@
DIST gitlab-runner-16.4.2-deps.tar.xz 218831500 BLAKE2B e639c446aafd9095e07a6dd64b50e99035b42a9b16caec081ff9fc449df81b044afd57819bc320fcf050ff2b25be8d70aa56def7fdae29676f946b145a9b25a1 SHA512 28480ca7bf6b0c8abf655181530464baabc706513d5dd5bb0c58a6b2bc70ce4190eee3d568873e44fc256e523b27ef28f38af0ff16aa1f8f5b1828c44895d722
DIST gitlab-runner-16.4.2.tar.bz2 1371196 BLAKE2B 9ff9073fa69a4a04b59d9e3274eec9c86817fd198f3b3ab877352869eb5d5bb0f1aab69fd9500d9f87ac3ca4def9b6d286d82905be4e48014fa902f29dc9c6b5 SHA512 59817206b4d654ec27512fd0713d7d2a879ca4cd6e1abe46e0314c90db49795316f8b6d196f9b5bf11d9ff04efd16f8d580131a39ac20cc21ed4c3bc83e9d5b9
DIST gitlab-runner-16.5.0-deps.tar.xz 218830692 BLAKE2B 91f1b48239f8da19c93f5b9ec3ba30a1fceb0d17f72395dc85cbbd2a584845977044b920ea19b1d01df62f90cfc86cfcd354e0c3d49b7dba8e216f8cbeae057c SHA512 3d07800019ef800d5db79d7f8696c4fbfb3ffebbe4c9367e0af02d2abcf56e5d09f837b6fdb29e12eb5a04b9a48c00fc0a6e8e955b1fe91c6bc87d0e8c33f2d6
DIST gitlab-runner-16.5.0.tar.bz2 1373002 BLAKE2B 25ac77ffa71a633cad2b99211acf68595a3ee293f5af3e7cd813ec5a9b70a252413ed99d3b354ef713fb08b9dfeb140e7daa7a3cfd168d4af270034147657dac SHA512 59f03814a44d53c573b336f3eff9d1d273bc6b601e86cc58ca91778705a7897c999bd30e92361aa9294a91596505ca2950d56ad9cc64db7aa40a204ab4a4173d
DIST gitlab-runner-16.6.1-deps.tar.xz 223030236 BLAKE2B 76866243ed71a907b0eb8d9991243683be45c7e426c2ba53f556ebb868ef42a6523d5eb421fdffe2ce0ec290f5d8a19db9e5690eec52b4bdb8a7e819ded11939 SHA512 907464fd819d1f331f8f19be5c6fcf64838f3d7ad2d27586d2799642ef3ea94c2860caca8d4dc1b11404b664e3e7201e8becf99fd1895c8a7ab548ce4d4ea65b

View File

@@ -1,62 +0,0 @@
# Copyright 1999-2023 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=e77af703
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"
}