File tree 5 files changed +159
-7
lines changed
5 files changed +159
-7
lines changed Original file line number Diff line number Diff line change
1
+ 1
Original file line number Diff line number Diff line change @@ -28,13 +28,14 @@ jobs:
28
28
failure_comment :
29
29
message : " Ephemeral COPR build failed. @containers/packit-build please check."
30
30
enable_net : true
31
- targets :
32
- - fedora-all
31
+ targets : &fedora_copr_targets
32
+ - fedora-all-x86_64
33
+ - fedora-all-aarch64
33
34
34
35
- job : copr_build
35
36
trigger : pull_request
36
37
packages : [containers-common-eln]
37
- notifications : *ephemeral_build_failure_notification
38
+ # notifications: *ephemeral_build_failure_notification
38
39
enable_net : true
39
40
targets :
40
41
fedora-eln :
@@ -47,11 +48,13 @@ jobs:
47
48
- job : copr_build
48
49
trigger : pull_request
49
50
packages : [containers-common-centos]
50
- notifications : *ephemeral_build_failure_notification
51
+ # notifications: *ephemeral_build_failure_notification
51
52
enable_net : true
52
- targets :
53
- - centos-stream-9
54
- - centos-stream-10
53
+ targets : ¢os_copr_targets
54
+ - centos-stream-10-x86_64
55
+ - centos-stream-10-aarch64
56
+ - centos-stream-9-x86_64
57
+ - centos-stream-9-aarch64
55
58
56
59
# Run on commit to main branch
57
60
- job : copr_build
65
68
project : podman-next
66
69
enable_net : true
67
70
71
+ - job : tests
72
+ trigger : pull_request
73
+ packages : [containers-common-fedora]
74
+ targets :
75
+ - fedora-rawhide
76
+ - fedora-42
77
+ - fedora-41
78
+ enable_net : true
79
+ tf_extra_params :
80
+ environments :
81
+ - artifacts :
82
+ - type : repository-file
83
+ id : https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
84
+
68
85
- job : propose_downstream
69
86
trigger : release
70
87
packages : [containers-common-fedora]
Original file line number Diff line number Diff line change
1
+ prepare:
2
+ - when: distro == centos-stream or distro == rhel
3
+ how: shell
4
+ script: |
5
+ dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
6
+ dnf -y config-manager --set-enabled epel
7
+ order: 10
8
+ - when: initiator == packit
9
+ how: shell
10
+ script: |
11
+ COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo"
12
+ if compgen -G $COPR_REPO_FILE > /dev/null; then
13
+ sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
14
+ fi
15
+ dnf -y upgrade --allowerasing
16
+ order: 20
17
+ - name: packages
18
+ how: install
19
+ package: [buildah-tests]
20
+
21
+ discover:
22
+ how: fmf
23
+ url: https://github.com/lsm5/buildah
24
+ ref: "tmt-system-tests"
25
+ test: /tests/tmt
26
+
27
+ execute:
28
+ how: tmt
29
+
30
+ provision:
31
+ how: artemis
32
+ hardware:
33
+ memory: ">= 16 GB"
34
+ cpu:
35
+ cores: ">= 4"
36
+ threads: ">=8"
37
+ disk:
38
+ - size: ">= 512 GB"
Original file line number Diff line number Diff line change
1
+ prepare:
2
+ - when: distro == centos-stream or distro == rhel
3
+ how: shell
4
+ script: |
5
+ dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
6
+ dnf -y config-manager --set-enabled epel
7
+ order: 10
8
+ - when: initiator == packit
9
+ how: shell
10
+ script: |
11
+ COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo"
12
+ if compgen -G $COPR_REPO_FILE > /dev/null; then
13
+ sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
14
+ fi
15
+ dnf -y upgrade --allowerasing
16
+ order: 20
17
+ - name: packages
18
+ how: install
19
+ package: [podman-tests]
20
+
21
+ discover:
22
+ how: fmf
23
+ url: https://github.com/lsm5/podman
24
+ ref: "tmt-fedora-centos"
25
+
26
+ execute:
27
+ how: tmt
28
+
29
+ provision:
30
+ how: artemis
31
+ hardware:
32
+ memory: ">= 16 GB"
33
+ cpu:
34
+ cores: ">= 4"
35
+ threads: ">=8"
36
+ disk:
37
+ - size: ">= 512 GB"
38
+
39
+ /local-root:
40
+ summary: Local rootful tests
41
+ discover+:
42
+ filter: 'tag:local & tag:root'
43
+
44
+ /local-rootless:
45
+ summary: Local rootless tests
46
+ discover+:
47
+ filter: 'tag:local & tag:rootless'
48
+
49
+ /remote-root:
50
+ summary: Remote rootful tests
51
+ discover+:
52
+ filter: 'tag:remote & tag:root'
53
+
54
+ /remote-rootless:
55
+ summary: Remote rootless tests
56
+ discover+:
57
+ filter: 'tag:remote & tag:rootless'
58
+
Original file line number Diff line number Diff line change
1
+ prepare:
2
+ - when: distro == centos-stream or distro == rhel
3
+ how: shell
4
+ script: |
5
+ dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
6
+ dnf -y config-manager --set-enabled epel
7
+ order: 10
8
+ - when: initiator == packit
9
+ how: shell
10
+ script: |
11
+ COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo"
12
+ if compgen -G $COPR_REPO_FILE > /dev/null; then
13
+ sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
14
+ fi
15
+ dnf -y upgrade --allowerasing
16
+ order: 20
17
+ - name: packages
18
+ how: install
19
+ package: [skopeo-tests]
20
+
21
+ discover:
22
+ how: fmf
23
+ url: https://github.com/containers/skopeo
24
+ ref: "main"
25
+ test: /systemtest/tmt
26
+
27
+ execute:
28
+ how: tmt
29
+
30
+ provision:
31
+ how: artemis
32
+ hardware:
33
+ memory: ">= 16 GB"
34
+ cpu:
35
+ cores: ">= 4"
36
+ threads: ">=8"
37
+ disk:
38
+ - size: ">= 512 GB"
You can’t perform that action at this time.
0 commit comments