Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build tools sometimes fail to download #1069

Open
petewall opened this issue Jan 8, 2025 · 1 comment
Open

Build tools sometimes fail to download #1069

petewall opened this issue Jan 8, 2025 · 1 comment
Labels
good first issue Good for newcomers

Comments

@petewall
Copy link
Collaborator

petewall commented Jan 8, 2025

On systems where the development and build tools aren't installed, we try to run them via docker images:

ifdef HAS_HELM_DOCS
	helm-docs --chart-to-generate .
else
	docker run --rm --volume "$(shell pwd):/helm-docs" -u $(shell id -u) jnorwood/helm-docs:latest
endif

Sometimes these fail:

docker run --rm --volume "/home/runner/work/k8s-monitoring-helm/k8s-monitoring-helm/charts/k8s-monitoring/charts/feature-annotation-autodiscovery:/helm-docs" -u 1001 jnorwood/helm-docs:latest
Unable to find image 'jnorwood/helm-docs:latest' locally
latest: Pulling from jnorwood/helm-docs
ec99f8b99825: Pulling fs layer
c77a463dfa03: Pulling fs layer
2115c7c95dc5: Pulling fs layer
docker: error pulling image configuration: download failed after attempts=1: error parsing HTTP 403 response body: no error details found in HTTP response body: "{\"status\":403,\"message\":\"Error: invalid URL signature\"}".

It might be nice to build a single image "grafana/k8s-monitoring-helm-chart-build-tools" that contains all of the tools, so a docker image need be pulled just once.

@petewall petewall added the good first issue Good for newcomers label Jan 8, 2025
@petewall
Copy link
Collaborator Author

petewall commented Jan 8, 2025

Also helm-schema gen:

karuppiah7890/helm-schema-gen info checking GitHub for tag '0.0.4'
karuppiah7890/helm-schema-gen info found version: 0.0.4 for 0.0.4/Linux/x86_64
karuppiah7890/helm-schema-gen info installed ./bin/helm-schema-gen
Illegal instruction
Error: plugin install hook for "schema-gen" exited with error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant