From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/earthly/
Date: Tue, 28 Nov 2023 16:57:52 +0000 (UTC) [thread overview]
Message-ID: <1701190670.c97d665fd728e5ff1631610c75abe753244d3d6c.xgqt@gentoo> (raw)
commit: c97d665fd728e5ff1631610c75abe753244d3d6c
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 28 14:55:04 2023 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Nov 28 16:57:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c97d665f
app-containers/earthly: bump to 0.7.22
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
app-containers/earthly/Manifest | 2 +
app-containers/earthly/earthly-0.7.22.ebuild | 73 ++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/app-containers/earthly/Manifest b/app-containers/earthly/Manifest
index f9c6ed5875db..aed1b2b04ab9 100644
--- a/app-containers/earthly/Manifest
+++ b/app-containers/earthly/Manifest
@@ -1,2 +1,4 @@
DIST earthly-0.7.21-deps.tar.xz 153233840 BLAKE2B e5f2590997eb839232a84bc75c787ad86434b1992b61a64fb312e55034356c37af041d99aeb792386209c22b50488a4a023a3f96d6a71fd1618d42352a90c82a SHA512 7ebde8158672dd63d35be2a2ac1eef4cb3ae7b48c312dca9a856676520d959467766cbcc2449b3bf899fa730283fc78c05bccf465c2fefb18226c7779267dd6e
DIST earthly-0.7.21.tar.gz 7788611 BLAKE2B 697194102a3d0af16744b42f2489a38db588ddfcc4d9e3358f259733500a69c188e11e71f6f5e9900a36c91b84d0314a6defdea339d4882f0490f2a9a4119408 SHA512 408298019bdb5797d96edd008b8e430de2cce701c93cb2f55a0faf5a9a4865e26283d8a80b82163e8b51ef82518ec35a7530aa887d598c15027243f6008954d1
+DIST earthly-0.7.22-deps.tar.xz 156575120 BLAKE2B d10d38f62ddd134705fd840a5912d69f0ce50aa39d6fba9ce1e23496af2a19034886eb47521333ad6fd0b36addba59b465eb9b74e585ae79505a47baaa5487de SHA512 c3f6648d0d51a4195c191c6ad6db92adec5e7e488cb63c0be49338445d5d0a22a1d49792d88a297689a23b38fcd0e8eab701ad1419c19d03d627c3ec92414b56
+DIST earthly-0.7.22.tar.gz 7813193 BLAKE2B f34b938776379f2ba0722757d53646d89841ed0dc35dc106f79f69166e3ab12c78b29913a5711ae403a940dbfab9526c306b773aa962bbb4b5bdc27fb04fce23 SHA512 62bb8c477589d5d3492fe5c2c2534d5f56afa4aca8862bee6691e867d3dd6fb904ecbe08c02a0058968c98b1b75beb43caf4f7b6997a00c2d73fc9614516658d
diff --git a/app-containers/earthly/earthly-0.7.22.ebuild b/app-containers/earthly/earthly-0.7.22.ebuild
new file mode 100644
index 000000000000..b5a66cfbbdd4
--- /dev/null
+++ b/app-containers/earthly/earthly-0.7.22.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Git commit SHA is needed at runtime by earthly to pull and bootstrap images.
+if [[ "${PV}" == 0.7.22 ]] ; then
+ GIT_COMMIT_SHA="5763a1bb41dfa3fb7246d657962da06295cf83d7"
+else
+ die 'Could not detect "GIT_COMMIT_SHA", please update the ebuild.'
+fi
+
+inherit go-module
+
+DESCRIPTION="Build automation tool that executes in containers"
+HOMEPAGE="https://earthly.dev/
+ https://github.com/earthly/earthly/"
+SRC_URI="
+ https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz
+"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ || (
+ app-containers/docker
+ app-containers/podman
+ )
+"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
+
+src_compile() {
+ mkdir -p bin || die
+
+ local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix"
+ local go_ldflags="
+ -X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV}
+ -X main.GitSha=${GIT_COMMIT_SHA}
+ -X main.Version=v${PV}
+ "
+ local -a go_buildargs=(
+ -tags "${go_tags}"
+ -ldflags "${go_ldflags}"
+ -o bin
+ )
+ ego build "${go_buildargs[@]}" ./cmd/...
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe bin/earthly
+ newexe bin/debugger earthly-debugger
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ if has_version "app-containers/podman" ; then
+ ewarn "Podman is supported but not recommended."
+ ewarn "If issues arise, then please try running earthly with docker."
+ fi
+
+ if has_version "app-containers/podman[rootless]" ; then
+ ewarn "Running podman in rootless mode is not supported because"
+ ewarn "earthly/dind and earthly/buildkit require privileged access."
+ ewarn "For more info see: https://docs.earthly.dev/docs/guides/podman/"
+ fi
+}
next reply other threads:[~2023-11-28 16:57 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-28 16:57 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-14 14:08 [gentoo-commits] repo/gentoo:master commit in: app-containers/earthly/ Maciej Barć
2024-09-14 14:08 Maciej Barć
2024-08-17 16:06 Arthur Zamarin
2024-07-22 1:09 Sam James
2024-07-15 7:10 Maciej Barć
2024-07-15 7:10 Maciej Barć
2024-07-09 2:56 Sam James
2024-06-27 22:42 Maciej Barć
2024-06-27 22:42 Maciej Barć
2024-06-27 22:42 Maciej Barć
2024-06-25 22:03 Sam James
2024-06-11 23:16 Maciej Barć
2024-06-11 23:16 Maciej Barć
2024-06-04 18:23 Arthur Zamarin
2024-05-30 13:15 Maciej Barć
2024-05-30 13:15 Maciej Barć
2024-05-24 0:34 Sam James
2024-05-23 22:08 Maciej Barć
2024-05-18 1:17 Maciej Barć
2024-05-07 1:16 Sam James
2024-04-25 21:03 Maciej Barć
2024-04-25 21:03 Maciej Barć
2024-04-25 21:03 Maciej Barć
2024-04-23 8:50 Sam James
2024-04-17 23:59 Sam James
2024-04-17 22:10 Maciej Barć
2024-04-04 19:01 Maciej Barć
2024-04-04 19:01 Maciej Barć
2024-03-31 7:22 Arthur Zamarin
2024-03-18 23:04 Maciej Barć
2024-03-18 23:04 Maciej Barć
2024-03-12 17:03 Maciej Barć
2024-03-12 17:03 Maciej Barć
2024-03-12 17:03 Maciej Barć
2024-03-08 13:02 Arthur Zamarin
2024-02-27 23:57 Sam James
2024-02-26 0:54 Maciej Barć
2024-02-03 13:00 Maciej Barć
2024-01-23 3:00 Maciej Barć
2024-01-23 3:00 Maciej Barć
2024-01-23 3:00 Maciej Barć
2024-01-22 5:53 Sam James
2024-01-06 9:02 Sam James
2023-12-19 18:59 Maciej Barć
2023-11-28 16:57 Maciej Barć
2023-11-28 16:57 Maciej Barć
2023-11-28 16:57 Maciej Barć
2023-11-26 0:11 Sam James
2023-10-31 0:47 Sam James
2023-10-26 13:13 Maciej Barć
2023-10-09 20:30 Sam James
2023-10-06 15:21 Maciej Barć
2023-10-06 15:21 Maciej Barć
2023-09-30 14:24 Maciej Barć
2023-08-31 14:41 Maciej Barć
2023-08-31 14:41 Maciej Barć
2023-08-05 16:53 Maciej Barć
2023-08-03 19:03 Maciej Barć
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=1701190670.c97d665fd728e5ff1631610c75abe753244d3d6c.xgqt@gentoo \
--to=xgqt@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