#49 Draft: DNM: Add Zuul CI configuration
Merged 5 months ago by ngompa. Opened 7 months ago by ngompa.

file added
+1
@@ -0,0 +1,1 @@ 

+ 1

file added
+15
@@ -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

@@ -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

@@ -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

@@ -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

@@ -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

This allows us to have pull requests tested before we review changes
to merge.

rebased onto 25f3a94

7 months ago

rebased onto c6ddc5c

7 months ago

rebased onto 477c92a

7 months ago

rebased onto 22aae6d

7 months ago

just get rid off push/popd
and use $TMT_TREE which points to the .fmf root, so

$TMT_TREE/../builder.py build gnome

Should work I believe

rebased onto 4596d0e

7 months ago

rebased onto 67cca63

5 months ago

rebased onto 9f49036

5 months ago

rebased onto 4acc3a1

5 months ago

Pull-Request has been merged by ngompa

5 months ago