From 115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 28 Mar 2023 09:49:11 +0100 Subject: gentoo auto-resync : 28:03:2023 - 09:49:10 --- dev-util/gitlab-runner/Manifest | 6 +-- .../gitlab-runner/gitlab-runner-15.10.0.ebuild | 62 ++++++++++++++++++++++ dev-util/gitlab-runner/gitlab-runner-15.7.4.ebuild | 62 ---------------------- 3 files changed, 65 insertions(+), 65 deletions(-) create mode 100644 dev-util/gitlab-runner/gitlab-runner-15.10.0.ebuild delete mode 100644 dev-util/gitlab-runner/gitlab-runner-15.7.4.ebuild (limited to 'dev-util/gitlab-runner') diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index 07a2333d654e..eba9052e9b11 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -2,13 +2,13 @@ AUX gitlab-runner.confd 688 BLAKE2B 1e99cdca8949a1a085e126c9aa2f23cf15d081087d02 AUX gitlab-runner.initd 1174 BLAKE2B 53b897abb3bc358839843faf56b52d99412c2a08e2e69e1b8258bab907a0da10dedeafd95e6c4e505fd7e8e4d2344dc07b1e693a130fe0d6a3730bf619ee2e75 SHA512 eae2668c5a98a9e111573a2ea193266252e46e073fafd2c101d3a93e65cb9705f78ceab173ca4d3e1c806443345e7f66b7b97c8b644188cf9f86dc4c087d401f AUX gitlab-runner.service 419 BLAKE2B f1a9217eb97d03036eac67569ec6ce6ed91dc2182b20357cf8d17ee0eee01b8d094854b1c76942e0515c2a5923f4d3a1ed044c60b89d8a29c354955f9f666160 SHA512 10cbe1cc0a0b7bb9decde5780bc20caf73892759532df5fc42a7c3b55e141b26957a2986656ac1eb79ce15fd95ee01a184893c22d0dd1ce9117932d0e55ae1b4 AUX gitlab-runner.tmpfile 54 BLAKE2B 4b2849b9c72998409efce207a336dce42d6e9104e72e0071266e03509841bbb5f39ad8e560beb696eee780bfe82efdec5b877120b5606c524d5cd002095e52c4 SHA512 2b5cccd83c8113a8c58011ced9ff5720a5aeaedb8f819c2a71c8fff3b1683ad87b54fa3da67b7e5f91ab35659d2adf5cf792d93ff293eee39924fbb5b9db2d4b -DIST gitlab-runner-15.7.4-deps.tar.xz 160601896 BLAKE2B a208b751544fec8033276b541bb445c2b28100c16c9438113d83d719cae8d2b8a8c61a9a86c98e1b0c221c5be7365ad68ee9b29432df5ea03d1122e62763d022 SHA512 4a0f56348ef13ffe80395fe2887fbc5aca54f1ae620793c96388f69ae6b8c8e09c9e49d6b7524f14f7d93c560bce76678a4c8f74f6f00e0f146d54af7788344f -DIST gitlab-runner-15.7.4.tar.bz2 1250425 BLAKE2B 933aa20c9c4ae0008caf0a63e3cc0b8fb22e34830d2536a54980b484913f8e6dc545539697fb36185d0cb1360660a9162fd5231ef4ef351177062b9b2cd56dc5 SHA512 9db90d39e1c52676165f39e9002da777c2e8c4c38c7f9538579628d858e9e541ee1b2e66156c0b6387d503088ea75084dee82a761733366dbd3db895da80a9e5 +DIST gitlab-runner-15.10.0-deps.tar.xz 161347172 BLAKE2B bd714ccb11bfb7731658d2aa03da92d3ffd92871c00df6b77d0d13ab86c7fa175ccab2f489562a1859c83728838d07b37d95cc2fc60e825dd2e0b86e795e8605 SHA512 17d5d5db1b3507df3ad9979cd99d5c4325a35e17fe470163fc061c99c22b99cc98ac5130d417f12fa476a1131877496490ed9cad8cfb0a9c6a4fe6ddcc6d0288 +DIST gitlab-runner-15.10.0.tar.bz2 1277793 BLAKE2B db238970f26cbc1c5af415d151d575c62589036c98c18db73b70b97475873e5ef0b9fd3cd3353e60988bfaac51e6cda326400b502f5c72c2f113a727510f1811 SHA512 3a79ae09a8e52a759ef0794207da495f70c296281c8956092ebb1def3af37a488897e16d3a7d0d50bc73e72f9b0c5c0c9394eaf295810ab0f498047c5a13f65a DIST gitlab-runner-15.8.3-deps.tar.xz 160672020 BLAKE2B bb0cb16ad7c19afb048c0c1e5d48fc157f25d9a79abc564265152b16e3b436693cc0a0faa02dade584e0b95d9806b491582f8741b2b091798aa6b77a3bf9fadc SHA512 f379f5a514314d6f86fc6ac2dc00b1407e1637709c09555e3828adb7544141224c012cf104e1d47ac67f04c19371536ff338c446c7f69c985e1f67278dbee3c7 DIST gitlab-runner-15.8.3.tar.bz2 1258834 BLAKE2B 84473b3d704f271e286c7cba696132f2d26ec4d5f4944f99b8ad4dd4accd4f9680b36ca5d13432eaff3ce020b57420b40edccb2620b8e246c2020a2c75fca692 SHA512 4b5d659e257d78d84471fe6799367bc50929e1f0356a8a919d248b490aa73b1fb777086a49f777b5d09b10b649e7829439a1ebd517a83ea7c7ccea8c988676d3 DIST gitlab-runner-15.9.1-deps.tar.xz 159144912 BLAKE2B f10167c731371dbf4d61a05d9154a3127e286846fd60e2eb7291a587d707389fdb989526942263e7a7fac2af02fc343e316528ee2f64aaf97a048e83e58521f9 SHA512 ae74bbfa62ac4a7506ec6099fab11bcf66f7b270ccc0a17dde0b226cccdbaf51949bea44f437e97c20e4b60c605060b42e77a36a11fb5eb080d55dcf30ee58d5 DIST gitlab-runner-15.9.1.tar.bz2 1267756 BLAKE2B 1732db4d7d8a3f530654f2897ec665bef87cefbfafc8776ba4b15d327768924d9fef5918a5d31899825e17bba20d04bfd30f6c8cbe834b266cadd0f414cfe840 SHA512 ab82cce1956105046aba8560317e00f3f333669ca7ee305879821bf433485599d2eb206afd8edc04c3b9c3d07eb38dfe335c77ff9a4f431bee5dea0a1d10b9c2 -EBUILD gitlab-runner-15.7.4.ebuild 1679 BLAKE2B 588834d3e7f427eaac4d54c3d9c1bad2ac9465f7f2622ae391df14c99204298d73081b9e35a5e6ecbbdd3e8b296d3ec43af066127e8ed2eed003acd3be044c83 SHA512 fa80fab4a5de208c5c973a6e8addd57b3422466aec5878a1975db4a3ae3f02dddffa8574daa48c5fef2967b5f56233d63fda76076e965c0390d396a028818f36 +EBUILD gitlab-runner-15.10.0.ebuild 1722 BLAKE2B 74f664e44425bdb84542304b7497e75111fe35be513f48f13ffdac2a990473bb3c0a1ff6c05be662c2cdf9abe5b790cce01face1c221420604f0e5534a59985a SHA512 d3b4d4ad2d1cab8748d4c3f825fcb56757b92737e193ad4c48b39d3f57deffb136649772fe9976d05ccfe9eb504e7780a5816c86f3e47267a86a020305ecf9ab EBUILD gitlab-runner-15.8.3.ebuild 1679 BLAKE2B c464e1b243266d889de6c0581f699b020256e85a366eb0cc7aceb75d70bb354a204c84c6e7180b387ddb90a04e60fe5a4a069d48d14fe566f3f7b5d033cb087d SHA512 5944b39f7455b9dd7d0c4f03264bb17be2e362bbb3060e2694f263840066c8f5993b8adb4a51648e276fc86c64ffc3758faf301952234eafcfd392022305a1de EBUILD gitlab-runner-15.9.1.ebuild 1679 BLAKE2B b225f3d51ff0f48c228244647ccc1ec58b6184732b624a25929ad55607840407994828c9a372f4407d1053e8817dbe7df9e7803d522c28b113985efa3b2116ba SHA512 7e17c1d37046d20b49bf2c40d8bd70a8183e7e0f9099dc9e4f8d9ff53aeeb32fed7e84bdf834db91fcd5030689a77643973db966e125d9b7468d43bc84d4289b MISC metadata.xml 338 BLAKE2B dfdcaaee18d3e5492674d3b4055002201342fa4d5b713f88240753002de2bde6244469fe42fe514cb82544d15deacd235cd031dcf71d661a24b26f422c67c392 SHA512 b12a8270df4f07c6b4359150a3b7341d3913a93598153824ec758384758e69667a89de20066735ccc24aea7af07b5c1bdd444fca3193be5402bce5154f90ec79 diff --git a/dev-util/gitlab-runner/gitlab-runner-15.10.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.10.0.ebuild new file mode 100644 index 000000000000..59484ae0a893 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-15.10.0.ebuild @@ -0,0 +1,62 @@ +# 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=456e34824406b57e26b4dec29e9038edc2ac0396 + +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}-${GIT_COMMIT}" + +src_compile() { + emake \ + BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ + GOX="${EPREFIX}/usr/bin/gox" \ + REVISION=${GIT_COMMIT:0:8} \ + 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-15.7.4.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.7.4.ebuild deleted file mode 100644 index 1e933732b588..000000000000 --- a/dev-util/gitlab-runner/gitlab-runner-15.7.4.ebuild +++ /dev/null @@ -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=d7448701 - -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" -} -- cgit v1.2.3