1
0
mirror of https://github.com/helm/chartmuseum.git synced 2026-02-05 15:45:50 +01:00

38 Commits

Author SHA1 Message Date
Casey Buto
dc02b8bb99 Pin cosign installer version (#1109)
Signed-off-by: Casey Buto <cbuto22@gmail.com>
2026-02-03 11:12:52 -05:00
Casey Buto
fce57c0052 Clean up disk space in build action (#1079)
Signed-off-by: Casey Buto <cbuto22@gmail.com>
2025-04-29 16:37:53 -04:00
Nace Sc
7908b93b3d ci: bump go version to v1.23
Signed-off-by: Nace Sc <scbizu@gmail.com>
2025-03-05 10:28:26 +08:00
Nace Sc
5e32c8d336 router: fix prometheus metrics high cardinality issue (#789)
* router: fix prometheus metrics high cardinality issue

Closes #448
Refers to [CVE(internal)](https://github.com/helm/chartmuseum/security/advisories/GHSA-67g5-8r7h-h9qv)

Signed-off-by: scbizu <scbizu@gmail.com>

* mod: bump

Signed-off-by: scbizu <scbizu@gmail.com>

* ci: build PR workflow bumps to Go 1.23

Signed-off-by: scbizu <scbizu@gmail.com>

* server: fixup tests

Signed-off-by: scbizu <scbizu@gmail.com>

* router: move prometheus middleware inside CM

* deprecate the external dependency of go-gin-prometheus
* use zap logger(cm) replace of logrus logger(go-gin-prometheus) for better investigation

Signed-off-by: scbizu <scbizu@gmail.com>

---------

Signed-off-by: scbizu <scbizu@gmail.com>
2025-03-05 10:22:46 +08:00
scbizu
aaf4b1a549 mod: update cosign version to v2.2.4
Signed-off-by: scbizu <scbizu@gmail.com>
2024-05-07 20:41:46 +08:00
scbizu
4044841c42 ci: release: pass --yes to skip cosign in action
Signed-off-by: scbizu <scbizu@gmail.com>
2023-11-03 20:50:42 +08:00
scbizu
94e1deeadd ci: bump cosign
Signed-off-by: scbizu <scbizu@gmail.com>
2023-11-03 19:27:37 +08:00
Josh Dolitsky
34c66b7d02 Update various dependencies, prep for 0.16.0 release (#693)
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
2023-06-09 16:28:56 -05:00
Casey Buto
61fbe13786 ci: pin buildx version (#664)
Signed-off-by: Casey Buto <cbuto@d2iq.com>
2023-02-15 17:45:19 -05:00
scbizu
4803da29ed action: fix cosign invalid key
Also see: https://github.com/ossf/scorecard-action/issues/997

Signed-off-by: scbizu <scbizu@gmail.com>
2022-11-11 15:36:10 +08:00
Nace Sc
a3629ef852 mod: bump go to 1.19 and bump helm dependency (#634)
Signed-off-by: scbizu <scbizu@gmail.com>

Signed-off-by: scbizu <scbizu@gmail.com>
2022-10-21 16:35:11 +08:00
Casey Buto
2e385aecaa build: bump cosign to v1.9.0 (#601)
Signed-off-by: Casey Buto <cbuto@d2iq.com>
2022-07-05 14:07:02 -05:00
Casey Buto
b37d2660bc build: bump Go to 1.17.8 (#571)
Signed-off-by: Casey Buto <cbuto@d2iq.com>
2022-03-29 09:44:52 -05:00
Casey Buto
6fbfc6e24b ci: move building the go binaries outside of the Docker image to speed up builds (#544)
Signed-off-by: Casey Buto <cbuto@d2iq.com>
2022-02-04 14:57:48 -06:00
Puerco
77d6cea5a9 Generate SPDX SBOM at release time (#538)
* Add bom generation script

This commit adds a script in scripts/sbom.sh that generates
the SBOM for the release adding three kinds of elements to it:

	1. The source code with full dependencies
	2. The tarball distrubutions written in _dist
	3. The container image

The SBOM is written into the _dist directory.

Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>

* Generate SBOM from build workflow

This commit modifies the build pipeline to generate an SPDX SBOM
describing the release. It uses the new bom-installer action to
install the Kubernetes SBOM Tool into the runner and calls the
scripts/sbom.sh script which handles the generation.

Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>

* Modify release pipeline to properly include SBOM

Signed-off-by: Josh Dolitsky <josh@dolit.ski>

Co-authored-by: Josh Dolitsky <josh@dolit.ski>
2022-01-30 14:05:04 -06:00
Josh Dolitsky
122c66179e Sign archives and checksums with cosign (#535)
Also:
- update release notes generator to point to sigs
- fix missing images from README

Resolves #532

Signed-off-by: Josh Dolitsky <josh@dolit.ski>
2022-01-29 01:32:55 +08:00
scnace
7a3c084e28 ci: claim the action permissions explicitly
Signed-off-by: scnace <scbizu@gmail.com>
2022-01-27 12:25:56 +08:00
Josh Dolitsky
9d913c106b maint: enable github oidc tokens
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
2022-01-26 14:47:47 -06:00
Nace Sc
7ca48f920d ci: fixes the ghcr login and introduce the image sign mechanism (#531)
* ci: uses github actor user as the ghcr image publisher

Signed-off-by: scnace <scbizu@gmail.com>

* ci: introduces the new sign image mechanism: sigstore cosign

Signed-off-by: scnace <scbizu@gmail.com>
2022-01-26 12:26:10 -06:00
Josh Dolitsky
4412d39346 Various v0.14.0 prep items (#527)
- Update version to v0.14.0
- Fix readme for push plugin (in place of #513)
- Upgrade Go modules, Go version in CI
- Use Helm 3.8 in acceptance tests
- Remove bad semever chart tests and testdata
- Support for M1 Macs local dev
- Add SECURITY.md

Signed-off-by: Josh Dolitsky <josh@dolit.ski>
2022-01-25 08:18:40 -06:00
Nace Sc
e2487026cc ci,scripts: bump up go version to 1.17 and fix broken helm installation url (#478)
Signed-off-by: scnace <scbizu@gmail.com>
2021-09-03 03:20:43 +08:00
dependabot[bot]
560b65158a Bump jinja2 from 2.10.1 to 2.11.3 in /loadtesting (#441)
* Bump jinja2 from 2.10.1 to 2.11.3 in /loadtesting

Bumps [jinja2](https://github.com/pallets/jinja) from 2.10.1 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.10.1...2.11.3)

Signed-off-by: dependabot[bot] <support@github.com>

* ci: bump github action go-setup to v2

Signed-off-by: scnace <scbizu@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: scnace <scbizu@gmail.com>
2021-03-25 12:38:59 -04:00
Josh Dolitsky
79bb39c260 Prep for v0.13.1 release (#429)
* Prep for v0.13.1 release

Signed-off-by: Josh Dolitsky <josh@dolit.ski>

* package bad charts during setup

Signed-off-by: Josh Dolitsky <josh@dolit.ski>

* downgrade to helm 3.5.1, fix tests

Signed-off-by: Josh Dolitsky <josh@dolit.ski>
2021-03-12 00:09:35 -05:00
Josh Dolitsky
b414b3decd use generic ghcr cred names
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
2021-02-03 13:47:12 -05:00
Josh Dolitsky
c7f1620ca7 prepare for v0.13.0 release
- update to Go 1.15.7
- add release artifacts script (copied from Helm)
- add KEYS file containing maintainer signing keys
- update Makefile to follow Helm release process
- update dependencies (including auth and storage)
- rename masterHandler to rootHandler
- add get-chartmuseum script (based on get-helm-3 script)
- remove unused scripts and make targets for old release process
- modify README with new install instructions and docker image
- rename scripts to use dashes vs underscores

Signed-off-by: Josh Dolitsky <josh@dolit.ski>
2021-02-01 23:05:08 -05:00
scnace
07342ae7d8 ci: migrate release from docker hub into github container registry (#395)
* ci: migrate release from docker hub into github container registry

Signed-off-by: scnace <scbizu@gmail.com>

* workflow: add pre-release workflow

Signed-off-by: scnace <scbizu@gmail.com>
2020-11-30 10:59:16 -05:00
jdolitsky
dd405dbb8b maint: update dependencies, disable nightly cron
Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
2020-11-12 00:11:11 -05:00
Josh Dolitsky
f1bd3cd8be Create dependabot.yml 2020-11-11 23:52:26 -05:00
Gabriel Duque
7ee7babe74 ci: switch to official docker buildx GitHub action (#380)
Signed-off-by: Gabriel Duque <gabriel@zuh0.com>
2020-10-27 09:43:06 -04:00
jdolitsky
6b2e745895 modify CI build to run tests etc
Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
2020-09-14 17:59:21 -04:00
jdolitsky
357600fdf7 Rename build-docker-images.yml to build.yml
Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
2020-09-14 17:58:50 -04:00
jdolitsky
217fb27a1e Remove build.yml
Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
2020-09-14 17:58:02 -04:00
jdolitsky
3b862bacf5 miscellaneous CI updates
Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
2020-09-13 18:48:03 -04:00
jdolitsky
499605eae9 disable gocenter (missing dependency)
Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
2020-09-13 16:42:18 -04:00
jdolitsky
bb24f1f0a3 use main as default branch
Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
2020-09-13 16:35:33 -04:00
jdolitsky
d43bce9eb8 Push multiarch images to main Dockerhub repo
Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
2020-09-13 16:31:22 -04:00
jdolitsky
9bd4ea57a4 use staging image for multiarch image
Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
2020-07-13 21:45:37 -05:00
Gabriel Duque
d28a492bbb Multi architecture container image (#350)
* docker: unify Dockerfile and build chartmuseum in Docker context

In order to be able to build a multi-architecture image easily, all
architectures should share the same Dockerfile. For this to be possible
in a portable way, the `chartmuseum` executable should be built inside a
container image.

This commit adds a first step to the container image building which is
the build of chartmuseum itself. In order to keep the image as small as
possible, this is done inside a "builder" image and the produced
executable is then copied into the final image.

Signed-off-by: Gabriel Duque <gabriel@zuh0.com>

* ci: build and deploy multi-architecture container images

This commit adds a GitHub action using `docker buildx` to build and push
a multi-architecture image to Docker hub.

Signed-off-by: Gabriel Duque <gabriel@zuh0.com>
2020-07-13 21:35:16 -05:00