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

feat: add freebsd as an OS filter (#407) #408

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

dfr
Copy link
Contributor

@dfr dfr commented Dec 21, 2023

What type of PR is this?

feature

Which issue does this PR fix:
#407

What does this PR do / Why do we need it:
It is useful to be able to filter by OS and I typically have both linux and freebsd images in my repositories.

Testing done on this change:
Ad-hoc testing with zot. I added a test for filtering for freebsd, similar to windows but haven't managed to run that test locally. Hopefully CI will work though.

Automation added to e2e:
I modified the 'explore filtering' test to add checks for freebsd as a filter.

Will this break upgrades or downgrades. Has updating a running cluster been tested?:
No and no.

Does this change require updates to the CNI daemonset config files to work?:
No

Does this PR introduce any user-facing change?:
The user will see freebsd listed as an OS filter.

Add "freebsd" as an operating system filter.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@rchincha rchincha requested a review from raulkele December 25, 2023 01:43
@rchincha
Copy link
Contributor

@raulkele can u take a look pls?

@rchincha
Copy link
Contributor

@dfr, can you pls take a look at CI failures?

Signed-off-by: Doug Rabson <dfr@rabson.org>
@dfr
Copy link
Contributor Author

dfr commented Dec 25, 2023

@dfr, can you pls take a look at CI failures?

I think I have fixed the CI failure. I'll spend a bit more time figuring out how to run these tests locally.

Copy link

codecov bot commented Dec 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f4600b8) 87.56% compared to head (b08c9c4) 87.56%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #408   +/-   ##
=======================================
  Coverage   87.56%   87.56%           
=======================================
  Files          55       55           
  Lines        1664     1664           
  Branches      436      436           
=======================================
  Hits         1457     1457           
  Misses        196      196           
  Partials       11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@raulkele raulkele left a comment

Choose a reason for hiding this comment

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

lgtm

@andaaron andaaron merged commit a9db66b into project-zot:main Dec 28, 2023
8 checks passed
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.

4 participants