Skip to content

Commit

Permalink
Add scripts for Rocky Linux (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
avsej authored Sep 23, 2024
1 parent 4aca72f commit 28aacf8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions bin/jenkins/install-dependencies-for-rockylinux.sh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions bin/jenkins/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 28aacf8

Please sign in to comment.