Skip to content

Commit 1a86ec1

Browse files
rakshithakamath94Rakshitha Kamath
authored and
Rakshitha Kamath
committed
Disable few jobs
1 parent a09a2e5 commit 1a86ec1

15 files changed

+57
-33
lines changed

build_scripts/common/basic-storage-scale.sh

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ set -x
2323

2424
#THE FOLLOWING LINES OF CODE DOWNLOADS STORAGE SCALE, INSTALLS IT AND CREATES A CLUSTER
2525
#----------------------------------------------------------------------------------------------
26-
WORKING_DIR="DOWNLOAD_STORAGE_SCALE"
26+
WORKSPACE_PATH=$(pwd)
27+
WORKING_DIR="$WORKSPACE_PATH/DOWNLOAD_STORAGE_SCALE"
2728
mkdir -p $WORKING_DIR
2829
cd $WORKING_DIR
2930
echo $PWD
@@ -39,8 +40,9 @@ aws configure set aws_secret_access_key ${AWS_SECRET_KEY}
3940
aws s3api get-object --bucket centos-ci --key "version_to_use.txt" "version_to_use.txt"
4041
VERSION_TO_USE=$(cat version_to_use.txt)
4142
echo ${VERSION_TO_USE}
42-
aws s3api get-object --bucket centos-ci --key "${VERSION_TO_USE}" "Storage_Scale_Developer-5.1.9.0-x86_64-Linux-install.zip"
43-
unzip Storage_Scale_Developer-5.1.9.0-x86_64-Linux-install.zip
43+
aws s3api get-object --bucket centos-ci --key "${VERSION_TO_USE}" "${VERSION_TO_USE}"
44+
mkdir "$WORKING_DIR/INSTALL_PATH"
45+
unzip ${VERSION_TO_USE} -d INSTALLER_PATH/
4446

4547
ssh-keygen -b 2048 -t rsa -f ~/.ssh/id_rsa -q -N ""
4648
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
@@ -56,31 +58,35 @@ for new_ip in $(echo $ip_address | awk -F '.' '{for(i=$4+1;i<=255;i++){print $1"
5658

5759
echo "$USABLE_IP cesip1" >> /etc/hosts
5860

59-
INSTALLER_VERSION=$(echo ${VERSION_TO_USE/.zip/})
60-
chmod +x $INSTALLER_VERSION
61-
./$INSTALLER_VERSION --silent
61+
INSTALLER_VERSION=$(ls INSTALLER_PATH/ --ignore="*.md5" --ignore="*.README" --ignore="*.pgp")
62+
INSTALLER=$(readlink -f INSTALLER_PATH/${INSTALLER_VERSION})
63+
chmod +x $INSTALLER
64+
$INSTALLER --silent
6265

63-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale setup -s 127.0.0.1 --storesecret;
64-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale node add $(hostname) -n;
65-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale node add $(hostname) -p;
66-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale config protocols -e $USABLE_IP;
67-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale node add -a $(hostname);
68-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale config gpfs -c $(hostname)_cluster;
66+
export PATH="$PATH:$(readlink -f /usr/lpp/mmfs/*/ansible-toolkit/)"
67+
68+
spectrumscale setup -s 127.0.0.1 --storesecret;
69+
spectrumscale node add $(hostname) -n;
70+
spectrumscale node add $(hostname) -p;
71+
spectrumscale config protocols -e $USABLE_IP;
72+
spectrumscale node add -a $(hostname);
73+
spectrumscale config gpfs -c $(hostname)_cluster;
6974
dd if=/dev/zero of=/home/nsd1_c84f2u09-rhel88a1 bs=1M count=8192;
70-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale nsd add -p $(hostname) -u dataAndMetadata -fs ${STORAGE_SCALE_VOLUME} -fg 1 /home/nsd1_c84f2u09-rhel88a1;
71-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale config protocols -f ${STORAGE_SCALE_VOLUME} -m /ibm/${STORAGE_SCALE_VOLUME};
72-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale enable nfs;
73-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale enable smb;
74-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale callhome disable;
75-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale config perfmon -r off;
76-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale node list;
77-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale install --precheck;
78-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale install;
79-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale deploy --precheck;
80-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale deploy;
81-
82-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale nsd list
83-
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale filesystem list
75+
spectrumscale nsd add -p $(hostname) -u dataAndMetadata -fs ${STORAGE_SCALE_VOLUME} -fg 1 /home/nsd1_c84f2u09-rhel88a1;
76+
spectrumscale config protocols -f ${STORAGE_SCALE_VOLUME} -m /ibm/${STORAGE_SCALE_VOLUME};
77+
spectrumscale enable nfs;
78+
spectrumscale enable smb;
79+
spectrumscale callhome disable;
80+
spectrumscale config perfmon -r off;
81+
spectrumscale node list;
82+
spectrumscale install --precheck;
83+
spectrumscale install;
84+
spectrumscale deploy --precheck;
85+
spectrumscale deploy;
86+
87+
spectrumscale nsd list
88+
spectrumscale filesystem list
89+
8490
#----------------------------------------------------------------------------------------------
8591

8692
#THE FOLLOWING LINES OF CODE CLONES THE SOURCE CODE, RPMBUILD AND INSTALLS THE RPMS

globals/macros/macros.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
exclude-drafts: true
5757
exclude-no-code-change: true
5858
- comment-added-contains-event:
59-
comment-contains-value: 'recheck all'
59+
comment-contains-value: 'recheck {option}'
6060
projects:
6161
- project-compare-type: PLAIN
6262
project-pattern: 'ffilz/nfs-ganesha'
@@ -146,7 +146,7 @@
146146
name: terminate_stuck_build
147147
wrappers:
148148
- timeout:
149-
timeout: 240
149+
timeout: 360
150150
abort: true
151151
type: no-activity
152152

jobs/code_compilation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
description: 'Run code compilation for nfs-ganesha against the latest build of Ganesha with FSAL_GLUSTER.'
55
project-type: freestyle
66
concurrent: true
7+
disabled: true
78
allow-manual-triggers: true
89

910
scm:

jobs/dbench.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
description: 'Run dbench test suite against the latest build of Ganesha with FSAL_GLUSTER.'
55
project-type: freestyle
66
concurrent: false
7+
disabled: true
78
allow-manual-triggers: true
89

910
scm:

jobs/labelled_nfs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
description: 'Start labelled_nfs test when a new patch is posted to GerritHub.'
55
project-type: freestyle
66
concurrent: false
7+
disabled: true
78
allow-manual-triggers: false
89

910
properties:

jobs/posix-compliance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
description: "Run posix compliance testsuite (NFSv4.0) against the latest build of Ganesha with FSAL_GLUSTER.\n\nposix compliance test suite cloned from, https://github.com/ffilz/ntfs-3g-pjd-fstest.git"
55
project-type: freestyle
66
concurrent: false
7+
disabled: true
78
allow-manual-triggers: true
89

910
scm:

jobs/pylint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
description: 'Run dbench test suite against the latest build of Ganesha with FSAL_GLUSTER.'
55
project-type: freestyle
66
concurrent: false
7+
disabled: true
78
allow-manual-triggers: true
89

910
scm:

jobs/scripts/common.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# no need for verbose output
2+
set +x
3+
4+
# do not immediately fail on an error
5+
set +e
6+
17
export CENTOS_VERSION=${CENTOS_VERSION}
28
export CENTOS_ARCH=${CENTOS_ARCH}
39
export GERRIT_HOST=${GERRIT_HOST}
@@ -58,3 +64,5 @@ then
5864
${NOTIFY} \
5965
${GERRIT_PATCHSET_REVISION}
6066
fi
67+
68+
exit ${EXIT}

jobs/small-file.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
description: 'Start Small_File test when a new patch is posted to GerritHub.'
55
project-type: freestyle
66
concurrent: flase
7+
disabled: true
78
allow-manual-triggers: false
89

910
scm:

jobs/storage-scale.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
description: 'Run Storage Scale CI test'
66
project-type: freestyle
77
concurrent: false
8+
disabled: true
89
allow-manual-triggers: true
910

1011
scm:

jobs/template_iozone.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
project-type: freestyle
2121
concurrent: false
2222
allow-manual-triggers: true
23+
disabled: true
2324

2425
properties:
2526
- discarder

jobs/trigger-cthon04-on-new-patch.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
predefined-parameters: |
2424
CENTOS_VERSION=8s
2525
CENTOS_ARCH=x86_64
26-
GERRIT_HOST=${GERRIT_HOST}
27-
GERRIT_PROJECT=${GERRIT_PROJECT}
28-
GERRIT_REFSPEC=${GERRIT_REFSPEC}
26+
GERRIT_HOST=$GERRIT_HOST
27+
GERRIT_PROJECT=$GERRIT_PROJECT
28+
GERRIT_REFSPEC=$GERRIT_REFSPEC
2929
- shell: |
3030
bash $WORKSPACE/ci-tests/build_scripts/common/add-gerrit-comment.sh
3131

jobs/trigger-on-new-build_next-el7-x86_64.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
decription: '[next/el7/x86_64] Trigger tests whenever a new automated build is available in the YUM repository.'
55
project-type: freestyle
66
concurrent: false
7+
disabled: true
78
allow-manual-triggers: false
89

910
properties:

jobs/trigger-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
node: cico-workspace
44
project-type: freestyle
55
concurrent: false
6+
disabled: true
67
allow-manual-triggers: true
78

89
scm:

tests/Containerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM quay.io/centos/centos:stream
1+
FROM quay.io/centos/centos:stream9
22

33
RUN true \
4-
&& dnf -y install python3.8 \
4+
&& dnf -y install python3-pip \
55
&& pip3 install jenkins-job-builder \
66
&& dnf -y clean all \
77
&& true

0 commit comments

Comments
 (0)