aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-09-25 10:01:15 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-09-25 10:01:15 +0200
commit91cc5ed8177298019bbff11b59ab8e5a64f15cb8 (patch)
tree4e1fc157eceb38d307ef39404d84ff8f26c814d3 /.gitlab-ci.yml
parent6f1c486c597e2c9bac89abd92b589b8f4373ee58 (diff)
downloadgterm-91cc5ed8177298019bbff11b59ab8e5a64f15cb8.tar.gz
ci: tito builds for centos 7+8
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9fb14cf..ad5d370 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,14 +44,42 @@ tito_fedora:
paths:
- rpms-fedora/
+tito_centos8:
+ stage: rpms
+ image: registry.gitlab.com/kraxel/rpm-package-builder:centos8
+ before_script:
+ - dnf builddep -y *.spec
+ script:
+ - tito build --test --rpm --output rpms-centos8
+ - createrepo rpms-centos8
+ artifacts:
+ paths:
+ - rpms-centos8/
+
+tito_centos7:
+ stage: rpms
+ image: registry.gitlab.com/kraxel/rpm-package-builder:centos7
+ before_script:
+ - dnf builddep -y *.spec
+ script:
+ - tito build --test --rpm --output rpms-centos7
+ - createrepo rpms-centos7
+ artifacts:
+ paths:
+ - rpms-centos7/
+
pages:
stage: repo
image: registry.gitlab.com/kraxel/rpm-package-builder:fedora
dependencies:
- tito_fedora
+ - tito_centos8
+ - tito_centos7
script:
- mkdir public
- mv rpms-fedora public/fedora
+ - mv rpms-centos8 public/centos8
+ - mv rpms-centos7 public/centos7
- dnf install -y tree
- tree --charset utf8 -H . public > index.html
- mv index.html public