aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add an utility to cancel a buildPascal Terjan2024-01-016-138/+281
| | | | | | | | | | | | | | Usage: $ cancel_build 20231231211004.pterjan.duvel.1487312 *: [cancel_build] check uploads tree I: [cancel_build] check dir: /var/lib/schedbot/uploads/done I: [cancel_build] check dir: /var/lib/schedbot/uploads/todo I: [cancel_build] Failing 20231231211004.pterjan.duvel.1487312 and cleaning up done architectures I: [cancel_build] Killing process 1146007 on rabbit2 (building for arch "i586") I: [cancel_build] Killing process 2204767 on ecosse0 (building for arch "x86_64") I: [cancel_build] Killing process 3092253 on ociaa1-a (building for arch "aarch64") I: [cancel_build] Killing process 3092165 on ociaa1-b (building for arch "armv7hl")
* Release 0.9.00.9.0Pascal Terjan2023-12-132-1/+2
|
* Remove a call to deprecated egrepPascal Terjan2023-12-131-1/+1
|
* Fix retry delay logicPascal Terjan2023-12-131-2/+2
|
* Limit retries in case of install_deps_failurePascal Terjan2023-12-114-8/+100
| | | | | | | | | | | A new config option (backoff_delays) was added to ulri. It contains a list of delays (in seconds) between retries and default to [5*60, 30*60, 60*60, 120*60] (5m, 30m, 1h, 2h). When reaching the end of the list, we fail permanently. To never retry, set it to []. To retry forever, set it to undef.
* iurt: Use the target dir when rebuilding chrootPascal Terjan2023-12-032-25/+17
| | | | | Currently we when building a tmpdir, making a tar of it, deleting it and then untar into the target.
* iurt: Make generation of the chroot archive more atomicPascal Terjan2023-11-292-0/+9
| | | | | We may still use the wrong chroot but at least the .tar shoudl not be corrupted.
* iurt: Fix / of the chroot belonging to the user instead of rootPascal Terjan2023-11-263-13/+19
|
* Also set target when building package pathPascal Terjan2023-11-261-1/+1
|
* Fix rebuilding perl on armv7hlPascal Terjan2023-11-262-16/+18
|
* Explain the final commands are to be used by packagers rebuilding using BSThierry Vignaud2023-11-211-0/+2
|
* Sort packages.arch.logThierry Vignaud2023-10-012-1/+3
|
* ulri: Fix a crash after build failures0.8.2.2Pascal Terjan2023-02-013-2/+5
|
* Fix syntax checks to use local tree0.8.2.1Pascal Terjan2023-01-303-4/+7
|
* Fix version0.8.2Pascal Terjan2023-01-301-1/+1
|
* Fix some forever retriesPascal Terjan2023-01-302-1/+4
| | | | | | | | | An error was not set when failing in %prep or %generate_buildrequires while trying to generate dynamic buildrequires. This causes iurt to assume it's a retriable install_deps_failure. Set the failure to build_failure when what fails is rpmbuild -br rather than installing the packages.
* 0.8.2Pascal Terjan2023-01-292-1/+2
|
* ulri: Fix syntaxPascal Terjan2023-01-293-3/+4
|
* Add some tests checking the syntax of scriptsPascal Terjan2023-01-292-0/+6
| | | | | The main scripts (iurt/ulri/emi) were not covered by tests, only the libs.
* 0.8.10.8.1Pascal Terjan2023-01-202-1/+2
|
* iurt: Fix detection of missing_dep on DynamicBuildRequiresPascal Terjan2023-01-202-3/+3
| | | | Currently we always get install_deps_failure which is retriable.
* iurt: Cleanup some duplicated codePascal Terjan2023-01-201-17/+14
|
* Small cleanupsPascal Terjan2023-01-202-7/+3
|
* iurt: Fix buildreqs.nosrc.rpm filename on Mageia build systemPascal Terjan2023-01-192-1/+15
|
* Increase robustness when scp fails0.8.0Pascal Terjan2023-01-194-32/+35
| | | | | Do not remove lock file and mark build as done until we copied all the files.
* 0.8.0Pascal Terjan2023-01-192-1/+2
|
* iurt: Add support for DynamicBuildRequiresPascal Terjan2023-01-193-2/+70
| | | | See https://fedoraproject.org/wiki/Changes/DynamicBuildRequires
* Minor cleanupPascal Terjan2023-01-191-4/+3
| | | | No need for 2 variables with the same content.
* Fix matching bogus foobar.spec.licenseThierry Vignaud2022-09-131-1/+1
|
* 0.7.180.7.18Pascal Terjan2022-08-222-2/+3
|
* Fix false positives of iurt dying on the build machinePascal Terjan2022-08-222-1/+2
| | | | | | | | | | | | | sout("foo || bar") was fetching the output of: ssh -x user@host foo || bar instead of: ssh -x user@host "foo || bar" This means we were considering the remote command to have failed when ssh to the machine to check status was failing.
* fix calling clean_chroot()Thierry Vignaud2022-06-112-1/+3
| | | | | | | The call wasn't matching the function signature thus breaking cleaning chroots. Bug introducted in commit 69e74732d254c75adc20afc25a8729ca568be832 I wonder why nobody saw it before ??
* Escape dollars in the messagePascal Terjan2022-06-031-2/+2
|
* 0.7.17.20.7.17.2Pascal Terjan2022-05-012-2/+3
|
* Update NEWSPascal Terjan2022-05-011-0/+2
|
* iurt: Use consistent log directoryPascal Terjan2022-05-011-3/+3
| | | | | | | This never worked on the Mageia buildsystem where $log_dir is not directly $srpm which happens when there is a @...: prefix but commit dcba2bd9a3d11a0f means the failure to write is now detected and causes a crash.
* iurt: Fix src.rpm name (mga#30344)0.7.17.1Pascal Terjan2022-04-263-2/+5
|
* Commit some forgotten testPascal Terjan2022-04-261-0/+60
|
* ulri: Remove duplication on loading lock filePascal Terjan2022-04-262-31/+43
|
* Release 0.7.170.7.17Pascal Terjan2022-04-252-1/+2
|
* dump_tree: Add CLI to dump current statusPascal Terjan2022-04-251-0/+1
| | | | This can be used for example by
* ulri: Better maintain in progress buildsPascal Terjan2022-04-252-0/+9
|
* ulri: rely on status.log to know a build completedPascal Terjan2022-04-253-23/+23
| | | | | | | | | | This will fix packages not marked as noarch but having only noarch subpackages, even if we still end up wasting resources. The only risk I see is if the noarch packages get built on all mandatory architectures first, upload starts and other architectures complete in hte middle, however this should not modify the files being uploaded, we use a temporary file and rename so it should be fine.
* Have rpmspec drop the newline directlyPascal Terjan2021-11-241-2/+1
|
* simplify using output()Thierry Vignaud2021-11-241-7/+2
|
* iurt: Allow generated src.rpm to change namePascal Terjan2021-11-232-1/+17
| | | | | Some packages use macros for Name and those can change based on the distro version.
* iurt: record the list of generated packagesPascal Terjan2021-07-112-0/+10
|
* perl_checker cleanupsThierry Vignaud2020-12-191-1/+1
|
* simplify previous commitThierry Vignaud2020-12-191-4/+1
|
* 0.7.16Pascal Terjan2020-12-192-1/+2
|