Switch to openSUSE Leap 42.2 release by default

openSUSE 13.1 was discontinued on Feb 3rd, 2016, so defaulting
to it doesn't make sense (see https://en.opensuse.org/Lifetime).

Leap 42.2 is the most current release that is supported by
disk-image-builder and being tested in a 3rd party ci.

Enable functests for it to ensure we're not regressing again.
Moved to non-voting gate first.

Depends-On: Iff495b3cd0b6c3558c44cf4883651eca67b572d6
Change-Id: Iae6cd34a5853f1e309861c554d94d8595cbd9993
This commit is contained in:
Dirk Mueller 2016-12-09 11:33:56 +01:00
parent 8c74c8e409
commit 54f4e12765
7 changed files with 7 additions and 5 deletions

View File

@ -13,7 +13,7 @@ Environment Variables
DIB_RELEASE
:Required: No
:Default: 42.1
:Default: 42.2
:Description: Set the desired openSUSE release.
DIB_OPENSUSE_MIRROR:

View File

@ -1,5 +1,5 @@
export DISTRO_NAME=opensuse
DIB_RELEASE=${DIB_RELEASE:-42.1}
DIB_RELEASE=${DIB_RELEASE:-42.2}
export DIB_RELEASE=${DIB_RELEASE,,}
export DIB_OPENSUSE_MIRROR=${DIB_OPENSUSE_MIRROR:-http://download.opensuse.org}
case ${DIB_RELEASE} in

View File

@ -18,7 +18,7 @@ Environment Variables
DIB_RELEASE
:Required: No
:Default: 13.1
:Default: 42.2
:Description: Set the desired openSUSE release.
DIB_CLOUD_IMAGES

View File

@ -1,5 +1,5 @@
export DISTRO_NAME=opensuse
export DIB_RELEASE=${DIB_RELEASE:-13.1}
export DIB_RELEASE=${DIB_RELEASE:-42.2}
case ${DIB_RELEASE} in
# Old openSUSE releases
13*) export OPENSUSE_REPO_DIR=openSUSE_${DIB_RELEASE} ;;

View File

@ -0,0 +1 @@
Verify we can build an openSUSE image.

View File

@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright 2016 SUSE Linux Products Gmb
# Copyright 2016 SUSE Linux GmbH
# Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may

View File

@ -18,6 +18,7 @@ DEFAULT_SKIP_TESTS=(
fedora/build-succeeds
# in non-voting
gentoo/build-succeeds
opensuse/build-succeeds
# good to have the test case around - but because of changes
# in testing does not work always.
debian-minimal/testing-build-succeeds