-
Notifications
You must be signed in to change notification settings - Fork 12
/
.gitlab-ci.yml
45 lines (39 loc) · 1.16 KB
/
.gitlab-ci.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: MIT
# Only used in https://gitlab.com/fedora/ostree/ci-test
# For tests running in the Fedora infrastructure, see .zuul.yaml and
# https://fedoraproject.org/wiki/Zuul-based-ci
# See: https://gitlab.com/fedora/ostree/buildroot
image: quay.io/fedora-ostree-desktops/buildroot
stages:
- build
# As those are not official images, we build all available variants
.parallel:
parallel:
matrix:
- VARIANT:
- silverblue
- kinoite
- kinoite-mobile
- sway-atomic
- xfce-atomic
- lxqt-atomic
- budgie-atomic
- base-atomic
- cosmic-atomic
# Only build the images for merge requests
buildmr:
stage: build
script:
- just compose-image $VARIANT
parallel: !reference [.parallel, parallel]
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
# Build and upload the images for commits pushed to the branch & scheduled pipelines
build:
stage: build
script:
- just compose-image $VARIANT
- just upload-container $VARIANT
parallel: !reference [.parallel, parallel]
rules:
- if: $CI_COMMIT_BRANCH == "f41" && ($CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule")