6be09152c2
In preparation for promoting the openSUSE jobs to voting ones we should use the OpenStack mirrors. As such, the opensuse elements are modified to make use of the DIB_DISTRIBUTION_MIRROR variable which is normally exported by the openstack-ci-mirrors element. Change-Id: Ie588c1c1eec13190cfb2ec718ba51f8c9878283f
13 lines
486 B
Bash
13 lines
486 B
Bash
export DISTRO_NAME=opensuse
|
|
export DIB_RELEASE=${DIB_RELEASE:-42.2}
|
|
export DIB_OPENSUSE_PATTERNS=patterns-openSUSE-base
|
|
case ${DIB_RELEASE} in
|
|
# Old openSUSE releases
|
|
13*) export OPENSUSE_REPO_DIR=openSUSE_${DIB_RELEASE} ;;
|
|
# New Leap releases
|
|
42*) export OPENSUSE_REPO_DIR=openSUSE_Leap_${DIB_RELEASE} ;;
|
|
*) echo "Unsupported openSUSE release: ${DIB_RELEASE}"; exit 1 ;;
|
|
esac
|
|
|
|
export DIB_DISTRIBUTION_MIRROR=${DIB_DISTRIBUTION_MIRROR:-http://download.opensuse.org}
|