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

fixes: substitute golang version from go.mod. #834

Merged
merged 5 commits into from Jun 20, 2022

Conversation

klihub
Copy link
Contributor

@klihub klihub commented Jun 15, 2022

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jun 15, 2022

Codecov Report

Merging #834 (3ec2e00) into master (b4f3f85) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #834   +/-   ##
=======================================
  Coverage   37.53%   37.53%           
=======================================
  Files          56       56           
  Lines        8179     8179           
=======================================
  Hits         3070     3070           
  Misses       4811     4811           
  Partials      298      298           

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

jukkar
jukkar previously approved these changes Jun 15, 2022
Copy link
Contributor

@jukkar jukkar left a comment

Choose a reason for hiding this comment

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

LGTM

@klihub klihub force-pushed the fixes/substitute-golang-version branch from 3ec2e00 to 864bbb9 Compare June 15, 2022 21:10
Copy link
Contributor

@marquiz marquiz left a comment

Choose a reason for hiding this comment

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

I think we can merge this

Just curious why not use

--build-arg ARG GOLANG_VERSION=$(GOLANG_VERSION)

instead of generating dockerfiles (with yet another make target)?

RUN apt-get update && apt-get install -y git
RUN apt-get update && apt-get install -y wget git

# Note: Any golang version that can 'go list -m -f {{.Variable}}' is fine...
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, good comment. I think this is good here, we shouldn't get any breakages in the foreseeable future because of this. We could of course have ARG GOLANG_VERSION=x.yz here, too, but might be just unnecessary complication

@klihub klihub merged commit 755ae90 into intel:master Jun 20, 2022
@klihub klihub deleted the fixes/substitute-golang-version branch June 20, 2022 06:06
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.

None yet

4 participants