Diffstat (limited to 'Jenkinsfile')
| -rw-r--r-- | Jenkinsfile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 5b7cf51..c9db63a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { KIWI_FILE = 'Fedora.kiwi' IMAGE_TYPE = 'iso' IMAGE_PROFILE = 'Workstation-Live' - IMAGE_VERSION = '45' + IMAGE_VERSION = '46' OUTPUT_DIR = 'outdir' B2_ENDPOINT = 'https://s3.eu-central-003.backblazeb2.com' @@ -17,8 +17,8 @@ pipeline { ISO_BUCKET = 'dist-sayagit-fedora-iso' // Must match the <source path="..."/> in - // repositories/kernel-surface.xml. - KERNEL_SURFACE_REPO_URL = 'https://rpm.sayag.it/kernel-sp12in/fedora/45/aarch64' + // repositories/kernel-sp12in.xml. + KERNEL_SURFACE_REPO_URL = 'https://rpm.sayag.it/kernel-sp12in/fedora/46/aarch64' // awscli2 sends CRC32 checksums by default, which B2 rejects. Ask for // them only where the S3 API requires them. @@ -41,7 +41,7 @@ spec: kubernetes.io/arch: arm64 containers: - name: kiwi - image: fedora:44 + image: fedora:45 imagePullPolicy: Always command: [ 'sleep' ] args: [ 'infinity' ] @@ -68,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-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 +150,8 @@ spec: mv "${src}" "${dst}" ls -lh - s5cmd --endpoint-url "${B2_ENDPOINT}" cp \\ + /s5cmd --endpoint-url "${B2_ENDPOINT}" cp \\ + --content-type "application/x-iso9660-image" \\ "${dst}" \\ "s3://${ISO_BUCKET}/fedora/${IMAGE_VERSION}/aarch64/${dst}" ''' |