Add Zuul CI configuration

This allows us to have pull requests tested before we review changes
to merge.
This commit is contained in:
Neal Gompa 2023-12-16 13:53:47 -05:00
parent 906de7f772
commit 4acc3a114b
6 changed files with 72 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

15
.zuul.yaml Normal file
View File

@ -0,0 +1,15 @@
---
- job:
name: build-images
parent: tmt-test
vars:
tmt_url: "https://pagure.io/{{ zuul.project.name }}"
tmt_ref: "{{ zuul.ref }}"
distro: fedora-rawhide
compose: Fedora-latest
tf_arch: aarch64
- project:
check:
jobs:
- build-images

14
tmt/plans/build-gnome.fmf Normal file
View File

@ -0,0 +1,14 @@
summary: Build GNOME image
discover:
how: shell
tests:
- name: build image
test: |
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils
setenforce 0
$TMT_TREE/builder.py build gnome
$TMT_TREE/builder.py package gnome
setenforce 1
execute:
how: tmt

14
tmt/plans/build-kde.fmf Normal file
View File

@ -0,0 +1,14 @@
summary: Build KDE image
discover:
how: shell
tests:
- name: build image
test: |
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils
setenforce 0
$TMT_TREE/builder.py build kde
$TMT_TREE/builder.py package kde
setenforce 1
execute:
how: tmt

View File

@ -0,0 +1,14 @@
summary: Build Minimal image
discover:
how: shell
tests:
- name: build image
test: |
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils
setenforce 0
$TMT_TREE/builder.py build minimal
$TMT_TREE/builder.py package minimal
setenforce 1
execute:
how: tmt

View File

@ -0,0 +1,14 @@
summary: Build Server image
discover:
how: shell
tests:
- name: build image
test: |
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils
setenforce 0
$TMT_TREE/builder.py build server
$TMT_TREE/builder.py package server
setenforce 1
execute:
how: tmt