public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mrueg:master commit in: dev-util/gitlab-ci-multi-runner/
Date: Sun, 17 Apr 2016 17:21:14 +0000 (UTC)	[thread overview]
Message-ID: <1460913664.a5729b17f3cda31d54f781b4b9a1fce56a722a83.mrueg@gentoo> (raw)

commit:     a5729b17f3cda31d54f781b4b9a1fce56a722a83
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 17:21:04 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>mrueg@gentoo.org</email>
+		<name>Manuel Rüger</name>
+	</maintainer>
+	<use>
+		<flag name="docker-build">Use docker to build the images</flag>
+	</use>
+</pkgmetadata>


             reply	other threads:[~2016-04-17 17:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-17 17:21 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-17 17:23 [gentoo-commits] dev/mrueg:master commit in: dev-util/gitlab-ci-multi-runner/ Manuel Rüger
2016-04-24  0:39 Manuel Rüger
2016-08-22 21:00 Manuel Rüger
2016-09-04 13:53 Manuel Rüger
2016-09-18 22:36 Manuel Rüger
2016-09-27  0:06 Manuel Rüger
2016-10-16 14:38 Manuel Rüger
2016-10-16 14:39 Manuel Rüger
2016-10-24 23:22 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460913664.a5729b17f3cda31d54f781b4b9a1fce56a722a83.mrueg@gentoo \
    --to=mrueg@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox