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

Update to go 1.16, and run CI on 1.15.x and 1.16.x #3474

Merged
merged 1 commit into from Aug 19, 2021

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Aug 10, 2021

corresponding PR for the 2.7 branch is #3472

fixes #3484

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@wy65701436
Copy link
Collaborator

for the main, we can update the go.mod as well?

@thaJeztah
Copy link
Member Author

for the main, we can update the go.mod as well?

It's already on go1.15, is there a reason for marking 1.15 as "not supported"?

@thaJeztah
Copy link
Member Author

I suspect the repository configuration needs to be updated because the build is now multiple options (go1.15, go1.16);

Screenshot 2021-08-10 at 14 43 38

Copy link
Collaborator

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

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

lgtm

@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2021

Codecov Report

Merging #3474 (a07b54e) into main (38ab4c6) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3474   +/-   ##
=======================================
  Coverage   56.38%   56.38%           
=======================================
  Files         102      102           
  Lines        7324     7324           
=======================================
  Hits         4130     4130           
  Misses       2541     2541           
  Partials      653      653           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38ab4c6...a07b54e. Read the comment docs.

@milosgajdos
Copy link
Member

I think adding a build matrix may have broken mandatory status check requirements settings on this repo 🤔
It's stuck in the yellow-ish state

@thaJeztah
Copy link
Member Author

@milosgajdos yup; #3474 (comment). I guess someone with admin privileges needs to modify the configuration

@milosgajdos
Copy link
Member

Oh, gotcha, @thaJeztah . I somehow missed that 🤦‍♂️ Ok, I think we need an extra job that checks that all matrix sub-jobs succeed https://github.community/t/status-check-for-a-matrix-jobs/127354

@thaJeztah
Copy link
Member Author

Looks like the proposed solution there may not work 🤔 https://github.community/t/status-check-for-a-matrix-jobs/127354/9

@milosgajdos
Copy link
Member

Sadness.

@chrispat can you suggest what we can do here?

@chrispat
Copy link
Collaborator

The only option right now would be to update the required checks to include the new checks that are created with the matrix and remove the build check. Having the ability to require a whole matrix is on our backlog.

@thaJeztah
Copy link
Member Author

Thanks @chrispat - I was looking at the page that @milosgajdos linked to, and (and reading the reference), and wondering if using success() instead of always(), combined with needs: <something> would work, but didn't try yet.

I guess changing the config should do the trick for now (I don't think I have the permissions to change it though); would that invalidate all existing PRs though?

@milosgajdos
Copy link
Member

would that invalidate all existing PRs though?

yeah, I think we'd have to re-trigger them -- but first theyd also have to be rebased 🤔

@thaJeztah
Copy link
Member Author

We could temporarily remove them as "required" (assuming we don't merge on "red" anyway, and we already have other tests that are required)

@milosgajdos
Copy link
Member

We could temporarily remove them as "required" (assuming we don't merge on "red" anyway

Hm, we could, but I'm a bit cautious because if a build fails and someone accidentally merges, all pandas become sad somewhere. We do have e2e and conformance required checks, though so those might just be find for the time being

@thaJeztah
Copy link
Member Author

You don't trust people to only merge when it's green? :trollface:

@milosgajdos
Copy link
Member

I've disabled the requirement on build for the time being until GH add the option to require a whole matrix ✅

@thaJeztah
Copy link
Member Author

Thanks! Looks like that worked; all ✅ now

@milosgajdos milosgajdos merged commit ecdf4b7 into distribution:main Aug 19, 2021
@thaJeztah thaJeztah deleted the update_go_116 branch August 19, 2021 09:24
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.

CVE-2021-36159 present in alpine 3.12 used for base image.
5 participants