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

Fix for Dockerfile smell DL3048 #543

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Fix for Dockerfile smell DL3048 #543

merged 1 commit into from
Jul 10, 2023

Conversation

grosa1
Copy link
Contributor

@grosa1 grosa1 commented Apr 8, 2023

What this PR does / why we need it:
This change improves the quality of the target Dockerfile in order to follow the recommended Docker writing best practices.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:
Hi!
The Dockerfile placed at "Dockerfile" contains the best practice violation DL3048 detected by the hadolint tool.

The smell DL3048 occurs when the pattern used for the label keys does not match the format recommended by official guidelines.
In this pull request, we propose a fix for that smell generated by our fixing tool. We verified that the patch is correct before opening the pull request.
To fix this smell, specifically, the label keys are refactored to match the correct format.

This change is only aimed at fixing that specific smell. If the fix is not valid or useful, please briefly indicate the reason and suggestions for possible improvements.

Thanks in advance.

@cpanato
Copy link
Member

cpanato commented Jul 6, 2023

@grosa1 thanks for this!
can you please sign the DCO?

@grosa1
Copy link
Contributor Author

grosa1 commented Jul 6, 2023

@grosa1 thanks for this! can you please sign the DCO?

Sure!

Signed-off-by: Giovanni Rosa <giovanni.rosa@unimol.it>
Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

thanks

@cpanato cpanato enabled auto-merge (squash) July 10, 2023 10:06
@cpanato cpanato merged commit 88cc702 into helm:main Jul 10, 2023
4 checks passed
bjw-s pushed a commit to bjw-s/dotfiles that referenced this pull request Jul 11, 2023
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [helm-ct](https://github.com/helm/chart-testing) | minor | `3.8.0`
-> `3.9.0` |

---

### Release Notes

<details>
<summary>helm/chart-testing (helm-ct)</summary>

###
[`v3.9.0`](https://github.com/helm/chart-testing/releases/tag/v3.9.0)

[Compare
Source](https://github.com/helm/chart-testing/compare/v3.8.0...v3.9.0)

##### What's Changed

- update goreleaser flags by
[@&#8203;cpanato](https://github.com/cpanato) in
[helm/chart-testing#539
- feat: verify if targetBranch is present in git repo by
[@&#8203;fty4](https://github.com/fty4) in
[helm/chart-testing#511
- add github grouping of log lines by
[@&#8203;joejulian](https://github.com/joejulian) in
[helm/chart-testing#556
- fix for ct install getting stuck when printing logs: close readers
when done with reading by
[@&#8203;skylenet](https://github.com/skylenet) in
[helm/chart-testing#557
- update golangci and helm by
[@&#8203;cpanato](https://github.com/cpanato) in
[helm/chart-testing#575
- add --extra-helm-args to ct lint by
[@&#8203;AndersBennedsgaard](https://github.com/AndersBennedsgaard) in
[helm/chart-testing#552
- Fix for Dockerfile smell DL3048 by
[@&#8203;grosa1](https://github.com/grosa1) in
[helm/chart-testing#543

##### New Contributors

- [@&#8203;fty4](https://github.com/fty4) made their first
contribution in
[helm/chart-testing#511
- [@&#8203;joejulian](https://github.com/joejulian) made their first
contribution in
[helm/chart-testing#556
- [@&#8203;skylenet](https://github.com/skylenet) made their first
contribution in
[helm/chart-testing#557
- [@&#8203;AndersBennedsgaard](https://github.com/AndersBennedsgaard)
made their first contribution in
[helm/chart-testing#552
- [@&#8203;grosa1](https://github.com/grosa1) made their first
contribution in
[helm/chart-testing#543

**Full Changelog**:
helm/chart-testing@v3.8.0...v3.9.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNi42LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: bjw-s-bot <87358111+bjw-s-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants