i586 is a partial architecture on Ubuntu, so package builds cannot work, explicitly disable it to avoid visual clutter in the build report page.
67 lines
2.0 KiB
YAML
67 lines
2.0 KiB
YAML
rebuild:
|
|
steps:
|
|
- trigger_services:
|
|
project: system:systemd
|
|
package: systemd
|
|
filters:
|
|
event: push
|
|
branches:
|
|
only:
|
|
- main
|
|
ci:
|
|
steps:
|
|
- branch_package:
|
|
source_project: system:systemd
|
|
source_package: systemd
|
|
target_project: system:systemd:ci
|
|
# Also prepare some images, but disabled by default to avoid wasting cpu/disk
|
|
- link_package:
|
|
source_project: system:systemd
|
|
source_package: particleos-debian
|
|
target_project: system:systemd:ci
|
|
- link_package:
|
|
source_project: system:systemd
|
|
source_package: particleos-debian-arm
|
|
target_project: system:systemd:ci
|
|
- link_package:
|
|
source_project: system:systemd
|
|
source_package: particleos-fedora
|
|
target_project: system:systemd:ci
|
|
- link_package:
|
|
source_project: system:systemd
|
|
source_package: uki-debian
|
|
target_project: system:systemd:ci
|
|
- link_package:
|
|
source_project: system:systemd
|
|
source_package: uki-fedora
|
|
target_project: system:systemd:ci
|
|
- set_flags:
|
|
flags:
|
|
# First disable all builds (including images linked in above)
|
|
- type: build
|
|
status: disable
|
|
project: system:systemd:ci
|
|
# Ubuntu's i586 is a partial architecture so builds don't work
|
|
- type: build
|
|
status: disable
|
|
project: system:systemd:ci
|
|
package: systemd
|
|
repository: Ubuntu_24.04
|
|
architecture: i586
|
|
- type: build
|
|
status: disable
|
|
project: system:systemd:ci
|
|
package: systemd
|
|
repository: Ubuntu_26.04
|
|
architecture: i586
|
|
# Then enable systemd package builds only, so that images stay disabled
|
|
- type: build
|
|
status: enable
|
|
project: system:systemd:ci
|
|
package: systemd
|
|
filters:
|
|
event: pull_request
|
|
branches:
|
|
only:
|
|
- main
|