diff --git a/bin/jenkins/install-dependencies-for-rockylinux.sh b/bin/jenkins/install-dependencies-for-rockylinux.sh new file mode 100755 index 00000000..1e9b2ed3 --- /dev/null +++ b/bin/jenkins/install-dependencies-for-rockylinux.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +# Copyright 2020-Present Couchbase, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +PROJECT_ROOT="$( cd "$(dirname "$0")/../.." >/dev/null 2>&1 ; pwd -P )" + +set -x +set -e + +[ "$(id -u)" -ne 0 ] && SUDO="sudo " || SUDO="" + +exec ${PROJECT_ROOT}/bin/jenkins/install-rubies.sh diff --git a/bin/jenkins/install-dependencies.sh b/bin/jenkins/install-dependencies.sh index eae49170..693c69f1 100755 --- a/bin/jenkins/install-dependencies.sh +++ b/bin/jenkins/install-dependencies.sh @@ -43,6 +43,10 @@ case ${OS_ID} in exec ${PROJECT_ROOT}/bin/jenkins/install-dependencies-for-centos.sh ;; + rocky) + exec ${PROJECT_ROOT}/bin/jenkins/install-dependencies-for-rockylinux.sh + ;; + alpine) exec ${PROJECT_ROOT}/bin/jenkins/install-dependencies-for-alpine.sh ;;