Enable the Software Collections (SCL) repository for CentOS. This
repository includes useful software (e.g. the Go Toolset) which is not
present in the main repository.
For example, Octavia uses a Go based testing tool and its CentOS-based
jobs got broken now with the update to CentOS 7.6 which no longer
provides golang.
Change-Id: Ic68a6d6cd7da41510e624b6bea7976d9a960af98
... | ... |
@@ -335,6 +335,13 @@ function _install_rdo { |
335 | 335 |
# no-op on other platforms. |
336 | 336 |
sudo yum-config-manager --enable rhel-7-server-optional-rpms |
337 | 337 |
|
338 |
+ # Enable the Software Collections (SCL) repository for CentOS. |
|
339 |
+ # This repository includes useful software (e.g. the Go Toolset) |
|
340 |
+ # which is not present in the main repository. |
|
341 |
+ if [[ "$os_VENDOR" =~ (CentOS) ]]; then |
|
342 |
+ yum_install centos-release-scl |
|
343 |
+ fi |
|
344 |
+ |
|
338 | 345 |
if is_oraclelinux; then |
339 | 346 |
sudo yum-config-manager --enable ol7_optional_latest ol7_addons ol7_MySQL56 |
340 | 347 |
fi |