diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-22 17:40:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-22 17:40:31 +0000 |
commit | c794e18e3eef5414856f70733e3a62479ce78c33 (patch) | |
tree | d7d4d67bf428ac02cd0c5614757c13a70b53d710 /dev-util/gitlab-runner | |
parent | 8ef9b8c62c1aa79c0bceaf3c0d6fe1e7cdd976d0 (diff) |
gentoo auto-resync : 22:02:2024 - 17:40:30
Diffstat (limited to 'dev-util/gitlab-runner')
-rw-r--r-- | dev-util/gitlab-runner/Manifest | 6 | ||||
-rw-r--r-- | dev-util/gitlab-runner/gitlab-runner-16.8.1.ebuild | 62 | ||||
-rw-r--r-- | dev-util/gitlab-runner/gitlab-runner-16.9.0.ebuild | 62 |
3 files changed, 130 insertions, 0 deletions
diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index 99320f57deb2..b7ed4c10e04f 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -10,8 +10,14 @@ DIST gitlab-runner-16.7.0-deps.tar.xz 236174584 BLAKE2B 54372f6f817fdbcb208924c5 DIST gitlab-runner-16.7.0.tar.bz2 1349700 BLAKE2B 3371e91a8881b9b0f9ada5ed05509db2b8052e4570aeabe7555474450897815ebd7bd81cbc979e75cd871f1d61ded0670ebcf91890b2a57de0b7c771698f6739 SHA512 21f1ecdf181dd7d62d92709e2efd9a9373e0c7a807ddba035becdc8b98b8f2a18bc3ac21f23af3c060e8b3e650b81c213c93068345f19789df904837fd00e4d5 DIST gitlab-runner-16.8.0-deps.tar.xz 236205192 BLAKE2B f9cd36f0bc0514e5bc20b17b4df7fd35e6e435a66569172935a0590ed354f3aec0c8f570f085ee7105ddabde8dc307a32770638cb26cf36aa6cb16810f43cd4b SHA512 6eb4713703a15e129111f5ae11620600e175ca8063435daee6d87b961f43d44f672393ff5c28734837d7dabcbd69257e1e787dfb47bfa32d326db01ecb988611 DIST gitlab-runner-16.8.0.tar.bz2 1351894 BLAKE2B a2179c5d728895574d24471ec4de7bb02aa8c07b256e5c3ad90777652af9d44d9951cec4b153a232c24388461184061e23b75a4813a6987fee03823c692d51ce SHA512 5822a097ff9d03540b89d809a5851a4b1e55e193499e23af20a259c07cf4840b4db2edc6616113d40cf35ed1cd94a8db04178ad55b94a6b42e2f9c7a306c672d +DIST gitlab-runner-16.8.1-deps.tar.xz 236213628 BLAKE2B b270aa8f285c1c568c303832b1600b50425e2e5b94f18a53ac1cd4afe35e2279fc81c3ac0ad671959f8833d0b55d2e9057e4f8222f274a5224af0440b876b75f SHA512 2c7fa171624d05617777b442d3fd4870e1180231df5f34005b388de5d0f3ead2297599f45a5d7ad05d84abf054507263d96c673cb3f3e3ff5a734891a2771727 +DIST gitlab-runner-16.8.1.tar.bz2 1352201 BLAKE2B 931bb25d5aabae58af4c1808b5540ebe5bef49ee0fb663036e1faede8322bf3e8760419841aa7937db16d3145d2b9143f2da1b7783df5408697383763f709810 SHA512 054fcd54760e20e9ddb781876bc5bf8b491100495232ef5d54a0f4ce232b5eda603b6bec4b59143ccd17991416472746c0d5e563e7550f72c22ca28a3cc08535 +DIST gitlab-runner-16.9.0-deps.tar.xz 236216888 BLAKE2B 206c9caf281b0527494cebc98f85e01060367a295632328b405f184bbe15b1381be69c6f2076d70f7e1a9461ec98a836a71fe0f380bafbae68857bd09d62a1bd SHA512 46edb66d2a1c42187ac89ecd7f7b2b8db366ac75a5ebeda9a716f970dd21e8df526ef70f7f24652ed69a103b97b4b0ac8e98e816cb606abec275449d54ca66c1 +DIST gitlab-runner-16.9.0.tar.bz2 1361920 BLAKE2B 8dafc277531d441f6f55477221b8ef1b5c8a207697c438a1e647bcb034d557e66de270afb18ae01c829f25e0dd8b2bacd5aceb830b461cb65698f03ad51cca87 SHA512 442682b14e8166147bf13e07320b6440d078be19ee6da9b313aa12b1373eef07bd831cadb47aea6f637a1db8cd361177f05732bcf9e122b8a44bcf5263abff27 EBUILD gitlab-runner-16.5.0.ebuild 1679 BLAKE2B c3922fd79181a2507c5a30aac3f1dda41035d8e13fba2a3da8e721ba3a13b44a32cd7ddd6d9e37c8359f07c92e65b97357929c9e17a233f4e391378c4c62c463 SHA512 1272ab8e54e3f210a05282eb55eea050dcbe78611990eab3f8a164d28811f66b62ad90e170975d27de6ecf006312fe61ae3f1e084e6826b1bde1c61941d33852 EBUILD gitlab-runner-16.6.1.ebuild 1679 BLAKE2B 5e5cffac508bd7590482ad3e6c203e343e1c83a46d83cc90290020e384e715066756a6e4b5d679d3c76f31f3d70defde3e8aaf564686b33fc8ea843eadc80f19 SHA512 93692ca4173745e792981bf6fadc127aa6363580f4a185cc1a83ab59dbbf555b8e3c21598e541ce53eb361a44290994f738dc0d16f00f88f2070604bfc0cf63e EBUILD gitlab-runner-16.7.0.ebuild 1679 BLAKE2B a52a347e8564f9463c2e55f8c63479e6da6ef477bcc8ebd6509f62423517cade211099350a3649a205f5794f3c35a39bea3c3d1149ba48044d9ccb4be1af80a4 SHA512 76cf1f0141a2e363a46eb53cfb4cf834af30b7b8a92c9c7c00314ade7f013646341248de491df37823aeb04408f41b5f6ae8d249e6f391b88286962d920174ac EBUILD gitlab-runner-16.8.0.ebuild 1679 BLAKE2B 387784e1b92b51d0cc79a48d74eeeb29fb2a3a3774ece44758e93d3fbdf93ce66bed419f6a1d7dae116069c25645a1be35e5dd7b10673f2198048296a6c5d380 SHA512 276b75cd935d43daa44bd0bc0cd21009abe7ddcf0b74fb89669a2f25e7e339197612b9366e0e1bc213c49a03538df3a6efec70251510a905b722d735976a97db +EBUILD gitlab-runner-16.8.1.ebuild 1679 BLAKE2B 4065297b0d377f9028553a43d84e7b2e88d2c61be9858c6b721f3fbc2149110d648f89d2cedc07f43ae8b3d3ac57d3f884fd341bee1931a578f599fce4ebe7f0 SHA512 283dfbbd64f6ccb76d3c475642a14ea899e874c4e1e9c8f45ce9e09947ce5ab2717baba75c7b74580684c69ff801b60fc595591d4fe2d80ebf8e638bb3ea2ae0 +EBUILD gitlab-runner-16.9.0.ebuild 1679 BLAKE2B 6333ba275501876851568517ab143c281fa9c6bef8b4f45a2fd4d9f720d0f815274fc6fdb40f71cf97be3afbdce0cfbc7790f18fed1aeea4fcb028089b7811d2 SHA512 7ea677937cafe89eff444f862b0bd1395d43c2857307b17bbab8940bc9dbafba795dd39846d734a2bb2a69cdc7e77bbf98d2383b62f90e5e0184fc7a59897bd8 MISC metadata.xml 338 BLAKE2B dfdcaaee18d3e5492674d3b4055002201342fa4d5b713f88240753002de2bde6244469fe42fe514cb82544d15deacd235cd031dcf71d661a24b26f422c67c392 SHA512 b12a8270df4f07c6b4359150a3b7341d3913a93598153824ec758384758e69667a89de20066735ccc24aea7af07b5c1bdd444fca3193be5402bce5154f90ec79 diff --git a/dev-util/gitlab-runner/gitlab-runner-16.8.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.8.1.ebuild new file mode 100644 index 000000000000..a7da295b3eed --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-16.8.1.ebuild @@ -0,0 +1,62 @@ +# 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=a6097117 + +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" +} diff --git a/dev-util/gitlab-runner/gitlab-runner-16.9.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.9.0.ebuild new file mode 100644 index 000000000000..dfb58886f388 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-16.9.0.ebuild @@ -0,0 +1,62 @@ +# 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=656c1943 + +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" +} |