antiarchitect / asdf-helm Goto Github PK
View Code? Open in Web Editor NEWHelm plugin for asdf version manager https://github.com/asdf-vm/asdf
License: MIT License
Helm plugin for asdf version manager https://github.com/asdf-vm/asdf
License: MIT License
The basic idea of asdf that you can manage different versions of tools in different projects..
The plugin solves only one thing: install
The helm env variables are the same for each version, here is an example:
HELM_BIN="helm"
HELM_BURST_LIMIT="100"
HELM_CACHE_HOME="/Users/vitalis/Library/Caches/helm"
HELM_CONFIG_HOME="/Users/vitalis/Library/Preferences/helm"
HELM_DATA_HOME="/Users/vitalis/Library/helm"
HELM_DEBUG="false"
HELM_KUBEAPISERVER=""
HELM_KUBEASGROUPS=""
HELM_KUBEASUSER=""
HELM_KUBECAFILE=""
HELM_KUBECONTEXT=""
HELM_KUBEINSECURE_SKIP_TLS_VERIFY="false"
HELM_KUBETLS_SERVER_NAME=""
HELM_KUBETOKEN=""
HELM_MAX_HISTORY="10"
HELM_NAMESPACE="default"
HELM_PLUGINS="/Users/vitalis/Library/helm/plugins"
It means that any helm plugin that will be installed is shared across all helm versions...
It seems that d4bdfe2 broke my build :)
I am using the asdf Github Action to install dependencies and it started failing this morning. Note the destination url that asdf is trying to extract the package to:
/tmp/helm_HR4UAL/helm-v3.6.3-linux-.tar.gz
The correct destination is something like:
/tmp/helm_VejCJj/helm-v3.6.3-linux-amd64.tar.gz
Here is the sample Github Action workflow:
jobs:
do-the-thing:
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup asdf
uses: asdf-vm/actions/setup@v1
- name: Install asdf dependencies
uses: asdf-vm/actions/install@v1
Tool versions file:
pluto 4.0.4
helm 3.6.3
polaris 4.0.4
Full output:
##[debug]Evaluating condition for step: 'Install asdf dependencies'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Install asdf dependencies
##[debug]Loading inputs
##[debug]Loading env
Run asdf-vm/actions/install@v1
/home/runner/.asdf/bin/asdf plugin-list
lp-cli
Installing pluto plugin...
/home/runner/.asdf/bin/asdf plugin-add pluto
initializing plugin repository...Cloning into '/home/runner/.asdf/repository'...
Installing helm plugin...
/home/runner/.asdf/bin/asdf plugin-add helm
Installing polaris plugin...
/home/runner/.asdf/bin/asdf plugin-add polaris
/home/runner/.asdf/bin/asdf install
Downloading helm from https://get.helm.sh/helm-v3.6.3-linux-.tar.gz to /tmp/helm_HR4UAL/helm-v3.6.3-linux-.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 215 100 215 0 0 634 0 --:--:-- --:--:-- --:--:-- 634
Creating bin directory
Cleaning previous binaries
Copying binary
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Error: Action failed with error Error: The process '/home/runner/.asdf/bin/asdf' failed with exit code 1
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Install asdf dependencies
Temp workaround:
I will use the new env var for now but we should fix this so more builds dont suddenly break.
$ asdf install helm 3.0.0-alpha.1
Downloading helm from https://storage.googleapis.com/kubernetes-helm/helm-v3.0.0-alpha.1-darwin-amd64.tar.gz to /var/folders/_x/75q7884d3hxbgnvs904cmc680000gn/T//helm-v3.0.0-alpha.1-darwin-amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 217 100 217 0 0 1653 0 --:--:-- --:--:-- --:--:-- 1656
Creating bin directory
Cleaning previous binaries
Copying binary
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
$ asdf install helm 2.14.1
Downloading helm from https://storage.googleapis.com/kubernetes-helm/helm-v2.14.1-darwin-amd64.tar.gz to /var/folders/_x/75q7884d3hxbgnvs904cmc680000gn/T//helm-v2.14.1-darwin-amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26.5M 100 26.5M 0 0 12.5M 0 0:00:02 0:00:02 --:--:-- 12.5M
Creating bin directory
Cleaning previous binaries
Copying binary
Hello there,
Installs are failing because get.helm.sh is down?
ex: https://get.helm.sh/helm-v3.5.4-darwin-arm64.tar.gz
Has the location of the files been moved again?
looks like download URL has changed "https://get.helm.sh". I am facing below error when I install helm 2.17.0
โ ~ asdf install helm 2.17.0
Downloading helm from https://get.helm.sh/helm-v2.17.0-darwin-arm64.tar.gz to /var/folders/nz/63gq9x4s78g8pvshn7v9m0240000gp/T//helm-v2.17.0-darwin-arm64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 215 100 215 0 0 138 0 0:00:01 0:00:01 --:--:-- 139
Creating bin directory
Cleaning previous binaries
Copying binary
tar: Error opening archive: Unrecognized archive format
Hi ;
I am trying to install helm package (I tried multiple versions) in Manjaro Linux.
This is the error I am getting.
Downloading helm from https://get.helm.sh/helm-v3.6.3-linux-amd64.tar.gz to /tmp/helm_xlAtvD/helm-v3.6.3-linux-amd64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.0M 100 13.0M 0 0 2338k 0 0:00:05 0:00:05 --:--:-- 2866k
Creating bin directory
Cleaning previous binaries
Copying binary
Platform 'linux' supported!
Validating checksum...
Checksum validation failed.
But the main problem I experience is:
When I want to install another package I am getting the same error.
I tried to remove the helm plugin and I can see that, still a temporary file for helm is generated in the folder I am installing plugin versions. And it is still trying to install helm.
Thanks in advance.
The asdf plugin breaks on install because the URL is no longer valid.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.