From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA36B138D6A for ; Mon, 24 Oct 2016 23:22:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D06ABE0B9C; Mon, 24 Oct 2016 23:22:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7393E0B9C for ; Mon, 24 Oct 2016 23:22:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F5E33416BC for ; Mon, 24 Oct 2016 23:22:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81B6033D for ; Mon, 24 Oct 2016 23:22:22 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1477351332.1d64b9f3dbcd77f8264563606bb13d83281494c8.mrueg@gentoo> Subject: [gentoo-commits] dev/mrueg:master commit in: dev-util/gitlab-ci-multi-runner/ X-VCS-Repository: dev/mrueg X-VCS-Files: dev-util/gitlab-ci-multi-runner/Manifest dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.7.0.ebuild X-VCS-Directories: dev-util/gitlab-ci-multi-runner/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 1d64b9f3dbcd77f8264563606bb13d83281494c8 X-VCS-Branch: master Date: Mon, 24 Oct 2016 23:22:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d2c87515-8387-46e0-b667-ba86dbf0a625 X-Archives-Hash: 4b816ca29cd4ed4adfa3a629e39e27a4 commit: 1d64b9f3dbcd77f8264563606bb13d83281494c8 Author: Manuel Rüger gentoo org> AuthorDate: Mon Oct 24 23:22:12 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Mon Oct 24 23:22:12 2016 +0000 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=1d64b9f3 dev-util/gitlab-ci-multi-runner: Version bump to 1.7.0 Package-Manager: portage-2.3.2 dev-util/gitlab-ci-multi-runner/Manifest | 3 ++ .../gitlab-ci-multi-runner-1.7.0.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-util/gitlab-ci-multi-runner/Manifest b/dev-util/gitlab-ci-multi-runner/Manifest index cd2987e..ba64a64 100644 --- a/dev-util/gitlab-ci-multi-runner/Manifest +++ b/dev-util/gitlab-ci-multi-runner/Manifest @@ -1,3 +1,6 @@ DIST gitlab-ci-multi-runner-1.6.1-prebuilt-arm.tar.xz 9314916 SHA256 73d5d611f4aa8b2a0d8bc61f7cbd1e4cd4e7d089015084338c0e4b1eba1a6482 SHA512 1d231910686fe94e27251aaf5c63e1b358eaa66b18cc2add7f35763cdd9137851c461fba573c4a1fc704ee58350a2cc20291441279dfc046c509d502f8d92aa5 WHIRLPOOL bfd15f424aa0e2feef5da4557cec709d8b7caf2d31eddb20ab27c90421b38453d61660126a64b2e450d008d656b6aab3f3a4cb477fb9ead896e8a24794f91685 DIST gitlab-ci-multi-runner-1.6.1-prebuilt-x86_64.tar.xz 8350044 SHA256 18d7e08e13beded578a6de57de17de5f844c341558231446486aabff1d48e3e1 SHA512 91049b4d6a530c506953d10257ac203714837503c2a9905e2f18789823e2444c21cecd88c5f62d655852b0f801fae89e9b379b4b52af50d350e5a7b1653d2b83 WHIRLPOOL 314d35573a9829481ba6b3a0406b49fb0936d92618889ed0654aa47040ebf022815f187ef1cb47d2994d79602753cdfb6a61054d1e2e6d2e7b94fab5200ff365 DIST gitlab-ci-multi-runner-1.6.1.tar.gz 3046449 SHA256 9a3419e0ff35af6a06c8186eceecf13f32452563f1ef34bac39fea4969c024f5 SHA512 c45e54fee0d54f003c1931484761c96ec7f24ff785129644333838e01b9dc4e4778a27dc58824ee165c08439811090bec657cec2c2d337e4f5973a7fae9d9fd1 WHIRLPOOL 562d7a5ac359236ae203d1e06571aa0f11c2eef0cd742c252eee4d68310bf9317508b48d3b829211ff026a35e56c60fb2238081b17afcdb2475ecf6029897acf +DIST gitlab-ci-multi-runner-1.7.0-prebuilt-arm.tar.xz 9333580 SHA256 854c8b7986470f682ec686bec97911c9198ae3868797a55463b0710f2d6e9b4a SHA512 89c59c265581b59251f40c544cfade40f5c7218eb3ef583da5d1918c0d4c3d8da49047a17e46cab7ee4ca3ba0bee4cbd05f1e263d6561b1b107b5f0cb49d3c9e WHIRLPOOL 609eef4568e34550c47d514e406fc4732771567033519582b0fee16dd5b0df11dd79a2512ce61cc84c9958e50fa355e3c39b897a37a9c8fe1eeb79917acb5988 +DIST gitlab-ci-multi-runner-1.7.0-prebuilt-x86_64.tar.xz 8370796 SHA256 b471c15b7b1b6214a3ce94eeaa510b56120a86c24211f52e24c58318cec5a977 SHA512 549e7d99f76177c07f26bc294981d04cc8f2973a123aeb49fdb60493b1a0b734468d35914867d425ca3acb8119b9f155e4f4725d958fbe8d87ae76daeedf40e8 WHIRLPOOL 0ecb7891786f5134ad66e74fe517a1e173c0fd3866f3f554d1ce347bc8db0ea4f88ed7dd4a20053f5387509984beb0f5f006ecbf4a6ccdeffc08c36d0e2ee04f +DIST gitlab-ci-multi-runner-1.7.0.tar.gz 3527772 SHA256 ffcc18bfc54d4e2846bbfb21e72798c90ca5af214ac606ea07fbbeec24bb155f SHA512 06289c910f599ce180d62bad2e36cf4ac0f261f740c7ae3d4baf42aa4926b9dd2229b8c25ce8191613957017e1b1af4cdde76512eff2460f4a3db7f085a0e2a1 WHIRLPOOL 17d1259123bd0e8275f72453ba89e59f557e568b6698a0f61a511217b22a28d60350925928275072b1599cf4cf841d3f720eebd7a4e409627ad9257e8e2829f8 diff --git a/dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.7.0.ebuild b/dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.7.0.ebuild new file mode 100644 index 0000000..03555b5 --- /dev/null +++ b/dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.7.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit golang-build golang-vcs-snapshot + +EGO_PN="gitlab.com/gitlab-org/gitlab-ci-multi-runner/..." + +DESCRIPTION="Official GitLab CI Runner written in Go" +HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-ci-multi-runner" +SRC_URI="https://gitlab.com/gitlab-org/${PN}/repository/archive.tar.gz?ref=v${PV} -> ${P}.tar.gz + !docker-build? ( https://dev.gentoo.org/~mrueg/files/${P}-prebuilt-x86_64.tar.xz + https://dev.gentoo.org/~mrueg/files/${P}-prebuilt-arm.tar.xz )" + +KEYWORDS="~amd64" +LICENSE="MIT" +SLOT="0/${PVR}" +IUSE="docker-build" + +DEPEND="dev-go/gox + dev-go/go-bindata + docker-build? ( >=app-emulation/docker-1.5 )" + +RESTRICT="test" + +src_prepare() { + if ! use docker-build; then + mkdir -p src/${EGO_PN%/*}/out/docker || die + cp "${DISTDIR}"/${P}-prebuilt-x86_64.tar.xz src/${EGO_PN%/*}/out/docker/prebuilt-x86_64.tar.xz || die + cp "${DISTDIR}"/${P}-prebuilt-arm.tar.xz src/${EGO_PN%/*}/out/docker/prebuilt-arm.tar.xz || die + else + einfo "You need to have docker running on your system during build time" + einfo "$(docker info)" + fi +} + +src_compile() { + emake GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" RELEASE=true -C src/${EGO_PN%/*} build +} + +src_install() { + golang-build_src_install + dobin bin/* + dodoc src/${EGO_PN%/*}/README.md src/${EGO_PN%/*}/CHANGELOG.md +}