Diffstat (limited to 'Jenkinsfile')
| -rw-r--r-- | Jenkinsfile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 4b18f35..5b7cf51 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,8 +3,6 @@ pipeline { options { timestamps() - preserveStashes() - buildDiscarder(logRotator(daysToKeepStr: '7')) } environment { @@ -19,7 +17,7 @@ pipeline { ISO_BUCKET = 'dist-sayagit-fedora-iso' // Must match the <source path="..."/> in - // repositories/kernel-sp12in.xml. + // repositories/kernel-surface.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 @@ -43,7 +41,7 @@ spec: kubernetes.io/arch: arm64 containers: - name: kiwi - image: fedora:45 + image: fedora:44 imagePullPolicy: Always command: [ 'sleep' ] args: [ 'infinity' ] @@ -70,7 +68,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-sp12in.xml + // it to rpm.sayag.it, which repositories/kernel-surface.xml // points at directly, so there is nothing to stage // here. Fail now rather than several minutes into // kiwi on an unresolvable package name. @@ -152,9 +150,7 @@ spec: mv "${src}" "${dst}" ls -lh - /s5cmd --endpoint-url "${B2_ENDPOINT}" --log debug cp \\ - --content-type "application/x-iso9660-image" \\ - --show-progress \\ + s5cmd --endpoint-url "${B2_ENDPOINT}" cp \\ "${dst}" \\ "s3://${ISO_BUCKET}/fedora/${IMAGE_VERSION}/aarch64/${dst}" ''' |