WIP: Various extensions for IBS #72

Draft
adrianSuSE wants to merge 25 commits from adrianSuSE/autogits:ibs_state into main

25 Commits

Author SHA256 Message Date
478317fa22 staging: Adapt commit status link when QA fails
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 8s
but main project was successful (eg. package builds, but appliance
fails, eg. due to broken deps)
2026-02-05 11:31:38 +01:00
6c9509338a staging: handle OBS API downtime
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 8s
don't write "Cannot fetch reference project meta" endless
2026-02-05 10:33:48 +01:00
c30b837def staging: Fix repeated QA project setups
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 23s
Don't touch an already setup project
2026-02-05 10:11:42 +01:00
5f52aade41 staging: Fix service file to work with obs ssh connections
We need a fixed user for that
2026-02-04 18:00:24 +01:00
c73c2e9417 staging: Allow host names via env file
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 9s
or we can run it only for OBS via packages...
2026-02-04 14:28:30 +01:00
49ec5b7dcf staging: Set result to failed when we have missing packages
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 9s
in that case no build failure may appear so it was handled as success

https://github.com/openSUSE/openSUSE-git/issues/228
2026-02-04 12:51:24 +01:00
41932f5b38 staging: Protection against broken staging.config
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 9s
when having multiple projects  with same name
2026-02-04 09:32:26 +01:00
db95345b91 staging: Support using source from pullrequest in QA project
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 10s
A QA project can get configured to also rebuild the sources again based
on the binaries of other packages of the QA project.

This is esp. useful for bootstrap projects. We would keep the main
project in this case to ensure that the package itself is building
on current code base. But we would also test if it breaks other packages
or fail during bootstrap cycle.
2026-02-03 16:16:04 +01:00
f91f4a5f6f Support QA projects depend on each other 2026-02-03 16:00:42 +01:00
503bb13ed0 Fix project meta rendering
* support project links
* ommit scmsync if empty
2026-02-03 16:00:25 +01:00
3256c056e7 staging: Add support for filtering QA projects via Labels
All checks were successful
go-generate-check / go-generate-check (pull_request) Successful in 9s
2026-02-02 17:06:43 +01:00
Antonello Tartamo
2b2d606c6d fixed check for multiple repos and architectures, added a link to the OBS project 2026-02-02 11:48:05 +01:00
Antonello Tartamo
83dac9c6a2 fixed spamming comments on package PRs when build is in progress 2026-02-02 11:48:05 +01:00
Antonello Tartamo
202909b6c5 Forward build status to package PR/s 2026-02-02 11:48:04 +01:00
a1721a9f64 workflow-pr: don't crash when no submodule got changed
eg. config changes only
2026-02-02 11:48:04 +01:00
307c87562a Add an "lfs fsck" check after submodule update
to avoid merging pull requests where lfs objects are not correctly
registered. Can happen when user has not installed lfs for example.
2026-02-02 11:48:04 +01:00
632c3b7750 Disable temporary comment adding in case of lacking permissions 2026-02-02 11:48:04 +01:00
cd1e1c7184 pr: only update PR if elided title not changed
Gitea trims long titles so we need to compare if the trimmed length
is same, not entire string that will always differ.
2026-02-02 11:48:04 +01:00
648da8bae1 Support remote source in pull requests
This requires write permission by maintainer there
2026-02-02 11:48:04 +01:00
fdc717eb0e workflow-direct: use relative path when adding a submodule
This solves the issue of using the right credentials based on the
main repo.
Also it allows to rename the organisation.
2026-02-02 11:48:04 +01:00
2a6571671a HACK: disable close of pullrequests for now
it hit too many ones
2026-02-02 11:48:04 +01:00
763165281f Fix build status check when package source is in subdir
We must not use the upper directory name as part of the package name.
2026-02-02 11:48:04 +01:00
4f00e230b6 staging: drop compare of build results of reference projects
it did not work reliable and is actually not wanted by SLFO release
managers
2026-02-02 11:47:11 +01:00
0e3e6a9e8f obs-staging: fix onlybuild for subdirectories
The parameter only takes a package name, but not a full subdirectory
string. So we hand over only the last part behind a / here
2026-02-02 11:47:11 +01:00
71cf13bfee Staging: include also changed directories
Projects which are not using submodules as package directories
still need to be handled in stagings.
2026-02-02 11:21:59 +01:00