Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add .pre-commit-hooks.yaml#618

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
janeklb wants to merge5 commits intohelm-unittest:main
base:main
Choose a base branch
Loading
fromjaneklb:jlb/pre-commit

Conversation

@janeklb
Copy link

@janeklbjaneklb commentedMar 26, 2025
edited
Loading

Motivation

I would like to use helm-unittest in a pre-commit hook.

Modification

Add alanguage: docker_image pre-commit hook

Note

This issimilar to building on top of#253; this also adds a hook that useslanguage: docker_image which allows you to run the hook in environments wherehelm or this plugin (helm unittest) are unavailable - eg. CI.

pmcgrath-mck and mysiki reacted with thumbs up emoji
Motivation:I would like to use helm-unittest in a pre-commit hook.Modification:Add a docker_image based pre-commit hook (via .pre-commit-hooks.yaml)
- id: helm-unittest
name: helm-unittest
language: docker_image
entry: helmunittest/helm-unittest:3.17.1-0.8.0
Copy link
Author

@janeklbjaneklbMar 26, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is there a build script / process that automatically updates version references? If not, then the docker image tag here will need to be manually updated whenever a new version is released.

@ivankatliarchuk
Copy link
Contributor

I'm unsure, it looks like it required docker. As docker a proprietary software aka not an open source, it has licence restrictions if you work for enterprises. Is it possible or safe to assume that helm unit test installed as binary or as helm plugin? Would be nice to have more options than just docker basically

@janeklb
Copy link
Author

I'm unsure, it looks like it required docker. As docker a proprietary software aka not an open source, it has licence restrictions if you work for enterprises. Is it possible or safe to assume that helm unit test installed as binary or as helm plugin? Would be nice to have more options than just docker basically

We could provide both options so that users could select which one they want to use (depending on their environment / what they have available).

FWIW instead of using docker you can use podman (open source) and it should work just finepre-commit/pre-commit#2173

@janeklb
Copy link
Author

@ivankatliarchuk is there anything I can do in order to get this to a state you'd be happy to merge?

guhcampos reacted with thumbs up emoji

@ivankatliarchuk
Copy link
Contributor

Lgtm. I have no approval rights sorry.

janeklb and guhcampos reacted with thumbs up emoji

@guhcampos
Copy link

This is good stuff.pre-commit is widely used both for local development and, in some companies, CI too. Anyone usinghelm unittest seriously would benefit from having apre-commit configuration. Please approve.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@janeklb@ivankatliarchuk@guhcampos

[8]ページ先頭

©2009-2025 Movatter.jp