dev-util/forgejo-runner: treeclean

This commit is contained in:
Guillaume Castagnino 2024-02-23 21:08:18 +01:00
parent f20fb37a71
commit 6b314de99d
Signed by: casta
SSH Key Fingerprint: SHA256:PtJi7zHrXiSWdLApi+BdpmmbITeLq6cI7LZtgsuAtyk
4 changed files with 0 additions and 74 deletions

View File

@ -1,4 +0,0 @@
AUX forgejo-runner.service 384 BLAKE2B 94d35eb0c03ac173d20e4d4bd0f276d3b8b7c469321ba79406703e652cc00b30bf223707c5c1410b8e7a4b5120594910c901e050ab27cf6aa18801b6cbd13e7f SHA512 a2e390482591f048d4a3998ba383ebb80c57cb8370e82038545033e4ee7e694dd3d4c964007cf9aafde85488b1d55c103f3d3cb2c4066f45b0783d2db763e5eb
DIST forgejo-runner-3.2.0.tar.gz 56889 BLAKE2B 34725246bfcb93c59377b928095ee8bf8d9d9a4cdaaeaa395e8666773cdebc3abe5819eaadeaa08a2f6812054a722d507d201271d92e20c073431841b94573df SHA512 5f7914debab04fb1e39ac46adc912e603d77437cc6b795c45062d17ab7b7b4df96c19e5fe78b82c11da41a4ff8f3d233b870dc6aa6d9a5105b8460b2ff2669ae
EBUILD forgejo-runner-3.2.0.ebuild 1011 BLAKE2B d004578e574a30c4b75a3a0b65dc44f8744abaaf32140393309de809e5df21c07dcb23fcf598aa702227525e366e9e011ec30d97a3df8c4e9294aaff3ccd734f SHA512 ff95920cc5bd730e88eda0ee4068a731a19bedbddd23be8ceef903664a0a39c04d93e207959f0d7a163d62fc5134145c37ddf305b902a43ee70e09306e7db97b
MISC metadata.xml 253 BLAKE2B ac50d70479526513b1c60d14e609cc24c0498bc5124837f8d20b5d5989cc3876c3e4878ac177658f4be088dd5731142eaefff3ec5aac963efe756eabc5ed26c1 SHA512 96696bc7a2e0f4c1447a44241c7aec867015c37f73f958b72b8489a5038b551f1700dc5540651129a19ab29ce58c4be88bea1226f31b846fb285a25ba4cd61e9

View File

@ -1,18 +0,0 @@
[Unit]
Description=Forgejo Runner service
After=network.target
ConditionFileIsExecutable=/usr/bin/forgejo-runner
[Service]
StartLimitInterval=5
StartLimitBurst=10
WorkingDirectory=/var/lib/gitlab-runner
ExecStart=/usr/bin/forgejo-runner daemon
Restart=always
RestartSec=120
SyslogIdentifier=forgejo-runner
User=gitlab-runner
Group=gitlab-runner
[Install]
WantedBy=multi-user.target

View File

@ -1,44 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module systemd
DESCRIPTION="Forgejo actions runner"
HOMEPAGE="https://code.forgejo.org/forgejo/runner"
SRC_URI="https://code.forgejo.org/forgejo/runner/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/runner"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="pie"
DEPEND="
acct-group/gitlab-runner
acct-user/gitlab-runner
app-containers/docker
"
RDEPEND="${DEPEND}"
src_compile() {
LDFLAGS="-extldflags \"${LDFLAGS}\""
if use pie ; then
GOFLAGS+="-buildmode=pie"
fi
emake build
}
src_install() {
dobin forgejo-runner
systemd_newunit "${FILESDIR}"/forgejo-runner.service forgejo-runner.service
}
pkg_postinst() {
einfo "To register the daemon, please do it in the gitlab-runner working directory"
einfo "cd /var/lib/gitlab-runner/"
einfo "sudo -u gitlab-runner forgejo-runner register --name myrunner --no-interactive --instance http://{XXX}:3000 --token {TOKEN}"
}

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>casta@xwing.info</email>
<name>Guillaume Castagnino</name>
</maintainer>
</pkgmetadata>