-
Notifications
You must be signed in to change notification settings - Fork 141
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
Update to Traefik v2.10, go1.21 and alpine 3.18 #842
Open
reneleonhardt
wants to merge
10
commits into
traefik:v1.4
Choose a base branch
from
reneleonhardt:update-go
base: v1.4
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e38b637
Update to go1.21 and alpine 3.18
reneleonhardt bbab9f5
Update to traefik 2.10
reneleonhardt 15f067a
Fix linter issues except AddEventHandler and unused-parameter
reneleonhardt 268c120
Revert tagalign fixes
reneleonhardt 0863b07
Shrink docker image with upx
reneleonhardt bcdc1a1
Test more coredns versions used in k8s releases
reneleonhardt 57d3deb
Update Python toolchain (docs)
reneleonhardt 61cbcd7
Revert unwanted updates
reneleonhardt 1069b0f
Update to golangci-lint 1.55 and k8s 0.26.10
reneleonhardt 3f0bd36
Update dependencies
reneleonhardt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.15 | ||
FROM alpine:3.18 | ||
|
||
# The "build-dependencies" virtual package provides build tools for html-proofer installation. | ||
# It compile ruby-nokogiri, because alpine native version is always out of date | ||
|
@@ -14,20 +14,18 @@ RUN apk --no-cache --no-progress add \ | |
ruby-dev \ | ||
build-base | ||
|
||
RUN gem install --no-document html-proofer -v 3.19.0 -- --use-system-libraries | ||
RUN gem install --no-document html-proofer -v 5.0.8 -- --use-system-libraries | ||
|
||
# After Ruby, some NodeJS YAY! | ||
RUN apk --no-cache --no-progress add \ | ||
git \ | ||
nodejs \ | ||
npm | ||
|
||
# To handle 'not get uid/gid' | ||
RUN npm config set unsafe-perm true | ||
|
||
RUN npm install --global \ | ||
[email protected] \ | ||
[email protected] | ||
# unsafe-perm true to handle 'not get uid/gid' | ||
RUN npm install --global --unsafe-perm=true \ | ||
[email protected] \ | ||
[email protected] | ||
|
||
# Finally the shell tools we need for later | ||
# tini helps to terminate properly all the parallelized tasks when sending CTRL-C | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should revert this modification.
And add the following snippet inside the
.golangci.toml
file:The other problem should be fixed (and not ignored) except
"package-comments: should have a package comment"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do except fixing the actual problems, you know your code better 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could fix linter issues except AddEventHandler and unused-parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry can you revert the change related to tagalign and add this configuration:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can fix
unused-parameter
: you just have to replace the name of the parameter with_
.And
AddEventHandler
can also be fixed but it's a bit more complex, so you can ignore them inside this PR but I will fix them after the merge of your PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already tried that yesterday, it doesn't work, just another linter pops up instead of revive:
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
It would be much easier if you fix those special cases yourself, you know your code and Go better than me.
And no single check has been run yet, can't you start the GitHub Actions manually to see if all integration tests work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works I did it locally.