Skip to content

Commit 767608c

Browse files
committed
.cci.Jenkinsfile: drop Fedora CoreOS testing
It doesn't work properly against these rhcos- branches anyway. Let's just limit the testing to building the container and running check and unittest tests. (cherry picked from commit 511a61d)
1 parent 972310d commit 767608c

File tree

1 file changed

+1
-48
lines changed

1 file changed

+1
-48
lines changed

.cci.jenkinsfile

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -6,58 +6,11 @@ def cpuCount = 6
66
def cpuCount_s = cpuCount.toString()
77
def imageName = buildImage(env: [ENABLE_GO_RACE_DETECTOR: "1", GOMAXPROCS: cpuCount_s], cpu: cpuCount_s)
88

9-
def memory = (cpuCount * 1536) as Integer
10-
pod(image: imageName + ":latest", kvm: true, cpu: "${cpuCount}", memory: "${memory}Mi") {
9+
pod(image: imageName + ":latest", cpu: "2", memory: "3072Mi") {
1110
checkout scm
1211

1312
stage("Unit tests") {
1413
shwrap("make check")
1514
shwrap("make unittest")
1615
}
17-
18-
shwrap("rpm -qa | sort > rpmdb.txt")
19-
archiveArtifacts artifacts: 'rpmdb.txt'
20-
21-
// Run stage Build FCOS (init, fetch and build)
22-
cosaBuild(skipKola: 1, cosaDir: "/srv", noForce: true)
23-
24-
// Run stage Kola QEMU (basic-qemu-scenarios, upgrade and self tests)
25-
kola(cosaDir: "/srv", addExtTests: ["${env.WORKSPACE}/ci/run-kola-self-tests"])
26-
27-
stage("Build Metal") {
28-
cosaParallelCmds(cosaDir: "/srv", commands: ["metal", "metal4k"])
29-
}
30-
31-
stage("Build Live Images") {
32-
// Explicitly test re-importing the ostree repo
33-
shwrap("cd /srv && rm tmp/repo -rf")
34-
utils.cosaCmd(cosaDir: "/srv", args: "buildextend-live --fast")
35-
}
36-
37-
kolaTestIso(cosaDir: "/srv")
38-
39-
stage("Build Cloud Images") {
40-
cosaParallelCmds(cosaDir: "/srv", commands: ["Aliyun", "AWS", "Azure", "DigitalOcean", "Exoscale", "GCP",
41-
"IBMCloud", "OpenStack", "VMware", "Vultr"])
42-
43-
// quick schema validation
44-
utils.cosaCmd(cosaDir: "/srv", args: "meta --get name")
45-
}
46-
47-
stage("Compress") {
48-
utils.cosaCmd(cosaDir: "/srv", args: "compress --fast")
49-
}
50-
51-
stage("Upload Dry Run") {
52-
utils.cosaCmd(cosaDir: "/srv", args: "buildupload --dry-run s3 --acl=public-read my-nonexistent-bucket/my/prefix")
53-
}
54-
55-
// Random other tests that aren't about building. XXX: These should be part of `make
56-
// check` or something and use dummy cosa builds.
57-
stage("CLI Tests") {
58-
shwrap("""
59-
cd /srv
60-
${env.WORKSPACE}/tests/test_pruning.sh
61-
""")
62-
}
6316
}

0 commit comments

Comments
 (0)