Comments (23)
Hey @gruebel,
we are looking into it
from setup-helm.
@OliverMKing sadly it still fails https://github.com/bridgecrewio/checkov/runs/6496731470?check_suite_focus=true
Current workflow steps
integration-tests:
strategy:
fail-fast: true
matrix:
python: ["3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- uses: actions/setup-node@v3
- uses: azure/setup-helm@217bf70cbd2e930ba2e81ba7e1de2f7faecc42ba # v2
from setup-helm.
This issue is idle because it has been open for 14 days with no activity.
from setup-helm.
This issue is idle because it has been open for 14 days with no activity.
from setup-helm.
@qpetraroia any update so far?
from setup-helm.
This issue is idle because it has been open for 14 days with no activity.
from setup-helm.
Has this been fixed in v2.1?
from setup-helm.
This seems to be working in v2.1. I'm unsure why this error occurred because there's no clear difference between v2.0 and v2.1 that would impact this issue. I've tested on the GitHub runner.
Can you please provide steps to reproduce.
from setup-helm.
This issue is idle because it has been open for 14 days with no activity.
from setup-helm.
This issue is idle because it has been open for 14 days with no activity.
from setup-helm.
@gruebel I attempted to reproduce it with your exact workflow. It still seems to be working correctly. Do you have any other information that we are missing?
https://github.com/OliverMKing/AKS-GitHub-Actions-Demo/actions/runs/2571044535
from setup-helm.
hey @OliverMKing I don't what you did with v3, but now it works 😄
from setup-helm.
It looked like it worked, but it doesn't work consistently. Sometimes yes and quite often no.
from setup-helm.
The difference between v3 and v2 is just a Node16 upgrade. Are you using a self hosted runner maybe?
I'll attempt to reproduce on my repo by running a few times.
from setup-helm.
Ideas:
- Add a retry
Really need to figure out exactly what is throwing the 403 though.
from setup-helm.
@OliverMKing so I had an idea and enabled the debug logs to maybe give us some better idea, what could be wrong and it looks like there is a rate limit issue 😄
##[debug]Evaluating condition for step: 'Run azure/setup-helm@v3'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Run azure/setup-helm@v3
##[debug]Loading inputs
##[debug]Loading env
Run azure/setup-helm@v3
##[debug]Downloading https://api.github.com/repos/helm/helm/releases
##[debug]Downloading /Users/runner/work/_temp/3dce280f-d28a-40ae-b2dd-35924239ab12
##[debug]Failed to download from "https://api.github.com/repos/helm/helm/releases". Code(403) Message(rate limit exceeded)
Error: Error: Unexpected HTTP response: 403
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run azure/setup-helm@v3
these are not self hosted ones, because we don't have our own macos runner.
from setup-helm.
That is the exact issue. Not sure there's any great ways for getting around the github api rate limit. We can provide a clearer error message instead of throwing the 403.
To temporarily avoid this you can use a specific helm version instead of latest
.
from setup-helm.
makes sense, but why does it work with v1 better compared to v2/v3? And why is only the mac runner failing and not the others?
from setup-helm.
v1 has a fallback to a "stable" version if it can't fetch the latest. Not sure that's the ideal situation but we could add an input with a fallback.
Unsure why only the mac runner would be failing. The GitHub API should be platform-agnostic.
from setup-helm.
Line 53 in 6e32762
The bug is here. We need to move this to inside the try catch.
from setup-helm.
Second improvement is to swap from using the REST api to the GraphQL one. The GraphQL limit with this query is 5,000 per hour
{
repository(name: "helm", owner: "helm") {
releases(last: 100) {
nodes {
tagName
}
}
}
}
versus only 1,000 per hour with the current REST.
from setup-helm.
Created a release. v3.1 (and v3) will fix this issue.
Appreciate the help!
from setup-helm.
@OliverMKing thanks for effort and fix 🥇 works as reliable as before.
from setup-helm.
Related Issues (20)
- Bug: Script is giving warning for set output. HOT 2
- Feature Request: install latest patch version HOT 9
- Feature Request: Support binary mirror HOT 20
- Bug: Amd64 installed instead of arm HOT 8
- Upgrade action to use node20 HOT 5
- Bug: unzip not available on ARC runners with default image HOT 2
- Bug: Action is reported as deprecated
- Bug: Has a v4.0.0, but no v4 HOT 13
- Failed to download Helm in proxy based environments HOT 1
- Dont require github.com token HOT 5
- Support for different architectures HOT 2
- version-range does not work with v2 HOT 4
- Warning: Unexpected input(s) 'id', valid inputs are ['version', 'token'] HOT 1
- Add `v2` tag HOT 1
- Warning: Error while fetching latest Helm release HOT 1
- Bug: HOT 1
- Bug: Latest version is grabbing alpha version of tool HOT 5
- Bug: Latest is incorrectly pulling last result in gh api release queries and not the latest release HOT 1
- Error: Failed to download Helm from location https://get.helm.sh/helm-v1.2.1-linux-amd64.zip HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-helm.