From 752d6256e5204b958b0ef7905675a940b5e9172f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 May 2022 16:42:50 +0300 Subject: gentoo resync : 12.05.2022 --- dev-util/gitlab-runner/Manifest | 11 +++- .../gitlab-runner/gitlab-runner-14.10.0.ebuild | 60 ++++++++++++++++++++++ .../gitlab-runner/gitlab-runner-14.10.1.ebuild | 60 ++++++++++++++++++++++ dev-util/gitlab-runner/gitlab-runner-14.9.2.ebuild | 60 ++++++++++++++++++++++ dev-util/gitlab-runner/metadata.xml | 2 +- 5 files changed, 191 insertions(+), 2 deletions(-) create mode 100644 dev-util/gitlab-runner/gitlab-runner-14.10.0.ebuild create mode 100644 dev-util/gitlab-runner/gitlab-runner-14.10.1.ebuild create mode 100644 dev-util/gitlab-runner/gitlab-runner-14.9.2.ebuild (limited to 'dev-util/gitlab-runner') diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index bca674e75ba0..229befb76f4b 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -2,7 +2,16 @@ AUX gitlab-runner.confd 688 BLAKE2B 1e99cdca8949a1a085e126c9aa2f23cf15d081087d02 AUX gitlab-runner.initd 1174 BLAKE2B 53b897abb3bc358839843faf56b52d99412c2a08e2e69e1b8258bab907a0da10dedeafd95e6c4e505fd7e8e4d2344dc07b1e693a130fe0d6a3730bf619ee2e75 SHA512 eae2668c5a98a9e111573a2ea193266252e46e073fafd2c101d3a93e65cb9705f78ceab173ca4d3e1c806443345e7f66b7b97c8b644188cf9f86dc4c087d401f AUX gitlab-runner.service 476 BLAKE2B ef171fac56e60f72f0bd62e9869fb60160b71a13a0a36c2bd3bd68d70199d65a55744d41fb49ae493d53bc5df7669884249dc75f3437dc2d0e04a111bf303982 SHA512 65e3afc5376146154b713257fc2d9064a63419440f0767dab06a478de5d86c6f0bfe4978a1f78ba07f239f7eb59c389c9fd0248252c727bcc27605e8930925c3 AUX gitlab-runner.tmpfile 54 BLAKE2B 4b2849b9c72998409efce207a336dce42d6e9104e72e0071266e03509841bbb5f39ad8e560beb696eee780bfe82efdec5b877120b5606c524d5cd002095e52c4 SHA512 2b5cccd83c8113a8c58011ced9ff5720a5aeaedb8f819c2a71c8fff3b1683ad87b54fa3da67b7e5f91ab35659d2adf5cf792d93ff293eee39924fbb5b9db2d4b +DIST gitlab-runner-14.10.0-deps.tar.xz 142897024 BLAKE2B 353b209e62b87edd7f684c2b936446468e49d5124f93fffe32e7b30fb78e6d9f28ed19c25458fde5f4d45148ef18c4fad785120c50c4c847632371854310ba9f SHA512 49ff9f0c09fb7eb4ea4657babc2e1fdff08f0818f941d5cf926807a3f4912f573c8d54f45fd3d1c180a9e669c5ab5bca5d607fbd520c974c936711bd448527ec +DIST gitlab-runner-14.10.0.tar.gz 1265438 BLAKE2B fbbb1378c8263ac476f6a33eeb0be37676a3d29eb6330b49659edcf87456a5893203e4f371ba6647fe6ee1bad42d78ebff6b4ad93c2266b38da99d27783eaaee SHA512 01836f3a45196596cffb5c160493881995649169649c8d2b4096a44b7286384098040124f62092c8b50d7a2b69c9cd436f2e83d5ab86a1c205fcc9494977e114 +DIST gitlab-runner-14.10.1-deps.tar.xz 142897024 BLAKE2B 353b209e62b87edd7f684c2b936446468e49d5124f93fffe32e7b30fb78e6d9f28ed19c25458fde5f4d45148ef18c4fad785120c50c4c847632371854310ba9f SHA512 49ff9f0c09fb7eb4ea4657babc2e1fdff08f0818f941d5cf926807a3f4912f573c8d54f45fd3d1c180a9e669c5ab5bca5d607fbd520c974c936711bd448527ec +DIST gitlab-runner-14.10.1.tar.gz 1265690 BLAKE2B c455c08f1530b4fa6d63d74736adeb7cfb76c5f4f56577e2c22ba64630c88a3b0933fd0e3fbcf173d7263f6150bd77491fa091c5c8a4821dabf4bfee24928a52 SHA512 5b3a6b1b13569a9f24206f078bd864689fc6cf9c7f249b3fc5adb36e9c59bc6b53f218a7e31aab8537f188500f072a8e73ad9422e03e2eb44c21521c903044a1 DIST gitlab-runner-14.9.1-deps.tar.xz 142907928 BLAKE2B fb61c7b03d3dd63196bb4de0042a3c65035a3fc132435d7844635bb968a6bfe43e05fca053bfa96ba22cc9fd601d533857bffdf8bd734e90e86fefce8091da34 SHA512 d077cc1220ad33196655e578937c910c7b368eef57bb96d385eac0957e5f8902bb3720b1614f3179753929f25589a8d1d543bcb61d4cf5972bf4ada96a4056d8 DIST gitlab-runner-14.9.1.tar.gz 1259997 BLAKE2B a4694198630fb2cc47ad4e9fe36b366ae695d8a4618e755b9ff12b608d5d8266614cc649b0e63bca125919ebe8dd40859fc7804cd8bb40ed391a54d6ae65a325 SHA512 ec804f3a4982414d52a4f3b5ff1560c5342a3650f1bb3edefa211a3810b17e202263abc67bfcd4423fe88b5acd501da1d23f3980a078800ab25932625ff75bc5 +DIST gitlab-runner-14.9.2-deps.tar.xz 142907928 BLAKE2B fb61c7b03d3dd63196bb4de0042a3c65035a3fc132435d7844635bb968a6bfe43e05fca053bfa96ba22cc9fd601d533857bffdf8bd734e90e86fefce8091da34 SHA512 d077cc1220ad33196655e578937c910c7b368eef57bb96d385eac0957e5f8902bb3720b1614f3179753929f25589a8d1d543bcb61d4cf5972bf4ada96a4056d8 +DIST gitlab-runner-14.9.2.tar.gz 1260233 BLAKE2B 9632c01ce05375ccec038392c978eedb66287e48263347b73194d4cadab122822bdf6c1b5cdec324501c636e4fe68e65623aeae42b1d8bb34f38281142367da1 SHA512 2f3e5c729bd443fd4943c6521762155fd7b7848d3a64634947be5e8b8e31dd19765502d5abb604b872e1e1fc1fa35e05d49075122f7edeed82760ae53970de32 +EBUILD gitlab-runner-14.10.0.ebuild 1619 BLAKE2B 955e7e4f79c9a2ed09460ea5cef0e13685e3ff242d1445687c6d004c06268b1e3df6325a05eebf74a31ae2f9201d179a93ff2c2a387a73c154fab21e3181a2cf SHA512 6d168ec5986076359bdfc907e0a3edd7d9e5126bbce9f401ccbb2d5c92e70e87435e62292e2df17d738c7f508d59152291e93b8c1dbf19bb2e4813211f576e43 +EBUILD gitlab-runner-14.10.1.ebuild 1619 BLAKE2B 955e7e4f79c9a2ed09460ea5cef0e13685e3ff242d1445687c6d004c06268b1e3df6325a05eebf74a31ae2f9201d179a93ff2c2a387a73c154fab21e3181a2cf SHA512 6d168ec5986076359bdfc907e0a3edd7d9e5126bbce9f401ccbb2d5c92e70e87435e62292e2df17d738c7f508d59152291e93b8c1dbf19bb2e4813211f576e43 EBUILD gitlab-runner-14.9.1-r1.ebuild 1618 BLAKE2B 5e21b60f1b9981a4f5c5382ad7d92a53659563ca3f7a168ab0f3c66e0f957f462f953ab2dd1a8922fa9ab9894a5d79f6cd780d26410023e5affa8c74c96daf90 SHA512 f5472f6a5181269073aafdc4c42587ca3461785d4aa0da669100634f93514d039b220f033135bdca52c8438a84d5b5c387c1f765ca8deaf269b9457b0b987acd -MISC metadata.xml 376 BLAKE2B e75ba9851f2c9d80fe068897972ad9f2097434de89757faf594b02eac474767838dd1e596ecf7008aea59688bcca1d4f7354f92a13768a5831a17659611c1317 SHA512 da7660e0889127de58b9e866126ac461385bb86f2847cce3f9f3f92fd4d39d6c99c5f77b106f12e89b1aa2c3d851bb49858ca05c1fb9e56dc9e7ac98b71fc672 +EBUILD gitlab-runner-14.9.2.ebuild 1618 BLAKE2B 5e21b60f1b9981a4f5c5382ad7d92a53659563ca3f7a168ab0f3c66e0f957f462f953ab2dd1a8922fa9ab9894a5d79f6cd780d26410023e5affa8c74c96daf90 SHA512 f5472f6a5181269073aafdc4c42587ca3461785d4aa0da669100634f93514d039b220f033135bdca52c8438a84d5b5c387c1f765ca8deaf269b9457b0b987acd +MISC metadata.xml 377 BLAKE2B 652ad9b7653992b1b9951db7c5ad09e40f332bddcc58aa969f431e76227191c683b2aab69a85f0ec30addc3bb1109c208279d91398a89782a85c138b0a4459b2 SHA512 ba0bf69f6dbe4bc2ecf0fe9eef52cbd39194d970dbc627c0bbb6abdb4fa43c53ed7a93187d73c1463c648e80734984625f5372100d5c358d72a319f1acfbe97c diff --git a/dev-util/gitlab-runner/gitlab-runner-14.10.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-14.10.0.ebuild new file mode 100644 index 000000000000..d91c8bf83913 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-14.10.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles +GIT_COMMIT=c6bb62f6a + +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.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +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} + fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} + fperms 0700 /{etc,var/log}/gitlab-runner +} + +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-14.10.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-14.10.1.ebuild new file mode 100644 index 000000000000..d91c8bf83913 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-14.10.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles +GIT_COMMIT=c6bb62f6a + +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.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +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} + fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} + fperms 0700 /{etc,var/log}/gitlab-runner +} + +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-14.9.2.ebuild b/dev-util/gitlab-runner/gitlab-runner-14.9.2.ebuild new file mode 100644 index 000000000000..1ad7cc8d7ccd --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-14.9.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles +GIT_COMMIT=bd40e3da + +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.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +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} + fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} + fperms 0700 /{etc,var/log}/gitlab-runner +} + +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/metadata.xml b/dev-util/gitlab-runner/metadata.xml index 1b9e74b5f096..f741d80d3b6a 100644 --- a/dev-util/gitlab-runner/metadata.xml +++ b/dev-util/gitlab-runner/metadata.xml @@ -1,5 +1,5 @@ - + williamh@gentoo.org -- cgit v1.2.3