summaryrefslogtreecommitdiff
path: root/dev-util/gitlab-runner
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-26 02:57:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-26 02:57:39 +0100
commit24162508832f37f873ab12dfdfb191cf99318055 (patch)
tree3f9d1bac9025c4a823e0d7f948110aa74857baf8 /dev-util/gitlab-runner
parent26262b314fa723a2e86f4a9b8b344a72eb9c0393 (diff)
gentoo auto-resync : 26:07:2022 - 02:57:39
Diffstat (limited to 'dev-util/gitlab-runner')
-rw-r--r--dev-util/gitlab-runner/Manifest6
-rw-r--r--dev-util/gitlab-runner/gitlab-runner-15.1.1.ebuild67
-rw-r--r--dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild67
3 files changed, 140 insertions, 0 deletions
diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest
index aed72df9a166..d2095de63dcf 100644
--- a/dev-util/gitlab-runner/Manifest
+++ b/dev-util/gitlab-runner/Manifest
@@ -9,7 +9,13 @@ DIST gitlab-runner-15.0.0-deps.tar.xz 142912160 BLAKE2B e38db204edb80c76524f58aa
DIST gitlab-runner-15.0.0.tar.gz 1273838 BLAKE2B ac80f8bdd4a750f86d34e98cefad9d3c4e345d9607669c1205e5fbba28f25a83be27c43850383fd81e8222426ed31c2738a59c22cd5b6b6e60765295e7437f17 SHA512 8ba54e690fc45c1e22d174b649fbe3cf78707fd5a146c738c73cba045e6ac00499ddedd7a5f905c0c7e4e804a533d3fc718f8f7ac3c9ec5581de4dd9b3599c80
DIST gitlab-runner-15.1.0-deps.tar.xz 140961872 BLAKE2B 711d2d7b75ab287216963a3871bfcd755d4b5478a37bffcbc64dbe32b93b2c08ca94b0048847697ed83031fc160d9e36589734ccda36526e67d5b4ae621a644b SHA512 58d23e8d25a8c033b517c8f21e6a24c3c449eb7365ae074c18bbda6d2030cc053371da8d5899319a767c922c5923a9042629fe191ba714c3553eadaeb2756a2d
DIST gitlab-runner-15.1.0.tar.gz 1287049 BLAKE2B 76b1c5b535e328941741e55e460de158bcf54d8fa76bc70eba1eed63e7e892f126cdec992cf34ad4c0227f0ee5ba33ec06cea8ba4efd47bf36a540869f71b706 SHA512 7892b4ccfa5973f20deda365e337b8f70e159a9387b6823eada4b39a0cabcd078af08c9bc45e629aa432f49c72f71df6b04fc1cecb72bc2e9c9cd018fc04299b
+DIST gitlab-runner-15.1.1-deps.tar.xz 140961196 BLAKE2B b3818572b2b5c01c78290572219c9788b0c61091eb4fd28978c08b5c9e11c14cf7b988b036598e93f543f9cd02bb22d1e2aa60ff905891948216943db5e28907 SHA512 fedc9bc87deed3a8cbaac8aa641d7a7175b535dca74d0bddc1b59b796a952a794bcfb456055ec19fc561cab060be9c5a09df322cf52daef7cb8152acb89e26b9
+DIST gitlab-runner-15.1.1.tar.gz 1287440 BLAKE2B 0648132a2de277865d3899e460d0f444a26d3d827ee6efdf90abd195b243f31e138f57ca968c702089245e92763ab3cbb7e997fb8dc409a373689ed4e75016bc SHA512 538fc769e0aed90ffe4df9e2afe81b3c89f0c3d9ad9d48e52f12cde5df3b36326f054c1ab88c3d532cf573cdcd7a6e1733d3041cff133a665db5c91c4b8ddd0c
+DIST gitlab-runner-15.2.0-deps.tar.xz 141451528 BLAKE2B a77b8ca5c1570fc80f2d9f2bf3ebd9291997cd7f017eb1eaefb68d7bdba219d9fd14fb86c313a8c4fdc8169d81488244905d971a9b7c8393000f85253fd69ae2 SHA512 0aca328527b8b769015ea8177e22c8e232dd840b6427bf6e7ae7e0acccdc3cc6630ad10c2bc3fc42729107509fd37eaa5441846aa5f1ce934d68786335b960a4
+DIST gitlab-runner-15.2.0.tar.gz 1291980 BLAKE2B 06194f6dfba94a1d071b3f29f3065475b8a9c08669ee0ec43917340a54dcdf79843f43b3f7fbe2e57560184c58166d7c107ed465742cfff05163faaca7ef491f SHA512 74f6a8941909c189bbde534d1cf5e1b8a60f595fa6046ca98dd4fb3a9f7406f988dfb9b2c2a6c777813fb24e4f5c23975f74163f7d5584b553acc4ca28ec8331
EBUILD gitlab-runner-14.10.1-r1.ebuild 1784 BLAKE2B b636c54c786ebfa4055dcc159c4350ca9cc9de020be99a6b795b56f9f696a611558284b14aa920be4e3fa48d3c7250b815608c4e4d5836b7df4b6e37f94f5a34 SHA512 71a244482be2d8f8d21d874db99a4b38ef9135876eae259a1debd58245fbf0c49afbd087587d686855ec98b7317e4cbbc4ba7ced1375b5949f35ebcfddd2a51b
EBUILD gitlab-runner-15.0.0-r1.ebuild 1784 BLAKE2B dfd874f9aa65ad955c8091f002e71a4357dc5a262018e53e38726d07e4149400abdf6f4ccdd24bfe04a67a1641e77249f678e7ab28ecca5b365cf9f461ea8a2d SHA512 d9c482c77a7b29028400a30259baafd309cf08586e6044061afbc150eb01747dece3a36eab08f714c96751a5d76bed5ec90416b982afe90247ff123278e07b4f
EBUILD gitlab-runner-15.1.0.ebuild 1784 BLAKE2B 6133e7a415764be2d232faf807521c8b12cbc5689e3f1983d3c56f9c0c942c096e28862227d2b775bf96d9e4dfa9e079d5877917124aa1be586cfb3ad29cc08b SHA512 d2d2234d103770ba859d9daf1b63f483584c6fdd6340ad76a997a7b23bcfdbcce2c8cdc2895ca6781bc44c50aed2fc0828dc794d87b391397e804341c3e88aae
+EBUILD gitlab-runner-15.1.1.ebuild 1784 BLAKE2B c17c2a1c0f0e1be690b8a431fb7390b924c5867f8f4943a308975bef90f0b9a393062ab4229c39af026e34271d4792c015ec4ae201a4298b0de3e3c844e688e5 SHA512 f9150a22106f18eccff02ccb5681cb08364c93f6dd3988c7ac9a546711a29728db7cdc2cf611a0763cceaa72078adc12bfd42ddeaf383aa9869562f9874afafd
+EBUILD gitlab-runner-15.2.0.ebuild 1784 BLAKE2B d91ad1c66bceda48667acdf56f3e43074d330cc0b1477d88408c6b1313205d220991bbff1c53162ca17d36cee58d51af701d4e53dd88bcd16ce8e909d7210f99 SHA512 eb26a787d3cd9cb72eae7279f109dd1c0ee683369a4c9eea2f273bc05d203f2a91e509bbfb1a60bdc9348a9dd5ff33d72266701b33ce880b1986a036d78e847e
MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251
diff --git a/dev-util/gitlab-runner/gitlab-runner-15.1.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.1.1.ebuild
new file mode 100644
index 000000000000..39a1d57d7b63
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-15.1.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 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=bfccfab3
+
+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 )
+
+PATCHES=(
+ # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498
+ "${FILESDIR}"/build-for-arm64.patch
+ )
+
+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-15.2.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild
new file mode 100644
index 000000000000..c10a0b580009
--- /dev/null
+++ b/dev-util/gitlab-runner/gitlab-runner-15.2.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 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=7f093137
+
+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 )
+
+PATCHES=(
+ # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498
+ "${FILESDIR}"/build-for-arm64.patch
+ )
+
+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"
+}