aboutsummaryrefslogtreecommitdiffci
path: root/Jenkinsfile
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 5b7cf51..4b18f35 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -3,6 +3,8 @@ pipeline {
options {
timestamps()
+ preserveStashes()
+ buildDiscarder(logRotator(daysToKeepStr: '7'))
}
environment {
@@ -17,7 +19,7 @@ pipeline {
ISO_BUCKET = 'dist-sayagit-fedora-iso'
// Must match the <source path="..."/> in
- // repositories/kernel-surface.xml.
+ // repositories/kernel-sp12in.xml.
KERNEL_SURFACE_REPO_URL = 'https://rpm.sayag.it/kernel-sp12in/fedora/45/aarch64'
// awscli2 sends CRC32 checksums by default, which B2 rejects. Ask for
@@ -41,7 +43,7 @@ spec:
kubernetes.io/arch: arm64
containers:
- name: kiwi
- image: fedora:44
+ image: fedora:45
imagePullPolicy: Always
command: [ 'sleep' ]
args: [ 'infinity' ]
@@ -68,7 +70,7 @@ spec:
// something this repository can produce: the image
// installs kernel-surface by name and <ignore>s
// Fedora's kernel packages. Its pipeline publishes
- // it to rpm.sayag.it, which repositories/kernel-surface.xml
+ // it to rpm.sayag.it, which repositories/kernel-sp12in.xml
// points at directly, so there is nothing to stage
// here. Fail now rather than several minutes into
// kiwi on an unresolvable package name.
@@ -150,7 +152,9 @@ spec:
mv "${src}" "${dst}"
ls -lh
- s5cmd --endpoint-url "${B2_ENDPOINT}" cp \\
+ /s5cmd --endpoint-url "${B2_ENDPOINT}" --log debug cp \\
+ --content-type "application/x-iso9660-image" \\
+ --show-progress \\
"${dst}" \\
"s3://${ISO_BUCKET}/fedora/${IMAGE_VERSION}/aarch64/${dst}"
'''