Skip to content

Commit 64d2085

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Enable opensuse-42.2 as a tested distro"
2 parents c639fc4 + e61e19e commit 64d2085

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

stack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ source $TOP_DIR/stackrc
192192

193193
# Warn users who aren't on an explicitly supported distro, but allow them to
194194
# override check and attempt installation with ``FORCE=yes ./stack``
195-
if [[ ! ${DISTRO} =~ (xenial|yakkety|zesty|stretch|jessie|f24|f25|rhel7|kvmibm1) ]]; then
195+
if [[ ! ${DISTRO} =~ (xenial|yakkety|zesty|stretch|jessie|f24|f25|opensuse-42.2|rhel7|kvmibm1) ]]; then
196196
echo "WARNING: this script has not been tested on $DISTRO"
197197
if [[ "$FORCE" != "yes" ]]; then
198198
die $LINENO "If you wish to run this script anyway run with FORCE=yes"

tools/install_prereqs.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ export_proxy_variables
6060
# Install Packages
6161
# ================
6262

63+
if [[ "${DISTRO}" == "opensuse-42.2" ]]; then
64+
# temporary workaround until https://bugzilla.suse.com/show_bug.cgi?id=1041161 is fixed
65+
sudo zypper ar -f http://download.opensuse.org/update/leap/42.2-test/ leap42.2-test-updates
66+
sudo zypper --non-interactive --gpg-auto-import-keys --no-gpg-checks ref
67+
sudo zypper --non-interactive install liberasurecode-devel
68+
sudo zypper rr leap42.2-test-updates
69+
fi
70+
6371
# Install package requirements
6472
PACKAGES=$(get_packages general,$ENABLED_SERVICES)
6573
PACKAGES="$PACKAGES $(get_plugin_packages)"

0 commit comments

Comments
 (0)