forked from AlmaLinux/leapp-repository
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
34 lines (31 loc) · 793 Bytes
/
.gitlab-ci.yml
File metadata and controls
34 lines (31 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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