From 64cb83b451d85fb97f3ba4f2f07b77ff1bd4d14b Mon Sep 17 00:00:00 2001 From: Andrej Shadura <andrew.shadura@collabora.co.uk> Date: Wed, 13 Feb 2019 13:43:47 +0100 Subject: [PATCH] Build only minimal images --- Jenkinsfile | 18 +++++++++--------- apertis-ospack-minimal.yaml | 1 - 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7cee71f3..58791501 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,15 +2,15 @@ osname = 'apertis' -release = "19.03" +release = "next" /* Determine whether to run uploads based on the prefix of the job name; in * case of apertis we expect the official jobs under apertis-<release>/ while * non-official onces can be in e.g. playground/ */ -def production = env.JOB_NAME.startsWith("${osname}-") +def production = false //env.JOB_NAME.startsWith("${osname}-") docker_registry_name = 'docker-registry.apertis.org' -docker_image_name = "${docker_registry_name}/apertis/apertis-${release}-image-builder" +docker_image_name = "${docker_registry_name}/apertis/apertis-19.03-image-builder" upload_host = "archive@images.apertis.org" upload_root = "/srv/images/" + (production ? "public" : "test/${env.JOB_NAME}") @@ -40,7 +40,7 @@ def architectures = [ image: true, sysroot: false, ostree: true, - ], + ],/* target: [ args: "-t demopack:${demopack}", image: true, @@ -73,7 +73,7 @@ def architectures = [ armhf: 'devroot', ] - ] + ]*/ ] ], arm64: [ @@ -84,7 +84,7 @@ def architectures = [ image: true, sysroot: false, ostree: true, - ], + ],/* target: [ args: "-t demopack:${demopack}", image: true, @@ -96,7 +96,7 @@ def architectures = [ image: false, sysroot: true, ostree: false, - ] + ]*/ ] ], armhf: [ @@ -107,7 +107,7 @@ def architectures = [ image: true, sysroot: false, ostree: true - ], + ],/* sysroot: [ args: '--scratchsize 10G', image: false, @@ -119,7 +119,7 @@ def architectures = [ image: false, sysroot: false, ostree: false - ] + ]*/ ] ] ] diff --git a/apertis-ospack-minimal.yaml b/apertis-ospack-minimal.yaml index 65a3a0f3..749a5511 100644 --- a/apertis-ospack-minimal.yaml +++ b/apertis-ospack-minimal.yaml @@ -43,7 +43,6 @@ actions: description: "Base packages" packages: - busybox - # - busybox-initramfs - dbus-user-session - action: apt -- GitLab