From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4225259CB2 for ; Sun, 17 Apr 2016 17:21:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71C6521C008; Sun, 17 Apr 2016 17:21:19 +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 F34C721C008 for ; Sun, 17 Apr 2016 17:21:18 +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 63987340896 for ; Sun, 17 Apr 2016 17:21:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E0C77E for ; Sun, 17 Apr 2016 17:21:14 +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: <1460913664.a5729b17f3cda31d54f781b4b9a1fce56a722a83.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.1.2.ebuild dev-util/gitlab-ci-multi-runner/metadata.xml X-VCS-Directories: dev-util/gitlab-ci-multi-runner/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: a5729b17f3cda31d54f781b4b9a1fce56a722a83 X-VCS-Branch: master Date: Sun, 17 Apr 2016 17:21:14 +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: d8d0a926-80a9-4ce7-bd4b-bcf51eda51d7 X-Archives-Hash: 7fbf79b88713f92bf57b98a8f6886298 commit: a5729b17f3cda31d54f781b4b9a1fce56a722a83 Author: Manuel Rüger gentoo org> AuthorDate: Sun Apr 17 17:21:04 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sun Apr 17 17:21:04 2016 +0000 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=a5729b17 dev-util/gitlab-ci-multi-runner: Initial version Package-Manager: portage-2.2.28 dev-util/gitlab-ci-multi-runner/Manifest | 2 + .../gitlab-ci-multi-runner-1.1.2.ebuild | 44 ++++++++++++++++++++++ dev-util/gitlab-ci-multi-runner/metadata.xml | 11 ++++++ 3 files changed, 57 insertions(+) diff --git a/dev-util/gitlab-ci-multi-runner/Manifest b/dev-util/gitlab-ci-multi-runner/Manifest new file mode 100644 index 0000000..66f35ad --- /dev/null +++ b/dev-util/gitlab-ci-multi-runner/Manifest @@ -0,0 +1,2 @@ +DIST gitlab-ci-multi-runner-1.1.2-prebuilt.tar.gz 19902054 SHA256 b46bdd293c39422186a6e18714181c95b5f83d60f3702fb20185913d4e6939ea SHA512 7d7773ab5b93a3e40b52b202330814fbbc3320760c90468239189e257b6e35ab8d56e7bcc6d91dfe6f3182a5b3da79227efe60c113e17f54c10fe2e0f9476aa4 WHIRLPOOL 32253f25df7d584db206d3f541ccf32fd94254c7b599ec05aa06d4ce71734b60a51072bbc95844382215ec83a11c4d0a15dac9a4da39f49512cdb6584026b142 +DIST gitlab-ci-multi-runner-1.1.2.tar.gz 1748075 SHA256 db874b5b660d6dd03f50b47196e8b871b83fbdbadfc3aa61e37fba9606fd6b97 SHA512 c601239dfceabfec9c4b5045c13f76acfa5e0a7c4c29da5cb38fecfe74aa229462664a27861ac7eb08fc95aa1a0d211a7e37d8d858f568b2d0d8e403ddb950ca WHIRLPOOL e6c0841aa201b10a179317156220b7bf76f28ecbd5e3c31d37cd635f1033a2da5b2db28423aad73f58e67b69a539d9e81d7226ea0d6f906a8bb3d267ea040a86 diff --git a/dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.1.2.ebuild b/dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.1.2.ebuild new file mode 100644 index 0000000..93430c4 --- /dev/null +++ b/dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.1.2.ebuild @@ -0,0 +1,44 @@ +# 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="A smart reverse proxy for GitLab 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.tar.gz )" + +KEYWORDS="~amd64" +LICENSE="MIT" +SLOT="0/${PVR}" +IUSE="docker-build" + +DEPEND="dev-go/gox + dev-go/go-bindata" + +RESTRICT="test" + +src_prepare() { + sed -i -e 's/VERSION=.*/VERSION=${PV}/' src/${EGO_PN%/*}/Makefile || die + if ! use docker-build; then + mkdir -p src/${EGO_PN%/*}/out/docker || die + cp "${DISTDIR}"/${P}-prebuilt.tar.gz src/${EGO_PN%/*}/out/docker/prebuilt.tar.gz || 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 +} diff --git a/dev-util/gitlab-ci-multi-runner/metadata.xml b/dev-util/gitlab-ci-multi-runner/metadata.xml new file mode 100644 index 0000000..57f1699 --- /dev/null +++ b/dev-util/gitlab-ci-multi-runner/metadata.xml @@ -0,0 +1,11 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + + Use docker to build the images + +