diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-03 06:53:19 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-03 06:53:19 +0000 |
| commit | 219097d618bb3c2c0aa0fef4aa4d6ecb83467bf4 (patch) | |
| tree | 68ce4dfac0bb149d08271bbb778059eef1b707e5 /dev-util/gitlab-runner/gitlab-runner-17.7.1.ebuild | |
| parent | ebb8080f7e5f3c2e8c31e6e02ebcf953b31f7dfa (diff) | |
| download | srcux-219097d618bb3c2c0aa0fef4aa4d6ecb83467bf4.tar.gz srcux-219097d618bb3c2c0aa0fef4aa4d6ecb83467bf4.tar.xz srcux-219097d618bb3c2c0aa0fef4aa4d6ecb83467bf4.zip | |
Adding metadata
Diffstat (limited to 'dev-util/gitlab-runner/gitlab-runner-17.7.1.ebuild')
| -rw-r--r-- | dev-util/gitlab-runner/gitlab-runner-17.7.1.ebuild | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/dev-util/gitlab-runner/gitlab-runner-17.7.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-17.7.1.ebuild deleted file mode 100644 index af733ea3b9ca..000000000000 --- a/dev-util/gitlab-runner/gitlab-runner-17.7.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2025 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=6669abcf - -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" - -S="${WORKDIR}/${PN}-v${PV}" - -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 ) - -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" -} |
