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

ci: add fedora38 builder, update flux-security default to 0.8.0 #5160

Merged
merged 3 commits into from May 8, 2023

Conversation

grondo
Copy link
Contributor

@grondo grondo commented May 8, 2023

This PR adds a builder for Fedora 38, since this distro has GCC 13 and Python 3.11, a combo we're not yet testing.

The caliper version we've pinned won't build in fedora38, and the newest version isn't compatible with the current code that calls it in flux-core, so I've just disabled Caliper here. Honestly, I'm wondering if we should just remove the caliper support? Eh, not too much of a headache yet, so we can save that decision for another day.

Comment on lines 37 to 38
# Python
python36 \
Copy link
Member

@chu11 chu11 May 8, 2023

Choose a reason for hiding this comment

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

dumb question, if python 3.11 is the default python, why install 3.6? I notice its there for some other fedora images. Or perhaps there's some packaging subtlety with fedora I'm completely missing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, I just copied the Fedora dockerfile (probably did that before too 🤦). Definitely should remove that before merging this!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed that, updated the fluxrm/testenv:fedora38 image, and force-pushed here.

Copy link
Member

@chu11 chu11 left a comment

Choose a reason for hiding this comment

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

LGTM

@grondo
Copy link
Contributor Author

grondo commented May 8, 2023

I also noticed that the default flux-security version should have been updated to v0.8.0, so I've done that here. I'll update the PR title to include that change, but didn't really see the need the split into a whole other PR at this time. Please let me know if you'd rather that change be split off from this PR.

@grondo grondo changed the title ci: add fedora38 builder ci: add fedora38 builder, update flux-security default to 0.8.0 May 8, 2023
@chu11
Copy link
Member

chu11 commented May 8, 2023

Please let me know if you'd rather that change be split off from this PR.

I think it's ok.

grondo added 3 commits May 8, 2023 16:57
Problem: flux-core can't run ci tests on fedora38 since there's
no base Dockerfile for this Fedora version.

Add a Dockerfile for fedora38.
Problem: There is no CI build that tests with Python 3.11 or GCC 13.

Add a Fedora 38 build to ci which has these versions of Python and GCC.
Problem: The default FLUX_SECURITY_VERSION used in docker-run-checks.sh
is v0.7.0, but there is v0.8.0 version of flux-security that should
be used in testing.

Update the default FLUX_SECURITY_VERSION to 0.8.0.
@codecov
Copy link

codecov bot commented May 8, 2023

Codecov Report

Merging #5160 (d747655) into master (7083ce3) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head d747655 differs from pull request most recent head c701a0b. Consider uploading reports for the commit c701a0b to get more accurate results

@@           Coverage Diff           @@
##           master    #5160   +/-   ##
=======================================
  Coverage   83.13%   83.13%           
=======================================
  Files         453      453           
  Lines       77787    77787           
=======================================
+ Hits        64665    64672    +7     
+ Misses      13122    13115    -7     

see 13 files with indirect coverage changes

@mergify mergify bot merged commit 1e66f16 into flux-framework:master May 8, 2023
31 of 32 checks passed
@grondo grondo deleted the fedora38 branch May 8, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants