-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.trigger.yml
55 lines (48 loc) · 1.23 KB
/
.gitlab-ci.trigger.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
46
47
48
49
50
51
52
53
54
55
stages:
- filter_amd64
- filter_rest
#workflow:
# rules:
# - if: $CI_PIPELINE_SOURCE == "merge_request_event" || ($CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH=="master") || $TEST_ALL == "1" || $PROBABILITY
variables:
REPO_NAME: "hep-forge"
default:
image: apnpucky/gentoo-hep-forge:latest
.images: &images
IMAGE:
[
apnpucky/gentoo-hep-forge:latest,
# apnpucky/gentoo-hep-forge-unstable:latest,
]
.filter_amd64:
stage: filter_amd64
trigger:
include: base.gitlab-ci.yml
forward:
pipeline_variables: true
strategy: depend
rules:
- if: $ARCH == "amd64"
changes:
- "$CATEGORY/$PKG/$PKG-$VERSION*.ebuild"
- "$CATEGORY/$PKG/metadata.xml"
- "$CATEGORY/$PKG/Manifest"
- "$CATEGORY/$PKG/files/*"
- "$CATEGORY/$PKG/.build"
- ".build"
.filter_rest:
stage: filter_rest
trigger:
include: base.gitlab-ci.yml
forward:
pipeline_variables: true
strategy: depend
rules:
- if: $ARCH != "amd64"
changes:
- "$CATEGORY/$PKG/$PKG-$VERSION*.ebuild"
- "$CATEGORY/$PKG/metadata.xml"
- "$CATEGORY/$PKG/Manifest"
- "$CATEGORY/$PKG/files/*"
- "$CATEGORY/$PKG/.build"
- ".build"