mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 02:41:36 +01:00 
			
		
		
		
	Update to 2022-02-11 18:00
This commit is contained in:
		| @@ -152,13 +152,13 @@ sub handle_submit { | ||||
|     make_path($result); | ||||
|     my $mock_msg; | ||||
|     foreach my $out (qx(mock -r $target-$arch --resultdir=$result $srpm 2>&1)){ | ||||
|       chomp $out; | ||||
|       $mock_msg .= $out; | ||||
|       chomp $out; | ||||
|       log_info("[$job_id] $out"); | ||||
|     } | ||||
|     if ($? != 0) { | ||||
|       log_info("[$job_id] Build submited by $submiter failed"); | ||||
|       handle_error($job_id, 'Mock build', $mock_msg); | ||||
|       handle_error($job_id, 'Mock build', $mock_msg, $email); | ||||
|       return; | ||||
|     } | ||||
|     my $repo_dir = $conf->{paths}->{repo}; | ||||
| @@ -179,7 +179,7 @@ sub handle_submit { | ||||
|         qx(rpm --addsign $built_pkg); | ||||
|         if ($? != 0) { | ||||
|           log_info("[$job_id] Signing failed"); | ||||
|           handle_error($job_id, 'Package signature error', "Command rpm --addsign $built_pkg failed"); | ||||
|           handle_error($job_id, 'Package signature error', "Command rpm --addsign $built_pkg failed", $email); | ||||
|           return; | ||||
|         } | ||||
|         # Open the package without checking the signature, as the key might not be present in the | ||||
| @@ -207,7 +207,8 @@ sub handle_submit { | ||||
|       handle_error( | ||||
|         $job_id, | ||||
|         'Createrepo error', | ||||
|         "Command createrepo --checksum sha -x \"*debuginfo*\" --update -c $repo_cache_dir $repo_dir" | ||||
|         "Command createrepo --checksum sha -x \"*debuginfo*\" --update -c $repo_cache_dir $repo_dir", | ||||
| 	$email | ||||
|       ); | ||||
|       return; | ||||
|     } | ||||
| @@ -230,7 +231,7 @@ sub handle_submit { | ||||
|         } | ||||
|         if ($? != 0) { | ||||
|           log_info("[$job_id] Syncing to $mirror->{dest} failed"); | ||||
|           handle_error($job_id, 'Mirror update error', "Command $rsync_cmd failed"); | ||||
|           handle_error($job_id, 'Mirror update error', "Command $rsync_cmd failed", $email); | ||||
|           return; | ||||
|         } | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud