dev-vcs/gitlab-ci-multi-runner:

Purge old version of gitlab-ci-multi-runner

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Manuel Friedli 2018-03-08 20:57:52 +01:00
parent 22646cfe41
commit 5e33a112e6
3 changed files with 6 additions and 88 deletions

View file

@ -1,3 +1,7 @@
08 Mar 2018; Manuel Friedli <manuel@fritteli.ch>
-gitlab-ci-multi-runner-9.4.2.ebuild:
dev-vcs/gitlab-ci-multi-runner: Purge old version of gitlab-ci-multi-runner
*gitlab-ci-multi-runner-9.4.2 (17 Sep 2017) *gitlab-ci-multi-runner-9.4.2 (17 Sep 2017)
*gitlab-ci-multi-runner-9.5.0 (17 Sep 2017) *gitlab-ci-multi-runner-9.5.0 (17 Sep 2017)

View file

@ -1,12 +1,8 @@
AUX gitlab-ci-multi-runner-9.3.0.init 702 SHA256 124ad23c8af197e861a290bb5316fc23f100b7e25a5b1d8b169bb8adff39e3b7 SHA512 5f44e4245a5ccd6fe55484e8cb8a4254608fe02b37c151c472acafbe75bc8767b67fc28b8edef318114b5cfff1e3c7bb4b0bf7df28e9445e95784536fe0e6996 WHIRLPOOL ae1d3c4e4501bafee4252da7217a18791dccf318858877aa7cf84a37ed35a1bffda2e8e6e87ef4098816a4290cd5abbfb176aab83219e6176938fdf6e913fc9e AUX gitlab-ci-multi-runner-9.3.0.init 702 SHA256 124ad23c8af197e861a290bb5316fc23f100b7e25a5b1d8b169bb8adff39e3b7 SHA512 5f44e4245a5ccd6fe55484e8cb8a4254608fe02b37c151c472acafbe75bc8767b67fc28b8edef318114b5cfff1e3c7bb4b0bf7df28e9445e95784536fe0e6996 WHIRLPOOL ae1d3c4e4501bafee4252da7217a18791dccf318858877aa7cf84a37ed35a1bffda2e8e6e87ef4098816a4290cd5abbfb176aab83219e6176938fdf6e913fc9e
AUX gitlab-ci-multi-runner.conf 44 SHA256 0b93ba53d557fbf603b50f6d78eb2c4415b9a79f056142b6edf4a63fc6612d6e SHA512 1f5ff480740b18fc985ae9337b8dc4ddd1bde5253e09042b5542cb9a3db54b9cef1f7b24445c829eb83fcfd8751b693018154f6b97ce0a6e723d5d71d9a27429 WHIRLPOOL fc5218c55917b3303baf649fbafaf1dc50cf52d0ee04852716defe4f21b806f4f313071b1c55920d89da66180405d35da0f7cca73c2617b70bcaa67f725cab2a AUX gitlab-ci-multi-runner.conf 44 SHA256 0b93ba53d557fbf603b50f6d78eb2c4415b9a79f056142b6edf4a63fc6612d6e SHA512 1f5ff480740b18fc985ae9337b8dc4ddd1bde5253e09042b5542cb9a3db54b9cef1f7b24445c829eb83fcfd8751b693018154f6b97ce0a6e723d5d71d9a27429 WHIRLPOOL fc5218c55917b3303baf649fbafaf1dc50cf52d0ee04852716defe4f21b806f4f313071b1c55920d89da66180405d35da0f7cca73c2617b70bcaa67f725cab2a
DIST gitlab-ci-multi-runner-9.4.2-prebuilt-arm.tar.xz 9090344 SHA256 c3f128fd0c870da3bb7d2d525cb1d9965e6b1fc25c011be5fd497d3d69df1988 SHA512 241496e167221470201f6a227adc55a3570560fb740a9862859e9661abebb5bff2e67ad070ccde2de2a29e7ec48c7ba1b47183f1cda6a660d0914f107b0b3795 WHIRLPOOL 5385a1b718e64d6438bb11fa1a14705bef2aacecdc27d9a6ead43ff630c07634b798e7f23a8c967afdaa9cab431bc3755a5ed97df2b9bfad156aa58d2d8d9cbd
DIST gitlab-ci-multi-runner-9.4.2-prebuilt-x86_64.tar.xz 11107472 SHA256 ef2ca32cf86446c1831c8893f4be5fb895fea18e090d08d9b2b41d62b58ac8b1 SHA512 d5b9d475ae1aadb72a8bb89b45d21eeeb97c534443dffe3cc091ed347798f33298269adea173b2dace65b0b6502f53cdd7b7f2b332a87c606585e1f20852838f WHIRLPOOL ce06c7ae28b8bcbc761df6934874bf21bdf14a71d0c817ab0023d8f0a573df4c0750bf18d3b1220303e6a61b0c485d88f5453e552623ebee7287b47d3beda36e
DIST gitlab-ci-multi-runner-9.4.2.tar.gz 3205943 SHA256 44fe7f7a37679ceeb20135df1f4fff52a2956bcc7f9e8e54d8c63c7beb65e802 SHA512 18be1f2ace8a88631ac500bac7036068f0fcd3bddb20ceda6b1f9c7d38a2ef93991b9e7da4349fb4c9f206504aab6d75ab96dcc990d7cf8c74d46784b228f1a4 WHIRLPOOL 278091a8cf186da6c2551d472b8db7ba860725608a2d4c4bcda4e3fbf6e51b015736dd18b3e3811f5415adc1e9d4ca06223c9ee84d8d37b825c965d8860000e8
DIST gitlab-ci-multi-runner-9.5.0-prebuilt-arm.tar.xz 8536276 SHA256 12d3106afeec6eacba9771e6c08ec851c002160b0c37b6a03516f035473a9746 SHA512 49ae61727a98082adfc6b0b9fd5b108fc7981f4628dc20a6dd6136102b9e17f3877ad61efff51e2ef3e7da40e01571dd2f94849fb120bec55ba028542751569c WHIRLPOOL 554f8511d8b44446879644eb032a86b494695c0dfa57ea6c26887e674a34e73af20f80781119ae772ebe21e0abf0729cfeb2324cb151c99819faa2b11603bbdb DIST gitlab-ci-multi-runner-9.5.0-prebuilt-arm.tar.xz 8536276 SHA256 12d3106afeec6eacba9771e6c08ec851c002160b0c37b6a03516f035473a9746 SHA512 49ae61727a98082adfc6b0b9fd5b108fc7981f4628dc20a6dd6136102b9e17f3877ad61efff51e2ef3e7da40e01571dd2f94849fb120bec55ba028542751569c WHIRLPOOL 554f8511d8b44446879644eb032a86b494695c0dfa57ea6c26887e674a34e73af20f80781119ae772ebe21e0abf0729cfeb2324cb151c99819faa2b11603bbdb
DIST gitlab-ci-multi-runner-9.5.0-prebuilt-x86_64.tar.xz 9542776 SHA256 b771f522bb628d694fde2933fd293d4e4bfd1facf9b9650ecc940f8e6f817717 SHA512 da953698b2656d5d85a77891a3944951c8099ea61533b6c600d867edb4bb9ee90c799aadb46eb1509abee2810f98a511e20bb8f61adfce0b6c2cb008db1fc1b8 WHIRLPOOL aed32dcc2222195854886ee5bd07c3d3220493486de9a11e45910fc107a955cbe07b64067f45ceb12439c5b73cd60f70ab7653e0a14e9b1eb59144c808ddd3ae DIST gitlab-ci-multi-runner-9.5.0-prebuilt-x86_64.tar.xz 9542776 SHA256 b771f522bb628d694fde2933fd293d4e4bfd1facf9b9650ecc940f8e6f817717 SHA512 da953698b2656d5d85a77891a3944951c8099ea61533b6c600d867edb4bb9ee90c799aadb46eb1509abee2810f98a511e20bb8f61adfce0b6c2cb008db1fc1b8 WHIRLPOOL aed32dcc2222195854886ee5bd07c3d3220493486de9a11e45910fc107a955cbe07b64067f45ceb12439c5b73cd60f70ab7653e0a14e9b1eb59144c808ddd3ae
DIST gitlab-ci-multi-runner-9.5.0.tar.gz 3561774 SHA256 752dd8ba9e20f85b4835d627524a713ae1d7718743f8e455ff867a05de2d2091 SHA512 e536c82043f706a100511e8467ef5df55e5d8d06ec34653a3523b370a8e595e8ba3b3885e97b67ad66c241a27e1db54ddc8170af963f52b844304b2145eff8bf WHIRLPOOL a7ded183dfa447812eac767ec3a2c2c2739e8c96934aaf968e678f0e1801bd14d7693e2f4db79f39060fa7ee1050c880640f1f893f92292e51c9500a984eba08 DIST gitlab-ci-multi-runner-9.5.0.tar.gz 3561337 SHA256 ef50ff9bb6ed406b4815d0a65f4475c95dcc35fffa49bab41ca1867d3662ce8b SHA512 fc3622411da4f8ffed25a1569472e86a2ae4f0924f3758923894305bf0689028f8585cd2dc7504a1fa7e9b148dfd953ba92a9390b4df39464e16abf50f15302d WHIRLPOOL 34834dcbddfa0247f3ac2fec9093037c9accb039177c937483aa705b2eb0cf4a3fce974eb5361fec5bc3c804890a5c312ab85342fc78b23a2391b46300fa8d1f
EBUILD gitlab-ci-multi-runner-9.4.2.ebuild 2323 SHA256 65ba2066eb20ab01f4d991cde3f3b8ea21ced7959bab57387a709366a9143cb0 SHA512 923b743a0249efc14acd95d9860349524dd8a89904c1d3df30ac9889c1ce4f79210c52a1dbb120dac4ddc4e1d21cafb090f7fcca8ffb4cced4ca0ed7f9cb24ab WHIRLPOOL 1f067bf4e89e8764300dcdd344f9169206e806c274a02fb84fcf7c8157c990f263e6aded7bff7cf973561c1d87b32ca65530becd5c35532be276c9a0f45a5c4b
EBUILD gitlab-ci-multi-runner-9.5.0.ebuild 2323 SHA256 2bc7f2232a6f2a09e8fa0f8788b1a62a3b76582575f9704c578428369adf3d8b SHA512 c555640eae9fab3589493eb62d3203449d708be2e5e1175944f5adedabfdcfa307ea16649f7b1f5843d1be4d0ef1e18d92b3cbe52b03b08d0174af383040b5bd WHIRLPOOL 101fae9675ac984db39848da392e35e67b46f9a491c1cc1241e41e5a6a8d2547c24574f73098ebb3c448bc8ac9db185d6568ae927ec92af52bb21bff61f5fbed EBUILD gitlab-ci-multi-runner-9.5.0.ebuild 2323 SHA256 2bc7f2232a6f2a09e8fa0f8788b1a62a3b76582575f9704c578428369adf3d8b SHA512 c555640eae9fab3589493eb62d3203449d708be2e5e1175944f5adedabfdcfa307ea16649f7b1f5843d1be4d0ef1e18d92b3cbe52b03b08d0174af383040b5bd WHIRLPOOL 101fae9675ac984db39848da392e35e67b46f9a491c1cc1241e41e5a6a8d2547c24574f73098ebb3c448bc8ac9db185d6568ae927ec92af52bb21bff61f5fbed
MISC ChangeLog 3396 SHA256 96c42cee0c6be08b964a6867a2ecfaa1575ae33c012da2818208bfa00387ec5b SHA512 159fc9db6d8efcb46e5f04ea045feb618414a1686ddcc03efe33d6426985e6f72eeb66bf1fd8d790c7c5e7e6fde529f4f1eafcd1a89a942dfe478e308a1a011c WHIRLPOOL d8e187240f5c5984872c0ed3b7cb980f8df7bcde24d6969087456d28cbdb36e00b688e9686491bad8503a97f271b611bd0fcf1bc7e532fdbbb42b2d182e91465 MISC ChangeLog 3567 SHA256 9634416fb6eaf775cc7af90a00ac7df42b7a3713b78b67086d4943aa5dbdf89b SHA512 6441c81dad79668743624b5f3ac21b89d447421c645561bd329b662c69f958f780fb028edfca690da690aedfd2606f336928086cdcd28e65522651d520f7ce42 WHIRLPOOL 0c0cc5e4143ce1acb5ae33233404d50bee4b560e27b939cd03df71e515424392e934e62f5aaf3019458944701694f054cfcbdff07ecf02cb6874daf4c5fdfa9b
MISC metadata.xml 329 SHA256 f0ae08a64aa32a07486e744ce11ac5448770b7320454015bcd065e312fcb5e9c SHA512 11e4eaf25633c5979e5243350bdf2ddc6d9dca06ab54ec38359591f1d002ea2a224e53b3e6c4ac53b5b2e795a87769fdbd97c547b008272e0a1491141f422e5d WHIRLPOOL ab2c1cb3d9aff1f757b49633f94d4b98da4b83dadab12ab8d869f9e1f6763b3125010147472e58e910e7fc42da262dbd69a1bf3939f3720a79ab4329184b4c35 MISC metadata.xml 329 SHA256 f0ae08a64aa32a07486e744ce11ac5448770b7320454015bcd065e312fcb5e9c SHA512 11e4eaf25633c5979e5243350bdf2ddc6d9dca06ab54ec38359591f1d002ea2a224e53b3e6c4ac53b5b2e795a87769fdbd97c547b008272e0a1491141f422e5d WHIRLPOOL ab2c1cb3d9aff1f757b49633f94d4b98da4b83dadab12ab8d869f9e1f6763b3125010147472e58e910e7fc42da262dbd69a1bf3939f3720a79ab4329184b4c35

View file

@ -1,82 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit golang-build golang-vcs-snapshot user
EGO_PN="gitlab.com/gitlab-org/gitlab-ci-multi-runner"
GITLAB_COMMIT="6d06f2ec"
MY_PV="v${PV/_/-}"
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://${PN}-downloads.s3.amazonaws.com/${MY_PV}/docker/prebuilt-x86_64.tar.xz -> ${P}-prebuilt-x86_64.tar.xz
https://${PN}-downloads.s3.amazonaws.com/${MY_PV}/docker/prebuilt-arm.tar.xz -> ${P}-prebuilt-arm.tar.xz
)"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
IUSE="docker-build"
DEPEND="dev-go/gox
dev-go/go-bindata
docker-build? ( >=app-emulation/docker-1.5 )"
RESTRICT="mirror test"
MY_USER="gitlab_ci_multi_runner"
MY_HOME_DIR="/opt/gitlab-ci-multi-runner"
pkg_setup() {
enewgroup ${MY_USER}
enewuser ${MY_USER} -1 /bin/bash ${MY_HOME_DIR} ${MY_USER}
}
src_prepare() {
default
pushd src/${EGO_PN} || die
if ! use docker-build; then
mkdir -p out/docker || die
cp "${DISTDIR}"/${P}-prebuilt-x86_64.tar.xz out/docker/prebuilt-x86_64.tar.xz || die
cp "${DISTDIR}"/${P}-prebuilt-arm.tar.xz out/docker/prebuilt-arm.tar.xz || die
sed -i -e "s/docker info/echo false/" Makefile || die
else
einfo "You need to have docker running on your system during build time"
einfo "$(docker info)"
fi
sed -i -e "s#./ci/version#echo ${PV}#"\
-e "s/git rev-parse --short HEAD/echo ${GITLAB_COMMIT}/"\
-e "/^LATEST_STABLE_TAG/d"\
-e "s#git show-ref.*\$#echo gentoo)#"\
-e "s#git describe.*\$#echo 0), 0)#"\
Makefile || die
popd || die
}
src_compile() {
emake GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" RELEASE=true -C src/${EGO_PN} build_current
}
src_install() {
dobin src/${EGO_PN}/out/binaries/gitlab-ci-multi-runner
dodoc src/${EGO_PN}/README.md src/${EGO_PN}/CHANGELOG.md
# rc script
local rcscript="${PN}-9.3.0.init"
cp "${FILESDIR}/${rcscript}" "${T}" || die
sed -i \
-e "s|@USER@|${MY_USER}|" \
-e "s|@HOME@|${MY_HOME_DIR}|" \
"${T}/${rcscript}" \
|| die "failed to filter ${rcscript}"
newinitd "${T}/${rcscript}" "${PN}"
newconfd "${FILESDIR}/${PN}.conf" "${PN}"
}