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

[Release-1.28] Install and Unit test backports #9641

Merged
merged 5 commits into from
Mar 4, 2024

Conversation

dereknola
Copy link
Member

@dereknola dereknola commented Mar 4, 2024

Proposed Changes

Contains backports of:
#9479
#9480
#9495
#9601
#9634

This is the net effect of:

  • cleaning up the Unit tests matrix
  • improving golang caching
  • Reenabling Install tests on PRs

Types of Changes

Verification

CI Should Pass

Testing

Linked Issues

#9477

User-Facing Change


Further Comments

cache is now on by default

Signed-off-by: Derek Nola <[email protected]>
* Remove old cgroupsv2 test
* Consolidate install test clauses into functions
* Unpin vagrant-k3s plugin version, run latest
* Add ubuntu-2204 as install test, remove ubuntu-focal
* Update nightly install matrix
* Move to Leap 15.5
* Consolidate vagrant box caching key to improve cache hits on all VM testing

Signed-off-by: Derek Nola <[email protected]>
* Use regular ubuntu runners for install and snapshotter tests
* Workaround for vagrant box caching
* Update testing readme
Signed-off-by: Derek Nola <[email protected]>
* Fix setup-go typos

Signed-off-by: Derek Nola <[email protected]>
@dereknola dereknola requested a review from a team as a code owner March 4, 2024 20:57
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod' # Just use whatever version is in the go.mod file
cache: ${{ github.ref == 'refs/heads/master' }}
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: This is intentional, for now we are effectively disabling caching on any non-master branch to see where we land in terms of caching usage (we only have 10GB limit for all caching).

Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.64%. Comparing base (e4fc674) to head (21ce3f3).

Additional details and impacted files
@@                Coverage Diff                @@
##           release-1.28    #9641       +/-   ##
=================================================
- Coverage         45.21%   26.64%   -18.58%     
=================================================
  Files               154      154               
  Lines             16685    16685               
=================================================
- Hits               7544     4445     -3099     
- Misses             7833    11452     +3619     
+ Partials           1308      788      -520     
Flag Coverage Δ
e2etests ?
inttests 21.23% <ø> (ø)
unittests 15.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@dereknola dereknola merged commit 33fe9be into k3s-io:release-1.28 Mar 4, 2024
15 checks passed
@dereknola dereknola deleted the install_test_128 branch March 4, 2024 22:44
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.

2 participants