public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/earthly/
Date: Sat, 30 Sep 2023 14:24:31 +0000 (UTC)	[thread overview]
Message-ID: <1696083866.68eb9487c2f54e4bfdfb54ed6fa5f194895588e1.xgqt@gentoo> (raw)

commit:     68eb9487c2f54e4bfdfb54ed6fa5f194895588e1
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 29 11:31:48 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Sep 30 14:24:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68eb9487

app-containers/earthly: bump to 0.7.19

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-containers/earthly/Manifest              |  2 +
 app-containers/earthly/earthly-0.7.19.ebuild | 74 ++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/app-containers/earthly/Manifest b/app-containers/earthly/Manifest
index 7b81f3802e07..d30bcc9c6347 100644
--- a/app-containers/earthly/Manifest
+++ b/app-containers/earthly/Manifest
@@ -2,3 +2,5 @@ DIST earthly-0.7.15-deps.tar.xz 152884116 BLAKE2B 69f937981605da5db306cdd7f06cde
 DIST earthly-0.7.15.tar.gz 7750609 BLAKE2B b727c6cde93abb3b3e39addc9e79c07fb21232902bca61b5a2b843d1c92b4b6628a1122eced0141b6be6c6678d80a7e473efc6513af07a416b3d6972e210defb SHA512 975d1c1c0055ed6e2884102f4d785833aea4c9257ba3f34e70eeea95c1215eb1dc769a036bdf036682d95dfa6bb30c35b897ff337b2af8b5d9d459f14ecc7cc4
 DIST earthly-0.7.17-deps.tar.xz 152916336 BLAKE2B c54a1b6166cd55ac8417004c50c742c854a90bfd642f893d24b1a626498bbdfb02ef9e6b62ef79adac65db313b7819a000a673720a816159595c92d791d9c9d2 SHA512 df5db663b716cd8104b118cc421096b4ae1ccaf72a211a72c6a56812b8e0c8c890f4607dfa99dc3e240afca123793f6378adfb38a83c53facab5f39761e53ec1
 DIST earthly-0.7.17.tar.gz 7755932 BLAKE2B e08d380673698e085cc5eb645337a709bf0ff3429f4565d15750e6f1d8aa82dc83d1f5c7aa155da163eb6b6376f275b171b88117b9a7903b23c1d7aba60fa38e SHA512 b495c5abf90397e044da3e394d859e02280c11b16f4c32f742624f7c97a51c597d32bdcc527cf5a99d4c5b09d1a238b7a6128d57e4be7cb0858e0f361fd0c597
+DIST earthly-0.7.19-deps.tar.xz 152930992 BLAKE2B 436e66036a5772a8bb2f283522f064670b8bb9d8e811bf159db7c4a883d7a3be37e3acac3b003f21b806fe48a87b0aff9ea422b730b79c73d0ffcf08aeabc9c7 SHA512 154903533b406f8a2f4c7f7f41ad94ab09efd784c79ce4d579821e0d17dd9df5f783806d901e2c7a857467e4c543985847b379e167db57a0f5ed446ce78ec256
+DIST earthly-0.7.19.tar.gz 7758683 BLAKE2B e81ca5c98bf92b69dff497202d9ec202d528422c16e435a90ef4758886f0b09ffed32e2a256e961db54aefd7549ba93d0983cddbb7cb878f747dcf4702fc1442 SHA512 b57215fd6dff2bbe4b2e559bc535746abdef6ddef9f808cce9519c6bff7578fb735923733ef2e4607fbbf00b9fcbde5a1f60cbb7098bc66b12165749d9404d84

diff --git a/app-containers/earthly/earthly-0.7.19.ebuild b/app-containers/earthly/earthly-0.7.19.ebuild
new file mode 100644
index 000000000000..118f97a99321
--- /dev/null
+++ b/app-containers/earthly/earthly-0.7.19.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+
+	# Git SHA is needed at runtime by earthly to pull and bootstrap images.
+	local git_sha
+	if [[ "${PV}" == 0.7.19 ]] ; then
+		git_sha="f379f768ffee3e71e80ae196611dd6b798937277"
+	else
+		die 'Could not detect "git_sha", please update the ebuild.'
+	fi
+
+	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_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
+}


             reply	other threads:[~2023-09-30 14:24 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-30 14:24 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-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-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=1696083866.68eb9487c2f54e4bfdfb54ed6fa5f194895588e1.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