Skip to content

Commit

Permalink
Disable few jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshithakamath94 authored and Rakshitha Kamath committed Oct 10, 2024
1 parent a09a2e5 commit 1ed5d17
Show file tree
Hide file tree
Showing 15 changed files with 58 additions and 34 deletions.
58 changes: 32 additions & 26 deletions build_scripts/common/basic-storage-scale.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ set -x

#THE FOLLOWING LINES OF CODE DOWNLOADS STORAGE SCALE, INSTALLS IT AND CREATES A CLUSTER
#----------------------------------------------------------------------------------------------
WORKING_DIR="DOWNLOAD_STORAGE_SCALE"
WORKSPACE_PATH=$(pwd)
WORKING_DIR="$WORKSPACE_PATH/DOWNLOAD_STORAGE_SCALE"
mkdir -p $WORKING_DIR
cd $WORKING_DIR
echo $PWD
Expand All @@ -39,8 +40,9 @@ aws configure set aws_secret_access_key ${AWS_SECRET_KEY}
aws s3api get-object --bucket centos-ci --key "version_to_use.txt" "version_to_use.txt"
VERSION_TO_USE=$(cat version_to_use.txt)
echo ${VERSION_TO_USE}
aws s3api get-object --bucket centos-ci --key "${VERSION_TO_USE}" "Storage_Scale_Developer-5.1.9.0-x86_64-Linux-install.zip"
unzip Storage_Scale_Developer-5.1.9.0-x86_64-Linux-install.zip
aws s3api get-object --bucket centos-ci --key "${VERSION_TO_USE}" "${VERSION_TO_USE}"
mkdir "$WORKING_DIR/INSTALL_PATH"
unzip ${VERSION_TO_USE} -d INSTALLER_PATH/

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

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

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

/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale setup -s 127.0.0.1 --storesecret;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale node add $(hostname) -n;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale node add $(hostname) -p;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale config protocols -e $USABLE_IP;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale node add -a $(hostname);
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale config gpfs -c $(hostname)_cluster;
export PATH="$PATH:$(readlink -f /usr/lpp/mmfs/*/ansible-toolkit/)"

spectrumscale setup -s 127.0.0.1 --storesecret;
spectrumscale node add $(hostname) -n;
spectrumscale node add $(hostname) -p;
spectrumscale config protocols -e $USABLE_IP;
spectrumscale node add -a $(hostname);
spectrumscale config gpfs -c $(hostname)_cluster;
dd if=/dev/zero of=/home/nsd1_c84f2u09-rhel88a1 bs=1M count=8192;
/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;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale config protocols -f ${STORAGE_SCALE_VOLUME} -m /ibm/${STORAGE_SCALE_VOLUME};
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale enable nfs;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale enable smb;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale callhome disable;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale config perfmon -r off;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale node list;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale install --precheck;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale install;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale deploy --precheck;
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale deploy;

/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale nsd list
/usr/lpp/mmfs/5.1.9.0/ansible-toolkit/spectrumscale filesystem list
spectrumscale nsd add -p $(hostname) -u dataAndMetadata -fs ${STORAGE_SCALE_VOLUME} -fg 1 /home/nsd1_c84f2u09-rhel88a1;
spectrumscale config protocols -f ${STORAGE_SCALE_VOLUME} -m /ibm/${STORAGE_SCALE_VOLUME};
spectrumscale enable nfs;
spectrumscale enable smb;
spectrumscale callhome disable;
spectrumscale config perfmon -r off;
spectrumscale node list;
spectrumscale install --precheck;
spectrumscale install;
spectrumscale deploy --precheck;
spectrumscale deploy;

spectrumscale nsd list
spectrumscale filesystem list

#----------------------------------------------------------------------------------------------

#THE FOLLOWING LINES OF CODE CLONES THE SOURCE CODE, RPMBUILD AND INSTALLS THE RPMS
Expand Down
4 changes: 2 additions & 2 deletions globals/macros/macros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
exclude-drafts: true
exclude-no-code-change: true
- comment-added-contains-event:
comment-contains-value: 'recheck all'
comment-contains-value: 'recheck {option}'
projects:
- project-compare-type: PLAIN
project-pattern: 'ffilz/nfs-ganesha'
Expand Down Expand Up @@ -146,7 +146,7 @@
name: terminate_stuck_build
wrappers:
- timeout:
timeout: 240
timeout: 360
abort: true
type: no-activity

Expand Down
1 change: 1 addition & 0 deletions jobs/code_compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
description: 'Run code compilation for nfs-ganesha against the latest build of Ganesha with FSAL_GLUSTER.'
project-type: freestyle
concurrent: true
disabled: true
allow-manual-triggers: true

scm:
Expand Down
1 change: 1 addition & 0 deletions jobs/dbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
description: 'Run dbench test suite against the latest build of Ganesha with FSAL_GLUSTER.'
project-type: freestyle
concurrent: false
disabled: true
allow-manual-triggers: true

scm:
Expand Down
1 change: 1 addition & 0 deletions jobs/labelled_nfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
description: 'Start labelled_nfs test when a new patch is posted to GerritHub.'
project-type: freestyle
concurrent: false
disabled: true
allow-manual-triggers: false

properties:
Expand Down
1 change: 1 addition & 0 deletions jobs/posix-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
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"
project-type: freestyle
concurrent: false
disabled: true
allow-manual-triggers: true

scm:
Expand Down
1 change: 1 addition & 0 deletions jobs/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
description: 'Run dbench test suite against the latest build of Ganesha with FSAL_GLUSTER.'
project-type: freestyle
concurrent: false
disabled: true
allow-manual-triggers: true

scm:
Expand Down
8 changes: 8 additions & 0 deletions jobs/scripts/common.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# no need for verbose output
set +x

# do not immediately fail on an error
set +e

export CENTOS_VERSION=${CENTOS_VERSION}
export CENTOS_ARCH=${CENTOS_ARCH}
export GERRIT_HOST=${GERRIT_HOST}
Expand Down Expand Up @@ -58,3 +64,5 @@ then
${NOTIFY} \
${GERRIT_PATCHSET_REVISION}
fi

exit ${EXIT}
1 change: 1 addition & 0 deletions jobs/small-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
description: 'Start Small_File test when a new patch is posted to GerritHub.'
project-type: freestyle
concurrent: flase
disabled: true
allow-manual-triggers: false

scm:
Expand Down
1 change: 1 addition & 0 deletions jobs/storage-scale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
description: 'Run Storage Scale CI test'
project-type: freestyle
concurrent: false
disabled: true
allow-manual-triggers: true

scm:
Expand Down
1 change: 1 addition & 0 deletions jobs/template_iozone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
project-type: freestyle
concurrent: false
allow-manual-triggers: true
disabled: true

properties:
- discarder
Expand Down
8 changes: 4 additions & 4 deletions jobs/trigger-cthon04-on-new-patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
unstable-threshold: never
failure-threshold: never
predefined-parameters: |
CENTOS_VERSION=8s
CENTOS_VERSION=9s
CENTOS_ARCH=x86_64
GERRIT_HOST=${GERRIT_HOST}
GERRIT_PROJECT=${GERRIT_PROJECT}
GERRIT_REFSPEC=${GERRIT_REFSPEC}
GERRIT_HOST=$GERRIT_HOST
GERRIT_PROJECT=$GERRIT_PROJECT
GERRIT_REFSPEC=$GERRIT_REFSPEC
- shell: |
bash $WORKSPACE/ci-tests/build_scripts/common/add-gerrit-comment.sh
Expand Down
1 change: 1 addition & 0 deletions jobs/trigger-on-new-build_next-el7-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
decription: '[next/el7/x86_64] Trigger tests whenever a new automated build is available in the YUM repository.'
project-type: freestyle
concurrent: false
disabled: true
allow-manual-triggers: false

properties:
Expand Down
1 change: 1 addition & 0 deletions jobs/trigger-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
node: cico-workspace
project-type: freestyle
concurrent: false
disabled: true
allow-manual-triggers: true

scm:
Expand Down
4 changes: 2 additions & 2 deletions tests/Containerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM quay.io/centos/centos:stream
FROM quay.io/centos/centos:stream9

RUN true \
&& dnf -y install python3.8 \
&& dnf -y install python3-pip \
&& pip3 install jenkins-job-builder \
&& dnf -y clean all \
&& true
Expand Down

0 comments on commit 1ed5d17

Please sign in to comment.