-
Notifications
You must be signed in to change notification settings - Fork 6
/
.packit.yaml
111 lines (111 loc) · 3.5 KB
/
.packit.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Default packit instance is a prod and only this is used
# stg instance is present for testing new packit features in forked repositories where stg is installed.
packit_instances: [ "prod", "stg" ]
upstream_project_url: https://github.com/streamshub/flink-sql
issue_repository: https://github.com/streamshub/flink-sql
jobs:
###############################################################################################
# Manual comment driven test jobs
###############################################################################################
- job: tests
trigger: pull_request
# Suffix for job name
identifier: "flink-sql-example"
targets:
# This target is not used at all by our tests, but it has to be one of the available - https://packit.dev/docs/configuration/#aliases
- centos-stream-9-x86_64
# ARM is commented since apicurio-operator upstream is not supported on ARM
# - centos-stream-9-aarch64
# We don't need to build any packages for Fedora/RHEL/CentOS, it is not related to streams-e2e tests
skip_build: true
manual_trigger: true
env: {
IP_FAMILY: ipv4,
TEST_REPO_URL: https://github.com/streamshub/streams-e2e.git,
TEST_REPO_BRANCH: main
}
labels:
- flink-sql-example
tf_extra_params:
test:
tmt:
name: flink-sql-example
###############################################################################################
- job: tests
trigger: pull_request
# Suffix for job name
identifier: "flink-all"
targets:
- centos-stream-9-x86_64
skip_build: true
manual_trigger: true
env: {
IP_FAMILY: ipv4,
TEST_REPO_URL: https://github.com/streamshub/streams-e2e.git,
TEST_REPO_BRANCH: main
}
labels:
- flink-all
tf_extra_params:
test:
tmt:
name: flink-all
###############################################################################################
- job: tests
trigger: pull_request
# Suffix for job name
identifier: "smoke"
targets:
- centos-stream-9-x86_64
skip_build: true
manual_trigger: true
env: {
IP_FAMILY: ipv4,
TEST_REPO_URL: https://github.com/streamshub/streams-e2e.git,
TEST_REPO_BRANCH: main
}
labels:
- smoke
tf_extra_params:
test:
tmt:
name: smoke
###############################################################################################
# Push to PR auto test jobs
###############################################################################################
- job: tests
trigger: pull_request
# Suffix for job name
identifier: "smoke"
targets:
- centos-stream-9-x86_64
skip_build: true
manual_trigger: false
env: {
IP_FAMILY: ipv4,
TEST_REPO_URL: https://github.com/streamshub/streams-e2e.git,
TEST_REPO_BRANCH: main
}
tf_extra_params:
test:
tmt:
name: smoke
###############################################################################################
# Push to main auto test jobs
###############################################################################################
- job: tests
trigger: commit
branch: main
identifier: "smoke"
targets:
- centos-stream-9-x86_64
skip_build: true
env: {
IP_FAMILY: ipv4,
TEST_REPO_URL: https://github.com/streamshub/streams-e2e.git,
TEST_REPO_BRANCH: main
}
tf_extra_params:
test:
tmt:
name: smoke