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

Rootless kvm and podman #1415

Merged
merged 8 commits into from
Oct 4, 2023
Merged

Conversation

dmach
Copy link
Contributor

@dmach dmach commented Sep 26, 2023

Fixes: #1410
Requires: openSUSE/obs-build#954

@pep8speaks
Copy link

pep8speaks commented Sep 26, 2023

Hello @dmach! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 1516:121: E501 line too long (123 > 120 characters)

Line 1015:121: E501 line too long (147 > 120 characters)
Line 1021:121: E501 line too long (159 > 120 characters)

Comment last updated at 2023-09-29 07:55:28 UTC

@dmach dmach marked this pull request as draft September 26, 2023 11:41
@codecov
Copy link

codecov bot commented Sep 26, 2023

Codecov Report

Attention: 30 lines in your changes are missing coverage. Please review.

Comparison is base (ee725ff) 30.38% compared to head (a694658) 30.38%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1415   +/-   ##
=======================================
  Coverage   30.38%   30.38%           
=======================================
  Files          49       49           
  Lines       17698    17701    +3     
=======================================
+ Hits         5377     5379    +2     
- Misses      12321    12322    +1     
Files Coverage Δ
osc/conf.py 52.67% <50.00%> (ø)
osc/commandline.py 19.06% <0.00%> (-0.01%) ⬇️
osc/build.py 6.56% <11.53%> (+0.17%) ⬆️

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

osc/commandline.py Fixed Show fixed Hide fixed
The current conf.get_config() function already handles loading from ENV.
Also, always use osc.build.calculate_build_root() instead of making a custom variable substitution.
…vm types

To avoid filesystem permission collisions with the builds using su_wrapper,
use an alternative buildroot path that appends username to '/var/tmp/build-root' for the rootless builds.
@dmach dmach marked this pull request as ready for review October 4, 2023 07:12
@dmach dmach merged commit a166546 into openSUSE:master Oct 4, 2023
29 of 32 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.

Don't request root privs with --vm-type=kvm or --vm-type=podman
2 participants