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

chore(deps): upgrade go version in dockerfile #638

Merged

Conversation

jmeridth
Copy link
Member

Changes

I noticed the version difference between the go.mod and Dockerfile in the repo (1.17 vs 1.22). Fixed a few other things also, like upgrading the version of the alpine/git image to the latest version.

  • fix warnings about case of as to AS in Dockerfile
    • FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
  • update Dockerfile Go version from 1.17 to 1.22 to match go.mod
  • upgrade alipine/git image version to latest, current was 4 years old
    • -from alpine/git:v2.24.3 (4 years old) to alpine/git:v2.45.2
  • fix warning with linting happening in current ci runs
    • WARN [config_reader] The configuration option 'run.skip-files' is deprecated, please use 'issues.exclude-files'
  • add .tool-versions (asdf) to .gitignore

Tests

Test pass locally. No new features really added so unsure if new tests are needed.

Questions

Do I need to run this against an argo-cd instance or with argo-cd test suite to ensure we're good?

- [x] fix warnings about case of `as` to `AS` in Dockerfile
  - `FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)`
- [x] shorten go version in go.mod
- [x] update Dockerfile Go version from 1.17 to 1.22 to match go.mod
- [x] upgrade alipine/git image version to latest, current was 4 years old
  - -from alpine/git:v2.24.3 (4 years old) to alpine/git:v2.45.2
- [x] fix warning with linting
  - `WARN [config_reader] The configuration option 'run.skip-files' is deprecated, please use 'issues.exclude-files'`
- [x] add .tool-versions (asdf) to .gitignore

Signed-off-by: jmeridth <[email protected]>
@jmeridth
Copy link
Member Author

Merging #639 first will fix the tar errors in the CI run with these changes (bottom of page).

@jmeridth
Copy link
Member Author

Going to create argo-cd draft PR that uses these changes. Especially to test the git version update (2.24.3 -> 2.45.2)

Copy link
Member

@rumstead rumstead left a comment

Choose a reason for hiding this comment

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

LGTM

@rumstead
Copy link
Member

Going to create argo-cd draft PR that uses these changes. Especially to test the git version update (2.24.3 -> 2.45.2)

Can you link the draft PR so we can see the argo-cd build passing?

jmeridth added a commit to jmeridth/argo-cd that referenced this pull request Nov 26, 2024
@crenshaw-dev crenshaw-dev merged commit 0371401 into argoproj:master Nov 26, 2024
3 checks passed
@jmeridth jmeridth deleted the jm_update_go_version_in_dockerfile branch November 26, 2024 19:47
jmeridth added a commit to jmeridth/argo-cd that referenced this pull request Dec 4, 2024
crenshaw-dev pushed a commit to argoproj/argo-cd that referenced this pull request Dec 5, 2024
revitalbarletz pushed a commit to revitalbarletz/argo-cd that referenced this pull request Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants