aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-09-25 10:47:22 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-09-25 10:47:22 +0200
commit878e1b15cedf2aab17fa1ee3a70b948dfce6a30f (patch)
tree3f41276ebf620270658de57e31469825eb5693e5
parent98514cb556a8066515c954bc6c736c73c75d72bf (diff)
downloadgterm-878e1b15cedf2aab17fa1ee3a70b948dfce6a30f.tar.gz
ci: use include
-rw-r--r--.gitlab-ci.yml57
1 files changed, 3 insertions, 54 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 08acd7d..9aee4ac 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,57 +32,6 @@ build_centos7:
script:
- *build_meson
-tito_fedora:
- stage: rpms
- image: registry.gitlab.com/kraxel/rpm-package-builder:fedora
- before_script:
- - dnf builddep -y *.spec
- script:
- - tito build --test --rpm --output rpms-fedora
- - createrepo rpms-fedora
- artifacts:
- 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:
- - yum-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
- artifacts:
- paths:
- - public/
+include:
+ - project: 'kraxel/rpm-package-builder'
+ file: 'gitlab-ci-rpms-tito.yml'