dev-util/drone-runner-docker: Clean up old stuff.
Package-Manager: Portage-3.0.30, Repoman-3.0.3
This commit is contained in:
parent
b5577edb13
commit
75e775a49e
9 changed files with 8 additions and 446 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
30 Apr 2022; Manuel Friedli <manuel@gentoo.org>
|
||||||
|
-drone-runner-docker-1.5.2-r1.ebuild, -drone-runner-docker-1.6.0.ebuild,
|
||||||
|
-drone-runner-docker-1.6.1.ebuild, -drone-runner-docker-1.6.2.ebuild,
|
||||||
|
-files/app.ini, -files/drone-runner-docker.service,
|
||||||
|
-files/drone-runner-docker.sh:
|
||||||
|
dev-util/drone-runner-docker: Clean up old stuff.
|
||||||
|
|
||||||
*drone-runner-docker-1.6.3 (23 Feb 2021)
|
*drone-runner-docker-1.6.3 (23 Feb 2021)
|
||||||
|
|
||||||
23 Feb 2021; Manuel Friedli <manuel@gentoo.org>
|
23 Feb 2021; Manuel Friedli <manuel@gentoo.org>
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
AUX app.ini 921 BLAKE2B 99a23edacd0be7c6717b941630d5b538a86542de835255bd609c15a39f72ff9c2e7fd6df2f65f480e922154e9acdc3ead8d1e861bba889ba30ad6debd46c32e5 SHA512 334a2458c745e1f52e82f0d62bdcb52dd673104154335acd23aca94c2f99893b6ee4432fc1ca15672a98293f27ed8948f3553c2f51d9caec594f7d85aea38094
|
|
||||||
AUX app.ini-1.6.2 769 BLAKE2B 6203c9ef0b3d812a3de3e130238412a56eb2bbe57f9fe5d82da9b72b655f6f0031d5a78062fa9d3d578990e7455d7592315ec9b34d4a07b28c6209bb2997d2bd SHA512 ea8475f7ce6032149392717facd90aabc26b4b308df2c25b202e1a90bcea154914d6ddf2e7672d65c0673c224145099eca059db37fd9efe0edd296452d60aa4f
|
AUX app.ini-1.6.2 769 BLAKE2B 6203c9ef0b3d812a3de3e130238412a56eb2bbe57f9fe5d82da9b72b655f6f0031d5a78062fa9d3d578990e7455d7592315ec9b34d4a07b28c6209bb2997d2bd SHA512 ea8475f7ce6032149392717facd90aabc26b4b308df2c25b202e1a90bcea154914d6ddf2e7672d65c0673c224145099eca059db37fd9efe0edd296452d60aa4f
|
||||||
AUX drone-runner-docker.service 481 BLAKE2B 01d977fa568cabc418f3d10ed9a7a4d658f5d1e0e3112baee6d7b850402a870932b3fa302fa009f300b00c01a28aa4f966caaa281639d606b50ce8c437d36003 SHA512 6229bee7b9c713b97a6110d0f023c2586678a16aed49a0259623941bafb99f2f713aca696abb2dc40c929c7fea6e0496c8af071a3d43f860858176fe4ad5566f
|
|
||||||
AUX drone-runner-docker.service-1.6.2 371 BLAKE2B 1ffb5f836d87c444acbd494b2315ee2222a332566693553ec8fa12c4291185f8c417f6630d2093c7f978c3e65c10243b944c751b1f5c29116c4cba196103553a SHA512 619d1c65e91af40e1affed7b23edb00ec25d9a5b1ea6812931d86f716ca9e8ed40c605b6a45966b296ff623c66a9169b0ddac1ebdc4de7194fafd5efd683baf0
|
AUX drone-runner-docker.service-1.6.2 371 BLAKE2B 1ffb5f836d87c444acbd494b2315ee2222a332566693553ec8fa12c4291185f8c417f6630d2093c7f978c3e65c10243b944c751b1f5c29116c4cba196103553a SHA512 619d1c65e91af40e1affed7b23edb00ec25d9a5b1ea6812931d86f716ca9e8ed40c605b6a45966b296ff623c66a9169b0ddac1ebdc4de7194fafd5efd683baf0
|
||||||
AUX drone-runner-docker.sh 612 BLAKE2B becd739d917e1c924deeb297749034639591e02f5f3f11a60241b74d8edfd927f098ca17a5ccedc5d470b8279715eab9e92ae6d21d78b6d81f059089cb89d8be SHA512 ed2c6ce725467ca038eed6a66974a76bc61931aea89eed33ee4a1752cc30000d08671c52f84be1c582f3beb2ebbddf9240f975cfdb1a543abe527465ea5ff6a0
|
|
||||||
DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
|
DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
|
||||||
DIST drone-runner-docker-1.6.2.tar.gz 59640 BLAKE2B ef89d275b29a4d7fe7407910b70cfd08f9e977d3c94fcaaf20fc05bf3a53e471e2d7660d676792829ea765696ee0747cb3b4a7cef33c163a8bf40df25686ea94 SHA512 f6a0190cce387c791bb59e91815ac4d617f3985e7f974d10b2b782c9e209c08943477da73eaa5cfb95e69b5cacb1c3feeac6ad0af22981268bfa676e656884b9
|
|
||||||
DIST drone-runner-docker-1.6.3.tar.gz 59814 BLAKE2B 0bea0ca1cfb28f543437c73e3f6e60e100ed1c2a947c56ee59256f14696983d0340a5c08c3a2539c5acff2da9d0a568c6a04914bb763dd08b8dec0f3d006386f SHA512 0d1949d070bf9e088477569f10282178437e5b64b12a989e32d4dae1524d9290feb32690e4ae31e5e2a75b0bd291daf0a8373cdd574add97ef7cb9d75aeb8d5c
|
DIST drone-runner-docker-1.6.3.tar.gz 59814 BLAKE2B 0bea0ca1cfb28f543437c73e3f6e60e100ed1c2a947c56ee59256f14696983d0340a5c08c3a2539c5acff2da9d0a568c6a04914bb763dd08b8dec0f3d006386f SHA512 0d1949d070bf9e088477569f10282178437e5b64b12a989e32d4dae1524d9290feb32690e4ae31e5e2a75b0bd291daf0a8373cdd574add97ef7cb9d75aeb8d5c
|
||||||
DIST github.com%2F!azure%2Fgo-ansiterm%2F@v%2Fv0.0.0-20170929234023-d6e3b3328b78.mod 36 BLAKE2B 52a2c5272e004524397df00dfa03b4c2d2ebd985a0c974236aad6b847d6b2b4b7c9b69ef48e263f4c67983b845b020d2004fe749b46fee3c0525da0416b20f3e SHA512 350a16c68553738ce8c2f4a6ac8beba66a7dcf2386a42aff938ebaa3bdc526bda8e5c51c493331eda4666cbcf8411ee7ca3aeb0768cc4f557f34585960f9eb84
|
DIST github.com%2F!azure%2Fgo-ansiterm%2F@v%2Fv0.0.0-20170929234023-d6e3b3328b78.mod 36 BLAKE2B 52a2c5272e004524397df00dfa03b4c2d2ebd985a0c974236aad6b847d6b2b4b7c9b69ef48e263f4c67983b845b020d2004fe749b46fee3c0525da0416b20f3e SHA512 350a16c68553738ce8c2f4a6ac8beba66a7dcf2386a42aff938ebaa3bdc526bda8e5c51c493331eda4666cbcf8411ee7ca3aeb0768cc4f557f34585960f9eb84
|
||||||
DIST github.com%2F!azure%2Fgo-ansiterm%2F@v%2Fv0.0.0-20170929234023-d6e3b3328b78.zip 32735 BLAKE2B 5de266d7400ae80c027f209cea91c911e22b0ff4fc6a2e964e8906f1a86cc6905b9c12d2588d5fdc91d0d8e9501a0ddf2f7a376cca9935d21943386c3ef31979 SHA512 72621865ffc0cadd27603e2f4032f1cd9c9d8bdcb920b3ca9fd02dbf88e52876a6f092c5b74eceb136021c514b68dc599f0cbbf18ed1620b827d46462aa55e32
|
DIST github.com%2F!azure%2Fgo-ansiterm%2F@v%2Fv0.0.0-20170929234023-d6e3b3328b78.zip 32735 BLAKE2B 5de266d7400ae80c027f209cea91c911e22b0ff4fc6a2e964e8906f1a86cc6905b9c12d2588d5fdc91d0d8e9501a0ddf2f7a376cca9935d21943386c3ef31979 SHA512 72621865ffc0cadd27603e2f4032f1cd9c9d8bdcb920b3ca9fd02dbf88e52876a6f092c5b74eceb136021c514b68dc599f0cbbf18ed1620b827d46462aa55e32
|
||||||
|
@ -183,10 +179,6 @@ DIST gotest.tools%2F@v%2Fv2.2.0+incompatible.mod 20 BLAKE2B 25d11078b1caa5a705f3
|
||||||
DIST gotest.tools%2F@v%2Fv2.2.0+incompatible.zip 88327 BLAKE2B 8730134244a00fb47b24b347ee4758fac8c11e3f627788c03d6568af129acb5b911b08857ab77a619bf571986ee90dd1c6c6aa12fd8e6e26d395a64bb7513a8b SHA512 66a13fedc358399644b869ac4b39a295c6c15d642e074ec66ff042e1b109f9603bc941ff25aaf7d9bc700f6c2fb1f60bf2a637a471e26ae037d822f0f1e2c518
|
DIST gotest.tools%2F@v%2Fv2.2.0+incompatible.zip 88327 BLAKE2B 8730134244a00fb47b24b347ee4758fac8c11e3f627788c03d6568af129acb5b911b08857ab77a619bf571986ee90dd1c6c6aa12fd8e6e26d395a64bb7513a8b SHA512 66a13fedc358399644b869ac4b39a295c6c15d642e074ec66ff042e1b109f9603bc941ff25aaf7d9bc700f6c2fb1f60bf2a637a471e26ae037d822f0f1e2c518
|
||||||
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190102054323-c2f93a96b099.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce
|
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190102054323-c2f93a96b099.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce
|
||||||
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190523083050-ea95bdfd59fc.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce
|
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190523083050-ea95bdfd59fc.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce
|
||||||
EBUILD drone-runner-docker-1.5.2-r1.ebuild 922 BLAKE2B 9c2fa3bc7956ad881f90c5c2503b9075fc9409e32099825c01c9da64e9d4559cf646fe597470e7527843ce308b9a24c88356e7d7ccb9dedf3f25da6dd96aff1f SHA512 8355b65eca92a74f34ed81878b3d1627ea9a80334f8c83eb17cba1527cb76adfe47c599afcf97de9a12650af679fe2109ab71c594541d174d35b01428399a0a4
|
|
||||||
EBUILD drone-runner-docker-1.6.0.ebuild 923 BLAKE2B f2ff442cad45758aac9865ad3bf324d0cb6f98cc1994792fc93c9f47b12ecde27502db287630f4dbda9f99f0fce11d9d87ef92c9653f2dbb61efe1ad201eeabd SHA512 042672861c638566297fc4295d53a67f4c014e2f582189ae46e26fb56e913dcfa4a1ccabf6798526c2d1c2017f965bd21baf22ce5ee9304d6db5002c063320db
|
|
||||||
EBUILD drone-runner-docker-1.6.1.ebuild 923 BLAKE2B f2ff442cad45758aac9865ad3bf324d0cb6f98cc1994792fc93c9f47b12ecde27502db287630f4dbda9f99f0fce11d9d87ef92c9653f2dbb61efe1ad201eeabd SHA512 042672861c638566297fc4295d53a67f4c014e2f582189ae46e26fb56e913dcfa4a1ccabf6798526c2d1c2017f965bd21baf22ce5ee9304d6db5002c063320db
|
|
||||||
EBUILD drone-runner-docker-1.6.2.ebuild 10881 BLAKE2B 12c7f061e3574b3ed81f1d7af9164d9075e8fa94ac9a81d986ba1f749d506bebd640d8e7f920eb7594b72e50a7f4975e252b61f82bd3065503558bb89b5ee427 SHA512 c0ca8456ae4f8955238329a3f50d643c90e4b04bccadd37bebc1f8471d8f53bc352afbe8605524ea4091a7a3ddf93f4ac4811ea3b2ffd1bc3ba484de620fd40e
|
|
||||||
EBUILD drone-runner-docker-1.6.3.ebuild 10934 BLAKE2B e501a511290ecc6fadfd6a8cf8758285b8025b8e2a40894f71bd09acb21d9718c3efe5dceefbdf0d9b9825a5647cf8659e4c56173b4e09b4ec0efa2fbd3b531b SHA512 05f477e1e12a43401323d53b4b5112d649d474b790ebd8f178c8f02ec986421c96a853ad4b6a7eaee42c591163b22c10e51ea3cb7455e3a7c61a913bee508b8b
|
EBUILD drone-runner-docker-1.6.3.ebuild 10934 BLAKE2B e501a511290ecc6fadfd6a8cf8758285b8025b8e2a40894f71bd09acb21d9718c3efe5dceefbdf0d9b9825a5647cf8659e4c56173b4e09b4ec0efa2fbd3b531b SHA512 05f477e1e12a43401323d53b4b5112d649d474b790ebd8f178c8f02ec986421c96a853ad4b6a7eaee42c591163b22c10e51ea3cb7455e3a7c61a913bee508b8b
|
||||||
MISC ChangeLog 1243 BLAKE2B ce62050938d84373766ef143bfa993ed0ea9e110938b4584fe940433c84dc08fa1d3fbe56887766144cc8c5d80ce8473d567e4fd793367159713a93e114d33ea SHA512 427f4e8e035a64523c2f02a9fd79f180c8d25a26746f6ae89808db151fb013f18c156e9ddf70723d95cc6144f29fb4e9cbf525072084d829e627fd5e4399d9af
|
MISC ChangeLog 1580 BLAKE2B a1aadb6af56d43c390d70076461691a2de4ae0403f46f596050c469d8970c24c37746c50b701de94fbc3c7b7d9f210198041ccba54d2332ac608c25321138efa SHA512 94904d6e39d7bf9d4c36c93f8fd2914743c59f90c3c5f51a6d011bc9cc658a7565cd8c759016e32910d273f9bf68892661cd5b4dd084e59ffd4f02a47a2e7eef
|
||||||
MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2
|
MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
inherit systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Drone CI - Docker Runner"
|
|
||||||
HOMEPAGE="https://drone.io/"
|
|
||||||
#SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RESTRICT="mirror"
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="acct-user/drone-runner-docker
|
|
||||||
app-emulation/docker
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -e "s/<VERSION>/${PV}/g" "${FILESDIR}/drone-runner-docker.sh" > "${T}/drone-runner-docker.sh"
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
exeinto /usr/bin
|
|
||||||
doexe "${T}/drone-runner-docker.sh"
|
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
|
|
||||||
insinto "/etc/drone-runner-docker"
|
|
||||||
doins "${FILESDIR}/app.ini"
|
|
||||||
|
|
||||||
fowners drone-runner-docker:drone-runner-docker /etc/drone-runner-docker
|
|
||||||
fperms 0700 /etc/drone-runner-docker
|
|
||||||
fowners drone-runner-docker:drone-runner-docker /etc/drone-runner-docker/app.ini
|
|
||||||
fperms 0600 /etc/drone-runner-docker/app.ini
|
|
||||||
}
|
|
|
@ -1,43 +0,0 @@
|
||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
inherit systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Drone CI - Docker Runner"
|
|
||||||
HOMEPAGE="https://drone.io/"
|
|
||||||
#SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RESTRICT="mirror"
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="acct-user/drone-runner-docker
|
|
||||||
app-emulation/docker
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -e "s/<VERSION>/${PV}/g" "${FILESDIR}/drone-runner-docker.sh" > "${T}/drone-runner-docker.sh"
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
exeinto /usr/sbin
|
|
||||||
doexe "${T}/drone-runner-docker.sh"
|
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
|
|
||||||
insinto "/etc/drone-runner-docker"
|
|
||||||
doins "${FILESDIR}/app.ini"
|
|
||||||
|
|
||||||
fowners drone-runner-docker:drone-runner-docker /etc/drone-runner-docker
|
|
||||||
fperms 0700 /etc/drone-runner-docker
|
|
||||||
fowners drone-runner-docker:drone-runner-docker /etc/drone-runner-docker/app.ini
|
|
||||||
fperms 0600 /etc/drone-runner-docker/app.ini
|
|
||||||
}
|
|
|
@ -1,43 +0,0 @@
|
||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
inherit systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Drone CI - Docker Runner"
|
|
||||||
HOMEPAGE="https://drone.io/"
|
|
||||||
#SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RESTRICT="mirror"
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="acct-user/drone-runner-docker
|
|
||||||
app-emulation/docker
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -e "s/<VERSION>/${PV}/g" "${FILESDIR}/drone-runner-docker.sh" > "${T}/drone-runner-docker.sh"
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
exeinto /usr/sbin
|
|
||||||
doexe "${T}/drone-runner-docker.sh"
|
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
|
|
||||||
insinto "/etc/drone-runner-docker"
|
|
||||||
doins "${FILESDIR}/app.ini"
|
|
||||||
|
|
||||||
fowners drone-runner-docker:drone-runner-docker /etc/drone-runner-docker
|
|
||||||
fperms 0700 /etc/drone-runner-docker
|
|
||||||
fowners drone-runner-docker:drone-runner-docker /etc/drone-runner-docker/app.ini
|
|
||||||
fperms 0600 /etc/drone-runner-docker/app.ini
|
|
||||||
}
|
|
|
@ -1,237 +0,0 @@
|
||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
inherit go-module systemd
|
|
||||||
|
|
||||||
EGO_SUM=(
|
|
||||||
"cloud.google.com/go v0.26.0/go.mod"
|
|
||||||
"github.com/99designs/basicauth-go v0.0.0-20160802081356-2a93ba0f464d"
|
|
||||||
"github.com/99designs/basicauth-go v0.0.0-20160802081356-2a93ba0f464d/go.mod"
|
|
||||||
"github.com/99designs/httpsignatures-go v0.0.0-20170731043157-88528bf4ca7e"
|
|
||||||
"github.com/99designs/httpsignatures-go v0.0.0-20170731043157-88528bf4ca7e/go.mod"
|
|
||||||
"github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78"
|
|
||||||
"github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod"
|
|
||||||
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
|
||||||
"github.com/Microsoft/go-winio v0.4.11"
|
|
||||||
"github.com/Microsoft/go-winio v0.4.11/go.mod"
|
|
||||||
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc"
|
|
||||||
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
|
|
||||||
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf"
|
|
||||||
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
|
|
||||||
"github.com/bmatcuk/doublestar v1.1.1"
|
|
||||||
"github.com/bmatcuk/doublestar v1.1.1/go.mod"
|
|
||||||
"github.com/buildkite/yaml v2.1.0+incompatible"
|
|
||||||
"github.com/buildkite/yaml v2.1.0+incompatible/go.mod"
|
|
||||||
"github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod"
|
|
||||||
"github.com/client9/misspell v0.3.4/go.mod"
|
|
||||||
"github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod"
|
|
||||||
"github.com/containerd/containerd v1.3.4"
|
|
||||||
"github.com/containerd/containerd v1.3.4/go.mod"
|
|
||||||
"github.com/coreos/go-semver v0.3.0"
|
|
||||||
"github.com/coreos/go-semver v0.3.0/go.mod"
|
|
||||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
|
||||||
"github.com/davecgh/go-spew v1.1.1"
|
|
||||||
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
|
||||||
"github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9"
|
|
||||||
"github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9/go.mod"
|
|
||||||
"github.com/docker/distribution v2.7.1+incompatible"
|
|
||||||
"github.com/docker/distribution v2.7.1+incompatible/go.mod"
|
|
||||||
"github.com/docker/engine v17.12.0-ce-rc1.0.20200309214505-aa6a9891b09c+incompatible"
|
|
||||||
"github.com/docker/engine v17.12.0-ce-rc1.0.20200309214505-aa6a9891b09c+incompatible/go.mod"
|
|
||||||
"github.com/docker/go-connections v0.3.0"
|
|
||||||
"github.com/docker/go-connections v0.3.0/go.mod"
|
|
||||||
"github.com/docker/go-units v0.4.0"
|
|
||||||
"github.com/docker/go-units v0.4.0/go.mod"
|
|
||||||
"github.com/drone/drone-go v1.2.1-0.20200326064413-195394da1018"
|
|
||||||
"github.com/drone/drone-go v1.2.1-0.20200326064413-195394da1018/go.mod"
|
|
||||||
"github.com/drone/drone-go v1.4.1-0.20201109202657-b9e58bbbcf27"
|
|
||||||
"github.com/drone/drone-go v1.4.1-0.20201109202657-b9e58bbbcf27/go.mod"
|
|
||||||
"github.com/drone/envsubst v1.0.2"
|
|
||||||
"github.com/drone/envsubst v1.0.2/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200506182602-d2e6327ade15"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200506182602-d2e6327ade15/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200812000613-56f7972d3926"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200812000613-56f7972d3926/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200813033918-b849bd35b2eb"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200813033918-b849bd35b2eb/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200909134029-fcb3f98de0a9"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200909134029-fcb3f98de0a9/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200915182738-e567c860a85f"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200915182738-e567c860a85f/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200915183738-9497cc9f42d2"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200915183738-9497cc9f42d2/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200921133603-3bba1bdfc563"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200921133603-3bba1bdfc563/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200921171532-3b4667a1ac54"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20200921171532-3b4667a1ac54/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20201008195716-df774e029a03"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20201008195716-df774e029a03/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20201015180055-9f0ba71ae255"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20201015180055-9f0ba71ae255/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20201016191343-2020a87dfb8c"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20201016191343-2020a87dfb8c/go.mod"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20201109204555-a2c975273a49"
|
|
||||||
"github.com/drone/runner-go v1.6.1-0.20201109204555-a2c975273a49/go.mod"
|
|
||||||
"github.com/drone/signal v1.0.0"
|
|
||||||
"github.com/drone/signal v1.0.0/go.mod"
|
|
||||||
"github.com/envoyproxy/go-control-plane v0.9.0/go.mod"
|
|
||||||
"github.com/envoyproxy/go-control-plane v0.9.4/go.mod"
|
|
||||||
"github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod"
|
|
||||||
"github.com/ghodss/yaml v1.0.0"
|
|
||||||
"github.com/ghodss/yaml v1.0.0/go.mod"
|
|
||||||
"github.com/gogo/protobuf v0.0.0-20170307180453-100ba4e88506"
|
|
||||||
"github.com/gogo/protobuf v0.0.0-20170307180453-100ba4e88506/go.mod"
|
|
||||||
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
|
|
||||||
"github.com/golang/mock v1.1.1/go.mod"
|
|
||||||
"github.com/golang/protobuf v1.2.0/go.mod"
|
|
||||||
"github.com/golang/protobuf v1.3.2/go.mod"
|
|
||||||
"github.com/golang/protobuf v1.3.3"
|
|
||||||
"github.com/golang/protobuf v1.3.3/go.mod"
|
|
||||||
"github.com/google/go-cmp v0.2.0/go.mod"
|
|
||||||
"github.com/google/go-cmp v0.3.0"
|
|
||||||
"github.com/google/go-cmp v0.3.0/go.mod"
|
|
||||||
"github.com/gorilla/mux v1.7.4"
|
|
||||||
"github.com/gorilla/mux v1.7.4/go.mod"
|
|
||||||
"github.com/hashicorp/errwrap v1.0.0"
|
|
||||||
"github.com/hashicorp/errwrap v1.0.0/go.mod"
|
|
||||||
"github.com/hashicorp/go-multierror v1.0.0"
|
|
||||||
"github.com/hashicorp/go-multierror v1.0.0/go.mod"
|
|
||||||
"github.com/joho/godotenv v1.3.0"
|
|
||||||
"github.com/joho/godotenv v1.3.0/go.mod"
|
|
||||||
"github.com/kelseyhightower/envconfig v1.4.0"
|
|
||||||
"github.com/kelseyhightower/envconfig v1.4.0/go.mod"
|
|
||||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1"
|
|
||||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
|
||||||
"github.com/kr/pretty v0.1.0"
|
|
||||||
"github.com/kr/pretty v0.1.0/go.mod"
|
|
||||||
"github.com/kr/pty v1.1.1/go.mod"
|
|
||||||
"github.com/kr/text v0.1.0"
|
|
||||||
"github.com/kr/text v0.1.0/go.mod"
|
|
||||||
"github.com/mattn/go-isatty v0.0.8"
|
|
||||||
"github.com/mattn/go-isatty v0.0.8/go.mod"
|
|
||||||
"github.com/morikuni/aec v1.0.0"
|
|
||||||
"github.com/morikuni/aec v1.0.0/go.mod"
|
|
||||||
"github.com/natessilva/dag v0.0.0-20180124060714-7194b8dcc5c4"
|
|
||||||
"github.com/natessilva/dag v0.0.0-20180124060714-7194b8dcc5c4/go.mod"
|
|
||||||
"github.com/opencontainers/go-digest v1.0.0-rc1"
|
|
||||||
"github.com/opencontainers/go-digest v1.0.0-rc1/go.mod"
|
|
||||||
"github.com/opencontainers/image-spec v1.0.1"
|
|
||||||
"github.com/opencontainers/image-spec v1.0.1/go.mod"
|
|
||||||
"github.com/pkg/errors v0.8.1"
|
|
||||||
"github.com/pkg/errors v0.8.1/go.mod"
|
|
||||||
"github.com/pmezard/go-difflib v1.0.0"
|
|
||||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
|
||||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod"
|
|
||||||
"github.com/sirupsen/logrus v1.4.2"
|
|
||||||
"github.com/sirupsen/logrus v1.4.2/go.mod"
|
|
||||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
|
||||||
"github.com/stretchr/objx v0.1.1/go.mod"
|
|
||||||
"github.com/stretchr/testify v1.2.2/go.mod"
|
|
||||||
"github.com/stretchr/testify v1.3.0"
|
|
||||||
"github.com/stretchr/testify v1.3.0/go.mod"
|
|
||||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
|
||||||
"golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4"
|
|
||||||
"golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod"
|
|
||||||
"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
|
|
||||||
"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
|
|
||||||
"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
|
|
||||||
"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3"
|
|
||||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
|
||||||
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
|
||||||
"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
|
|
||||||
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
|
||||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58"
|
|
||||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20190422165155-953cdadca894"
|
|
||||||
"golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod"
|
|
||||||
"golang.org/x/text v0.3.0"
|
|
||||||
"golang.org/x/text v0.3.0/go.mod"
|
|
||||||
"golang.org/x/time v0.0.0-20181108054448-85acf8d2951c"
|
|
||||||
"golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod"
|
|
||||||
"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
|
|
||||||
"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
|
|
||||||
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
|
||||||
"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
|
|
||||||
"google.golang.org/appengine v1.1.0/go.mod"
|
|
||||||
"google.golang.org/appengine v1.4.0/go.mod"
|
|
||||||
"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
|
|
||||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55"
|
|
||||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod"
|
|
||||||
"google.golang.org/grpc v1.19.0/go.mod"
|
|
||||||
"google.golang.org/grpc v1.23.0/go.mod"
|
|
||||||
"google.golang.org/grpc v1.25.1/go.mod"
|
|
||||||
"google.golang.org/grpc v1.29.1"
|
|
||||||
"google.golang.org/grpc v1.29.1/go.mod"
|
|
||||||
"gopkg.in/alecthomas/kingpin.v2 v2.2.6"
|
|
||||||
"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod"
|
|
||||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
|
||||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127"
|
|
||||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
|
||||||
"gopkg.in/yaml.v2 v2.2.2"
|
|
||||||
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
|
||||||
"gotest.tools v2.2.0+incompatible"
|
|
||||||
"gotest.tools v2.2.0+incompatible/go.mod"
|
|
||||||
"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
|
|
||||||
"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
|
|
||||||
)
|
|
||||||
|
|
||||||
go-module_set_globals
|
|
||||||
|
|
||||||
MY_PV="${PV/_rc/-rc}"
|
|
||||||
|
|
||||||
DESCRIPTION="Drone CI - Docker Runner"
|
|
||||||
HOMEPAGE="https://drone.io/"
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
|
||||||
SRC_URI="https://github.com/drone-runners/drone-runner-docker/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
${EGO_SUM_SRC_URI}"
|
|
||||||
S="${WORKDIR}"
|
|
||||||
else
|
|
||||||
EGIT_REPO_URI="https://github.com/drone-runners/drone-runner-docker"
|
|
||||||
inherit git-r3
|
|
||||||
S="${WORKDIR}/${P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
LICENSE="|| ( PolyForm-Small-Business-1.0.0 PolyForm-Free-Trial-1.0.0 )"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
RESTRICT="mirror"
|
|
||||||
RDEPEND="acct-user/drone-runner-docker"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
pushd "${P}" || die
|
|
||||||
|
|
||||||
go build || die
|
|
||||||
|
|
||||||
popd || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
pushd "${P}" || die
|
|
||||||
|
|
||||||
dosbin drone-runner-docker
|
|
||||||
|
|
||||||
popd || die
|
|
||||||
|
|
||||||
systemd_newunit "${FILESDIR}/${PN}.service-1.6.2" "${PN}.service"
|
|
||||||
|
|
||||||
insinto "/etc/drone-runner-docker"
|
|
||||||
newins "${FILESDIR}/app.ini-1.6.2" app.ini
|
|
||||||
|
|
||||||
fowners drone-runner-docker:drone-runner-docker /etc/drone-runner-docker
|
|
||||||
fperms 0700 /etc/drone-runner-docker
|
|
||||||
fowners drone-runner-docker:drone-runner-docker /etc/drone-runner-docker/app.ini
|
|
||||||
fperms 0600 /etc/drone-runner-docker/app.ini
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
# Drone docker runner configuration file. See
|
|
||||||
# https://docs.drone.io/runner/docker/configuration/reference/ for a complete
|
|
||||||
# list of configuration options.
|
|
||||||
|
|
||||||
# provides the hostname (and optional port) of your Drone server. The runner connects to the server at the host address to receive pipelines for execution.
|
|
||||||
DRONE_RPC_HOST="drone.example.com"
|
|
||||||
|
|
||||||
# provides the protocol used to connect to your Drone server. The value must be either http or https.
|
|
||||||
DRONE_RPC_PROTO="https"
|
|
||||||
|
|
||||||
# provides the shared secret used to authenticate with your Drone server. This must match the secret defined in your Drone server configuration.
|
|
||||||
DRONE_RPC_SECRET="your-secret-goes-here"
|
|
||||||
|
|
||||||
# Required string value configures ports to publish for docker: space-separated
|
|
||||||
# list of <hostport>:<containerport> tuples.
|
|
||||||
DOCKER_PUBLISH="3000:3000"
|
|
||||||
|
|
||||||
# Optional string value of extra args passed verbatim to the docker command.
|
|
||||||
DOCKER_DRONE_EXTRA_ARGS=""
|
|
|
@ -1,23 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=drone.io docker runner
|
|
||||||
Documentation=https://docs.drone.io/
|
|
||||||
|
|
||||||
After=docker.service
|
|
||||||
After=network.target
|
|
||||||
Requires=docker.service
|
|
||||||
Requires=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=drone-runner-docker
|
|
||||||
Group=drone-runner-docker
|
|
||||||
|
|
||||||
Environment="RUNNER_CONFIG_FILE=/etc/drone-runner-docker/app.ini"
|
|
||||||
|
|
||||||
ExecStart=drone-runner-docker.sh
|
|
||||||
ExecStop=docker container stop drone-runner
|
|
||||||
ExecStopPost=docker container rm drone-runner
|
|
||||||
|
|
||||||
Restart=on-failure
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,29 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# $RUNNER_CONFIG_FILE contains path to the config file
|
|
||||||
|
|
||||||
if [[ -z "${RUNNER_CONFIG_FILE}" ]] ; then
|
|
||||||
echo "RUNNER_CONFIG_FILE not set!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
. "${RUNNER_CONFIG_FILE}"
|
|
||||||
|
|
||||||
docker_args=""
|
|
||||||
|
|
||||||
for var in "${!DRONE_@}" ; do
|
|
||||||
docker_args="${docker_args} --env=${var}=${!var}"
|
|
||||||
done
|
|
||||||
|
|
||||||
for p in ${DOCKER_PUBLISH} ; do
|
|
||||||
docker_args="${docker_args} --publish=${p}"
|
|
||||||
done
|
|
||||||
|
|
||||||
docker_args="${docker_args} ${DOCKER_DRONE_EXTRA_ARGS}"
|
|
||||||
|
|
||||||
docker run \
|
|
||||||
--volume=/run/docker.sock:/var/run/docker.sock \
|
|
||||||
${docker_args} \
|
|
||||||
--restart=always \
|
|
||||||
--detach=false \
|
|
||||||
--name=drone-runner \
|
|
||||||
drone/drone-runner-docker:<VERSION>
|
|
Loading…
Reference in a new issue