Skip to content

update go version in ci and dockerfiles #318

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

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

Jdubrick
Copy link
Contributor

What does this PR do?:

Summarize the changes. Are any stacks or samples added or updated?
First of the PRs that will be opened in order to complete devfile/api#1473. This PR specifically updates the CI workflows and Dockerfiles to use go 1.19. This PR also adds a badge to the readme that visually shows that go 1.19 is being implemented.

Which issue(s) this PR fixes:

Link to github issue(s)
fixes devfile/api#1473

PR acceptance criteria:

  • Contributing guide
    Have you read the devfile registry contributing guide and followed its instructions?
  • Test automation
    Does this repository's tests pass with your changes?
  • Documentation
    Does any documentation need to be updated with your changes?
  • Check Tools Provider
    Have you tested the changes with existing tools, i.e. Odo, Che, Console? (See devfile registry contributing guide on how to test changes)

How to test changes / Special notes to the reviewer:

Building the registry works properly with go 1.19 and the workflows function.

Copy link
Member

@michael-valdron michael-valdron left a comment

Choose a reason for hiding this comment

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

Current changes looks good.

Some changes that needs addressing first before this can be merged:

  1. Along with updating the Go version in the dockerfiles you'll need to also unfreeze the references to devfile-index-base and index generator:
  2. Update golang tag reference under openshift/release to golang-1.19 (currently very old golang-1.16) and update the prow job with make jobs

@Jdubrick
Copy link
Contributor Author

Current changes looks good.

Some changes that needs addressing first before this can be merged:

  1. Along with updating the Go version in the dockerfiles you'll need to also unfreeze the references to devfile-index-base and index generator:

  2. Update golang tag reference under openshift/release to golang-1.19 (currently very old golang-1.16) and update the prow job with make jobs

@michael-valdron would you like all of those to be included in this one PR? My initial thought was to have the different acceptance criteria for unfreezing and prow job updates to be separate PRs and that's why I left them out. If it's preferred to include all in this one I can do that :)

@michael-valdron
Copy link
Member

Current changes looks good.
Some changes that needs addressing first before this can be merged:

  1. Along with updating the Go version in the dockerfiles you'll need to also unfreeze the references to devfile-index-base and index generator:

  2. Update golang tag reference under openshift/release to golang-1.19 (currently very old golang-1.16) and update the prow job with make jobs

@michael-valdron would you like all of those to be included in this one PR? My initial thought was to have the different acceptance criteria for unfreezing and prow job updates to be separate PRs and that's why I left them out. If it's preferred to include all in this one I can do that :)

@Jdubrick Unfreezing the references is part of the acceptance criteria for devfile/api#1473 and would be needed to ensure the Go version update allows the latest changes to work, prow job updates would be a separate PR however because it is under openshift/release.

Signed-off-by: Jordan Dubrick <[email protected]>
Copy link
Member

@michael-valdron michael-valdron left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Looks good to me label Mar 11, 2024
Copy link

openshift-ci bot commented Mar 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Jdubrick, michael-valdron

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [Jdubrick,michael-valdron]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Jdubrick Jdubrick merged commit addb38a into devfile:main Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm Looks good to me
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Community Devfile Registry to use Go 1.19
2 participants