Skip to content

Commit

Permalink
updates distribution & cache
Browse files Browse the repository at this point in the history
@patsevanton added tbz support & btop
updated cache
improved buildcache script to use local binenv
  • Loading branch information
leucos committed Oct 20, 2021
1 parent 24f0c3e commit 2db9d3e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 16 deletions.
8 changes: 5 additions & 3 deletions buildcache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@

set -eu

make

echo "Copying distribution to your config directory"
cp distributions/distributions.yaml ~/.config/binenv/

echo "Updating the cache (2 threads)"
binenv update -f -c2
echo "Updating the cache (4 threads)"
./bin/binenv update -f -c4

echo "Importing resulting cache into code"
cat ~/.cache/binenv/cache.json | jq '.' > distributions/cache.json

echo "Please test the cache using `./validate.sh code`"
echo "Please test the cache using './validate.sh code'"
18 changes: 18 additions & 0 deletions distributions/cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@
"0.0.1"
],
"argocd": [
"2.1.5",
"2.1.4",
"2.1.3",
"2.1.2",
"2.1.1",
Expand Down Expand Up @@ -372,6 +374,7 @@
"0.1.0"
],
"arkade": [
"0.8.6",
"0.8.5",
"0.8.4",
"0.8.3",
Expand Down Expand Up @@ -754,6 +757,7 @@
"0.1.0-alpha-1"
],
"broot": [
"1.6.5",
"1.6.4",
"1.6.3",
"1.6.2",
Expand Down Expand Up @@ -867,6 +871,8 @@
"0.4.1"
],
"btop": [
"1.0.18",
"1.0.17",
"1.0.16",
"1.0.15",
"1.0.14",
Expand Down Expand Up @@ -963,6 +969,7 @@
"0.4.0"
],
"chezmoi": [
"2.7.2",
"2.7.1",
"2.7.0",
"2.6.1",
Expand Down Expand Up @@ -1513,6 +1520,7 @@
"0.1.1"
],
"devspace": [
"5.17.0-beta.5",
"5.17.0-beta.4",
"5.17.0-beta.3",
"5.17.0-beta.2",
Expand Down Expand Up @@ -2259,6 +2267,7 @@
"0.1.0"
],
"exo": [
"1.45.2",
"1.45.1",
"1.45.0",
"1.44.0",
Expand Down Expand Up @@ -2480,6 +2489,9 @@
"1.0.0"
],
"geesefs": [
"0.29.6",
"0.29.5",
"0.29.4",
"0.29.3",
"0.29.2",
"0.29.1",
Expand Down Expand Up @@ -4176,6 +4188,7 @@
"0.2.0"
],
"helmwave": [
"0.14.2",
"0.14.1",
"0.14.0",
"0.13.0",
Expand Down Expand Up @@ -7163,6 +7176,7 @@
"0.1.0"
],
"packer": [
"1.7.7",
"1.7.6",
"1.7.5",
"1.7.4",
Expand Down Expand Up @@ -7260,6 +7274,7 @@
"0.1.1"
],
"pluto": [
"5.1.0",
"5.0.1",
"5.0.0",
"4.3.0",
Expand Down Expand Up @@ -7781,6 +7796,7 @@
"0.9.5"
],
"saml2aws": [
"2.33.0",
"2.32.0",
"2.31.0",
"2.30.0",
Expand Down Expand Up @@ -8676,6 +8692,7 @@
"1.0.0"
],
"terraform": [
"1.1.0-alpha20211020",
"1.0.9",
"1.1.0-alpha20211006",
"1.0.8",
Expand Down Expand Up @@ -8910,6 +8927,7 @@
"0.1.0"
],
"terragrunt": [
"0.35.4",
"0.35.3",
"0.35.2",
"0.35.1",
Expand Down
26 changes: 13 additions & 13 deletions distributions/distributions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,19 +237,19 @@ sources:
binaries:
- broot

# btop:
# description: A monitor of resources
# map:
# amd64: x86_64
# list:
# type: github-releases
# url: https://api.github.com/repos/aristocratos/btop/releases
# fetch:
# url: https://github.com/aristocratos/btop/releases/download/v{{ .Version }}/btop-{{ .Version }}-{{ .OS }}-{{ .Arch }}.tbz
# install:
# type: tbz
# binaries:
# - btop
btop:
description: A monitor of resources
map:
amd64: x86_64
list:
type: github-releases
url: https://api.github.com/repos/aristocratos/btop/releases
fetch:
url: https://github.com/aristocratos/btop/releases/download/v{{ .Version }}/btop-{{ .Version }}-{{ .Arch }}-{{ .OS }}-musl.tbz
install:
type: tbz
binaries:
- btop

buildx:
description: Docker CLI plugin for extended build capabilities with BuildKit
Expand Down

0 comments on commit 2db9d3e

Please sign in to comment.