Skip to content

Commit 28aacf8

Browse files
authored
Add scripts for Rocky Linux (#159)
1 parent 4aca72f commit 28aacf8

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env bash
2+
# Copyright 2020-Present Couchbase, Inc.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
PROJECT_ROOT="$( cd "$(dirname "$0")/../.." >/dev/null 2>&1 ; pwd -P )"
17+
18+
set -x
19+
set -e
20+
21+
[ "$(id -u)" -ne 0 ] && SUDO="sudo " || SUDO=""
22+
23+
exec ${PROJECT_ROOT}/bin/jenkins/install-rubies.sh

bin/jenkins/install-dependencies.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ case ${OS_ID} in
4343
exec ${PROJECT_ROOT}/bin/jenkins/install-dependencies-for-centos.sh
4444
;;
4545

46+
rocky)
47+
exec ${PROJECT_ROOT}/bin/jenkins/install-dependencies-for-rockylinux.sh
48+
;;
49+
4650
alpine)
4751
exec ${PROJECT_ROOT}/bin/jenkins/install-dependencies-for-alpine.sh
4852
;;

0 commit comments

Comments
 (0)