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: Mon, 26 Feb 2024 00:54:59 +0000 (UTC)	[thread overview]
Message-ID: <1708908848.840aa3e75db1242e549ecb4f7ad5620bd6b0e77e.xgqt@gentoo> (raw)

commit:     840aa3e75db1242e549ecb4f7ad5620bd6b0e77e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 00:45:18 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 00:54:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840aa3e7

app-containers/earthly: bump to 0.8.4

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

 app-containers/earthly/Manifest             |  2 +
 app-containers/earthly/earthly-0.8.4.ebuild | 73 +++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/app-containers/earthly/Manifest b/app-containers/earthly/Manifest
index ee4166da50ae..91b566292805 100644
--- a/app-containers/earthly/Manifest
+++ b/app-containers/earthly/Manifest
@@ -4,3 +4,5 @@ DIST earthly-0.8.0-deps.tar.xz 158417236 BLAKE2B 998240c6065dd46eebc311975fa98e6
 DIST earthly-0.8.0.tar.gz 8029214 BLAKE2B 1ca0afa4e92a05fca47ada6a6b74d789fb9571b0e92cc7bbb0ccc88930a128db76382b3e5137073ebd82f74fb8d43b81f8e6d056a08e6fa73978f23b680b36e2 SHA512 661c1e15cf8943dfcd8d55c36191f4f9da6dc705bb894194ff0a31733038f7b74d2b187a066c6a6cc329a9a89f362299f1de3b370f273ce87e2e3cdd2b4c8163
 DIST earthly-0.8.3-deps.tar.xz 158480860 BLAKE2B 4b875ef1ab7a244e2b92f13bc3dc55772c8e74af77b8a9814b2e964da4547a84fd7fe94ce96f77d4793a41039857e45ed133e61b8798d03c94d9546668dbaccd SHA512 e0071fbb9d5e85a81322c1e8fa36d393916031b99ca8783ab70c15084e5dd60cedbed24b9e7fe1e7c7b2e79c6b5f554b0518524b63b4c5e6d25aa99e56bec404
 DIST earthly-0.8.3.tar.gz 8034636 BLAKE2B f61133eda18d81588d35a1b4916bdc72e3a037007d4872e093be035dc25f502a8947e2610af49f8339835cc2fd607ee2bc813ad19124625f0fa55aa3e183bed8 SHA512 a2880e0b1c8d2646b70ae21557f5e05f00b31667ae10fcd124d9519b1e9a75386b7f7be3867a2ac96b3381cefa6ea1ff560844df0ae098e7ae5acc11eaa93f97
+DIST earthly-0.8.4-deps.tar.xz 158470344 BLAKE2B c3ec6369f8b397abd9b76dc77461c628e14ecc5866c8b66d094c3fe3194b18330be78454b57f211a717785210da40dc3c83e7d9769c62d621ca42a9d70f7be7f SHA512 d9b0960e02cf288b933a8da954e597957b2e8dc0920e2dca208a17d41c84bc1bcff789ee1c02fa930d5d0a816cb03437b091375168e0f46f3d3cf330a643b308
+DIST earthly-0.8.4.tar.gz 8041021 BLAKE2B 66057e29d4b287a220d8799efb4a1c5c43ea7641029e3af59bf8556125df28f9eafddc20d515fd20fab8c09bbb6278af4ea525f4bbe38d0e24ee031fc65c7336 SHA512 b663a10feb255329dfca30d5d70cb5c36ad5f96ed2b0cd30c46dd1b4ad087ab15b941fe6d3be3e32b1eee8199b5ee8ae50d61739c290b8967b6fcfd4126327db

diff --git a/app-containers/earthly/earthly-0.8.4.ebuild b/app-containers/earthly/earthly-0.8.4.ebuild
new file mode 100644
index 000000000000..2d492ba3b144
--- /dev/null
+++ b/app-containers/earthly/earthly-0.8.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 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.8.4 ]] ; then
+	COMMIT_SHA=c22fa520401cf274bd92151442ea0d9c353173fa
+else
+	die 'Could not detect "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=${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
+}


             reply	other threads:[~2024-02-26  0:55 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26  0:54 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-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-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=1708908848.840aa3e75db1242e549ecb4f7ad5620bd6b0e77e.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