File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
build_scripts/code-compilation Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ -devel userspace-rcu libnsl2-devel libcephfs-devel #! /bin/sh
2
2
#
3
3
# Environment variables used:
4
4
# - SERVER: hostname or IP-address of the NFS-server
15
15
16
16
# install build and runtime dependencies
17
17
echo " Install build and runtime dependencies"
18
- yum -y install nfs-utils git gcc time
18
+ yum -y install nfs-utils git gcc time centos-release-gluster
19
19
20
20
# flag for commands which should run only once
21
21
once=0
33
33
if [ $once -eq 0 ]
34
34
then
35
35
if [ " ${CENTOS_VERSION} " == " 7" ]; then
36
- yum -y install bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel libnfsidmap-devel libwbclient-devel libcap-devel libblkid-devel rpm-build redhat-rpm-config centos-release-gluster userspace-rcu-devel userspace-rcu libnsl2-devel libcephfs-devel
36
+ yum -y install bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel libnfsidmap-devel libwbclient-devel libcap-devel libblkid-devel rpm-build redhat-rpm-config glusterfs-api epel-release libnsl2-devel libcephfs-devel
37
+ yum clean all & yum clean metadata
38
+ yum -y install userspace-rcu
37
39
elif [ " ${CENTOS_VERSION} " == " 8s" ]; then
38
40
yum -y install bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel libcap-devel libblkid-devel rpm-build redhat-rpm-config glusterfs-api
39
41
yum -y --enablerepo=powertools install libnfsidmap-devel libwbclient-devel userspace-rcu-devel userspace-rcu libnsl2-devel libcephfs-devel
Original file line number Diff line number Diff line change 1
1
- job :
2
- name : nfs-ganesha_trigger- checkpatch
2
+ name : checkpatch
3
3
node : cico-workspace
4
4
description : " Run checkpatch on nfs-ganesha. This job is triggered by sending a change to https://review.gerrithub.io/#/q/project:ffilz/nfs-ganesha for review\n\n Note: it is possible to retrigger a test for a change by including recheck checkpatch in a comment on GerritHub."
5
5
project-type : freestyle
51
51
branch-compare-type : ANT
52
52
53
53
wrappers :
54
- - ssh-agent
54
+ - gerrithub_key
Original file line number Diff line number Diff line change @@ -7,16 +7,14 @@ if [[ -n "$GERRIT_REFSPEC" ]]; then
7
7
GERRIT_PUBLISH=true
8
8
fi
9
9
10
- # ssh -o 'StrictHostKeyChecking no' -p 29418 $GERRIT_USER@review.gerrithub.io -v
11
-
12
10
if ! [ -d nfs-ganesha ]; then
13
- GIT_SSH_COMMAND=" ssh -o StrictHostKeyChecking=no" git clone --depth=1 -o gerrit ssh://$GERRIT_USER @review.gerrithub.io:29418/ffilz/nfs-ganesha.git -v
11
+ GIT_SSH_COMMAND=" ssh -o StrictHostKeyChecking=no -i $GERRITHUB_KEY " git clone --depth=1 -o gerrit ssh://$GERRIT_USER @review.gerrithub.io:29418/ffilz/nfs-ganesha.git -v
14
12
fi
15
13
16
14
( cd nfs-ganesha && git fetch gerrit $GERRIT_REF && git checkout $REVISION )
17
15
18
16
publish_checkpatch () {
19
- local SSH_GERRIT=" ssh -p 29418 $GERRIT_USER @review.gerrithub.io"
17
+ local SSH_GERRIT=" ssh -p 29418 -i $GERRITHUB_KEY $GERRIT_USER @review.gerrithub.io"
20
18
if [[ " $GERRIT_PUBLISH " == " true" ]]; then
21
19
tee /proc/$$ /fd/1 | $SSH_GERRIT " gerrit review --json --project ffilz/nfs-ganesha $REVISION "
22
20
else
You can’t perform that action at this time.
0 commit comments