You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
793 B

stages:
- build-initrd
- build-srpm
# - build-rpms
build_initrd:
only:
- master@leapp/leapp-actors-internal
stage: build-initrd
cache:
key: "${CI_PIPELINE_ID}"
paths:
- sources/dracut/upgrade-boot-files.tgz
script:
- 'export BASEDIR="$PWD"'
- helpers/docker/docker-run.sh
image: docker-registry.engineering.redhat.com/leapp-builds/leapp-initrd-rhel8-build:latest
build_srpm:
only:
- master@leapp/leapp-actors-internal
stage: build-srpm
dependencies:
- build_initrd
cache:
key: "${CI_PIPELINE_ID}"
paths:
- sources/dracut/upgrade-boot-files.tgz
script:
- dnf install -y git-core make rpm-build copr-cli
- export LEAPP_INITRD_SKIP=1
- make srpm
image: fedora:28