diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-11-06 07:43:42 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-11-06 07:43:42 +0100 |
commit | 1e44a2e69bea8556feda47077560d7fcca517d82 (patch) | |
tree | a67f8fc32fdaa8cf07b3c9e2ecb6df636ff3cde3 /.gitlab-ci.yml | |
parent | 6930ae6561666e0d450945279b4737f1faf778c5 (diff) | |
download | imagefish-1e44a2e69bea8556feda47077560d7fcca517d82.tar.gz |
ci: tweak deps
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 030d91b..c0ea4c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,9 @@ stages: - images - publish +variables: + DEPS: "/usr/bin/guestfish xz sudo" + .store_images: &store_images - xz --verbose *.qcow2 - mkdir $CI_JOB_NAME @@ -13,7 +16,7 @@ fedora: stage: images image: registry.gitlab.com/kraxel/rpm-package-builder:fedora before_script: - - time dnf install -y /usr/bin/guestfish /usr/bin/xz + - time dnf install -y $DEPS script: - time ./Fedora-efi-grub2.sh - time ./Fedora-efi-systemd.sh @@ -26,7 +29,7 @@ centos8: stage: images image: registry.gitlab.com/kraxel/rpm-package-builder:centos8 before_script: - - time dnf install -y /usr/bin/guestfish /usr/bin/xz + - time dnf install -y $DEPS script: - sed -i -e '/proxy/d' repos/centos-8.repo - time ./CentOS8-efi.sh @@ -39,7 +42,7 @@ centos7: stage: images image: registry.gitlab.com/kraxel/rpm-package-builder:centos7 before_script: - - time yum install -y /usr/bin/guestfish /usr/bin/xz + - time yum install -y $DEPS script: - sed -i -e '/proxy/d' repos/centos-7.repo - time ./CentOS7-efi.sh |