Add Zuul CI configuration
This allows us to have pull requests tested before we review changes to merge.
This commit is contained in:
parent
906de7f772
commit
4acc3a114b
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
15
.zuul.yaml
Normal file
15
.zuul.yaml
Normal 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
14
tmt/plans/build-gnome.fmf
Normal 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
14
tmt/plans/build-kde.fmf
Normal 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
|
14
tmt/plans/build-minimal.fmf
Normal file
14
tmt/plans/build-minimal.fmf
Normal 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
|
14
tmt/plans/build-server.fmf
Normal file
14
tmt/plans/build-server.fmf
Normal 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
|
Loading…
Reference in New Issue
Block a user