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

clone_job: Make _GROUP and _GROUP_ID override each other #1716

Merged
merged 1 commit into from Jul 9, 2018

Conversation

Martchus
Copy link
Contributor

@Martchus Martchus commented Jul 6, 2018

See https://progress.opensuse.org/issues/38279


Tested locally with production data and job mentioned in the ticket.

@codecov
Copy link

codecov bot commented Jul 6, 2018

Codecov Report

Merging #1716 into master will decrease coverage by 1.15%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1716      +/-   ##
==========================================
- Coverage   89.87%   88.71%   -1.16%     
==========================================
  Files         137      137              
  Lines        9617     9617              
==========================================
- Hits         8643     8532     -111     
- Misses        974     1085     +111
Impacted Files Coverage Δ
lib/OpenQA/Worker.pm 72.88% <0%> (-22.04%) ⬇️
lib/OpenQA/Worker/Engines/isotovideo.pm 78.06% <0%> (-16.78%) ⬇️
lib/OpenQA/Worker/Jobs.pm 70.54% <0%> (-11.19%) ⬇️
lib/OpenQA/Worker/Cache.pm 85.28% <0%> (-3.68%) ⬇️
lib/OpenQA/Worker/Common.pm 77.37% <0%> (-2.92%) ⬇️
lib/OpenQA/Worker/Commands.pm 83.11% <0%> (-2.6%) ⬇️
lib/OpenQA/Schema/Result/JobModules.pm 86.56% <0%> (-0.75%) ⬇️
lib/OpenQA/WebAPI/Controller/API/V1/Job.pm 87.3% <0%> (-0.4%) ⬇️
lib/OpenQA/Utils.pm 93.47% <0%> (-0.22%) ⬇️
lib/OpenQA.pm 71.79% <0%> (+2.56%) ⬆️

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 947f8b1...1694dbe. Read the comment docs.

delete $settings{NAME}; # usually autocreated
if ($depth == 0 or $options{'parental-inheritance'}) {
for my $arg (@ARGV) {
if ($arg =~ /([A-Z0-9_]+)=(.*)/) {
if (defined $2) {
$settings{$1} = $2;
if (my $override = $overrides{$1}) {
delete $settings{$override};
Copy link
Member

Choose a reason for hiding this comment

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

do you have any personal indendation limit? You certainly hit mine ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@coolo coolo merged commit 0a3a4c0 into os-autoinst:master Jul 9, 2018
@Martchus Martchus deleted the fix_group_0 branch July 10, 2018 08:33
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.

None yet

4 participants