Comments (17)
release v2.5.0 should fix that: https://github.com/helm/chart-testing-action/releases/tag/v2.5.0
from chart-testing-action.
i will take a look and maybe we need to run a new release
from chart-testing-action.
With the 2.5.0 release my builds are still failing but with the same error mentioned by @jessebot. Executing ct list-changed --config ct.yaml --target-branch master
results in the error targetBranch 'master' does not exist
: https://github.com/promhippie/charts/actions/runs/6706484493/job/18223069631
Edit: Currently I am working around the issue by downgrading the action to v2.3.1, but that sucks.
from chart-testing-action.
This was working correctly an hour ago (09:40 GMT).
from chart-testing-action.
this is due to https://blog.sigstore.dev/cosign-releases-bucket-deprecation/
from chart-testing-action.
That's weird because when I try to pin to that commit hash, I get the following:
The same happens for me, looks like we got to wait for a new release of the action :(
from chart-testing-action.
I can confirm that the actions works when using the latest commit on main. Looks like we just need a 2.5.0 release. Until then we can pin to cb49023b9227b1097e5eddd8824f48bdea11b1aa
to fix the problem for now.
- name: Setup chart-testing
uses: helm/chart-testing-action@cb49023b9227b1097e5eddd8824f48bdea11b1aa # Unreleased version
@cpanato are you the right person to ping for creating a new release?
from chart-testing-action.
I can confirm that the actions works when using the latest commit on main. Looks like we just need a 2.5.0 release. Until then we can pin to
cb49023b9227b1097e5eddd8824f48bdea11b1aa
to fix the problem for now.- name: Setup chart-testing uses: helm/chart-testing-action@cb49023b9227b1097e5eddd8824f48bdea11b1aa # Unreleased version
That's weird because when I try to pin to that commit hash, I get the following:
Run changed=$(ct list-changed --target-branch main)
changed=$(ct list-changed --target-branch main)
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
shell: /usr/bin/bash -e {0}
env:
CT_CONFIG_DIR: /opt/hostedtoolcache/ct/3.9.0/amd64/etc
VIRTUAL_ENV: /opt/hostedtoolcache/ct/3.9.0/amd64/venv
Error: targetBranch 'main' does not exist
Error: Process completed with exit code 1.
from chart-testing-action.
With the 2.5.0 release my builds are still failing but with the same error mentioned by @jessebot. Executing
ct list-changed --config ct.yaml --target-branch master
results in the errortargetBranch 'master' does not exist
: https://github.com/promhippie/charts/actions/runs/6706484493/job/18223069631Edit: Currently I am working around the issue by downgrading the action to v2.3.1, but that sucks.
I opened #133 to help with triage by the maintainers, as this is technically a separate issue,
from chart-testing-action.
Same issue for me
from chart-testing-action.
It's due to chart-testing still using a cosing-installer action version that tries to grab the cosign release from googleapis.com and gives back an AccessDenied. Or am I wrong?
from chart-testing-action.
I see in the action this
$SUDO curl -sL [https://storage.googleapis.com/cosign-releases/${bootstrap_version}/${bootstrap_filename}](https://storage.googleapis.com/cosign-releases/$%7Bbootstrap_version%7D/$%7Bbootstrap_filename%7D) -o ${cosign_executable_name}
Instead of this
from chart-testing-action.
Version 2.4.0 of chart-testing still uses cosign-installer version 3.0.1
https://github.com/helm/chart-testing-action/blob/v2.4.0/action.yml#L23C13-L23C82
from chart-testing-action.
This was working correctly an hour ago (09:40 GMT).
I guess googleapis.com closed the access for unauthorized users.
from chart-testing-action.
Thank you for the fix. Using cb49023b9227b1097e5eddd8824f48bdea11b1aa
has solved the problem for us. Still looking forward to the new release.
![image](https://private-user-images.githubusercontent.com/558256/279355254-f6b749c9-02ee-45fc-9f99-7387ed1043c6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNjY3NTQsIm5iZiI6MTcyNTA2NjQ1NCwicGF0aCI6Ii81NTgyNTYvMjc5MzU1MjU0LWY2Yjc0OWM5LTAyZWUtNDVmYy05Zjk5LTczODdlZDEwNDNjNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgzMVQwMTA3MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jZDc3OTQ0OTM3YzUxMjczYzc1N2ZjZDI5OGQ4MWYxM2M3YjU2YzNlNzQwN2M0NzYzMjczNDY5NTNiNjQ1NGNhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.O-I57Mitr4W0GDF--n2LNAa2fTonVxLKItYQ-4Izogk)
from chart-testing-action.
Can confirm the issues.
With 2.3.1 I get another error though
Run changed=$(ct list-changed --target-branch main)
Error: failed running process: exit status 128
Error: Process completed with exit code 1.
from chart-testing-action.
Builds are working for us on our "main" branch but failing with the same errors as for @pat-s and @tboerger for pull request branches.
Example for main branch
![image](https://private-user-images.githubusercontent.com/558256/279382851-1c46a794-3393-400c-bb6c-44f8f1b64b6e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNjY3NTQsIm5iZiI6MTcyNTA2NjQ1NCwicGF0aCI6Ii81NTgyNTYvMjc5MzgyODUxLTFjNDZhNzk0LTMzOTMtNDAwYy1iYjZjLTQ0ZjhmMWI2NGI2ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgzMVQwMTA3MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02Yjc1YjU3MmIwOGIwZTFlOTMwYTE5NGNjMGE4YmZlOWJjZGExMTkzNWUxZTY0YjQ1MWFhMGU0NGU5Y2EyYzUxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.uVcuttGTAuwojVD3f-AiaTUWR_lgcE-nhwZaO_8Vvd0)
Example for pull request branch
![image](https://private-user-images.githubusercontent.com/558256/279382685-131c94c8-1da0-48fb-b4c0-561473681cab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNjY3NTQsIm5iZiI6MTcyNTA2NjQ1NCwicGF0aCI6Ii81NTgyNTYvMjc5MzgyNjg1LTEzMWM5NGM4LTFkYTAtNDhmYi1iNGMwLTU2MTQ3MzY4MWNhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODMxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgzMVQwMTA3MzRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xZDQ2MzhhZDViMjE3YjQyMTUxMjkzMTI1NGFiYjBjYmRlZWJiOWU5ZjZhMjQ0MGNmZDQxY2VlODljMjQwMTc3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Pkv1Mvzs2Uw76_RxgYE0MP5rZTWSwkKl5XJqM-JMbnY)
from chart-testing-action.
Related Issues (20)
- Document how to test charts that contains a CRD HOT 1
- No chart changes detected HOT 9
- gzip: stdin: not in gzip format
- The `changed` in step `list-changed` will always be true HOT 1
- Example in README.md does not work
- Script download wrong binary
- Add support for github.com authentication token
- failed to set up chart-testing with pip3 install failiure HOT 1
- Version 2.5.0? HOT 4
- Setting up a imagePullSecrets for a private github repo to fetch the Docker image HOT 2
- v2.5.0 is giving an error of `targetBranch main does not exist` HOT 11
- Using helm-extra-args: --timeout 600s in config file causes "unknown flag" HOT 3
- v2 still points to v2.6.0 and not v2.6.1
- Option to use global Python install HOT 1
- Are there plans to create a security policy?
- directory is not a valid chart directory
- list-changed step result is not taken care of any other steps. How can I check what it returns?
- README: uses: helm/[email protected] HOT 1
- Please create a new release
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 chart-testing-action.