Skip to content

Commit b726a5f

Browse files
committed
ci: buildprep from latest testing-devel
That way if a PR adds a package, we'll print the pkg diff.
1 parent 99ddc6e commit b726a5f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.cci.jenkinsfile

+12
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,22 @@ coreos.pod([image: "quay.io/coreos-assembler/coreos-assembler:latest", kvm: true
88
dir("cosa") {
99
coreos.shwrap("""
1010
cosa init ${env.WORKSPACE}/fedora-coreos-config
11+
# prep from the latest builds so that we generate a diff on PRs that add packages
12+
cosa buildprep https://builds.coreos.fedoraproject.org/prod/streams/testing-devel/builds
1113
cosa build
1214
""")
1315
}
1416
}
17+
18+
// also print the pkgdiff as a separate stage to make it more visible
19+
stage("RPM Diff") {
20+
dir("cosa") {
21+
coreos.shwrap("""
22+
jq .pkgdiff builds/latest/x86_64/meta.json
23+
""")
24+
}
25+
}
26+
1527
stage("Kola") {
1628
dir("cosa") {
1729
coreos.shwrap("""

0 commit comments

Comments
 (0)