From 61ac49c945b16009724b2fe9fbf911204e02245c Mon Sep 17 00:00:00 2001 From: Gerald Pinder <4626052+gmpinder@users.noreply.github.com> Date: Sat, 27 Jan 2024 16:02:45 -0500 Subject: [PATCH] Install earthly 0.7 --- config/jp-apps.yml | 1 + config/jp-packages.yml | 4 ++-- config/scripts/install-earthly.sh | 8 ++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 config/scripts/install-earthly.sh diff --git a/config/jp-apps.yml b/config/jp-apps.yml index cd1f8c8..df34581 100644 --- a/config/jp-apps.yml +++ b/config/jp-apps.yml @@ -8,6 +8,7 @@ modules: - install-mkcert.sh - install-syncthing.sh - setup-kubectl.sh + - install-earthly.sh - from-file: jp-packages.yml - type: script scripts: diff --git a/config/jp-packages.yml b/config/jp-packages.yml index 0e0664b..435d2ee 100644 --- a/config/jp-packages.yml +++ b/config/jp-packages.yml @@ -1,6 +1,6 @@ type: rpm-ostree repos: - - https://pkg.earthly.dev/earthly.repo + # - https://pkg.earthly.dev/earthly.repo - https://copr.fedorainfracloud.org/coprs/varlad/helix/repo/fedora-%OS_VERSION%/varlad-helix-fedora-%OS_VERSION%.repo - https://pkgs.tailscale.com/stable/fedora/%OS_VERSION%/tailscale.repo - https://cli.github.com/packages/rpm/gh-cli.repo @@ -15,7 +15,7 @@ install: - id3v2 - docker - xinput - - earthly + # - earthly - kubectl - helm - neovim diff --git a/config/scripts/install-earthly.sh b/config/scripts/install-earthly.sh new file mode 100644 index 0000000..9189683 --- /dev/null +++ b/config/scripts/install-earthly.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -euo pipefail + +VERSION=v0.7.23 + +wget -q https://github.com/earthly/earthly/releases/download/$VERSION/earthly-linux-amd64 -O /usr/bin/earthly +chmod +x /usr/bin/earthly