diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-22 07:59:30 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-22 07:59:30 +0100 |
commit | 278c4c95c289a54ebc9ba13ba61f89a9b68d12ff (patch) | |
tree | 438491f4713db98597f9b26d14b461f9e8305ed0 | |
parent | 5905252371c280be8d0646247e5fa8b7c40bd5bf (diff) | |
download | rpm-package-builder-278c4c95c289a54ebc9ba13ba61f89a9b68d12ff.tar.gz |
multiarch
-rw-r--r-- | gitlab-ci-rpms-tito.yml | 44 |
1 files changed, 28 insertions, 16 deletions
diff --git a/gitlab-ci-rpms-tito.yml b/gitlab-ci-rpms-tito.yml index cd99502..7fd06e8 100644 --- a/gitlab-ci-rpms-tito.yml +++ b/gitlab-ci-rpms-tito.yml @@ -1,46 +1,58 @@ -tito_fedora: +tito_fedora_aarch64: stage: rpms image: registry.gitlab.com/kraxel/rpm-package-builder:fedora + tags: + - aarch64 + rules: + - if: $BUILD_AARCH64 == "yes"' before_script: - dnf builddep -y *.spec script: - - tito build --test --rpm --output rpms-fedora - - createrepo rpms-fedora + - tito build --test --rpm --output rpms-fedora-aarch64 + - createrepo rpms-fedora-aarch64 artifacts: paths: - - rpms-fedora/ + - rpms-fedora-aarch64/ -tito_centos8: +tito_fedora_x86_64: + 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-x86_64 + - createrepo rpms-fedora-x86_64 + artifacts: + paths: + - rpms-fedora-x86_64/ + +tito_centos8_x86_64: 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 + - tito build --test --rpm --output rpms-centos8-x86_64 + - createrepo rpms-centos8-x86_64 artifacts: paths: - - rpms-centos8/ + - rpms-centos8-x86_64/ -tito_centos7: +tito_centos7_x86_64: 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 + - tito build --test --rpm --output rpms-centos7-x86_64 + - createrepo rpms-centos7-x86_64 artifacts: paths: - - rpms-centos7/ + - rpms-centos7-x86_64/ pages: stage: repo image: registry.gitlab.com/kraxel/rpm-package-builder:fedora -# dependencies: -# - tito_fedora -# - tito_centos8 -# - tito_centos7 script: - mkdir public - for dir in rpms-*; do mv -v $dir public/${dir#rpms-}; done |