Skip to content

Commit

Permalink
Fix for requirements for e2e tests (#1394)
Browse files Browse the repository at this point in the history
* fix dor requirements

* adding comment
  • Loading branch information
Tulsishah authored Sep 25, 2023
1 parent eb75e8f commit 2153d79
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions tools/cd_scripts/e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ else
#install git
sudo yum -y install git
# install python3-setuptools tools and python3-pip
sudo yum -y install gcc python3-devel python3-setuptools redhat-rpm-config
sudo yum -y install python3-pip
# Downloading composite object requires integrity checking with CRC32c in gsutil.
# it requires to install crcmod.
pip3 install --require-hashes -r requirements.txt --user
#install Development tools
sudo yum -y install gcc gcc-c++ make
fi
Expand All @@ -129,6 +122,19 @@ go version |& tee -a ~/logs.txt
export PATH=${PATH}:/usr/local/go/bin
git clone https://github.com/googlecloudplatform/gcsfuse |& tee -a ~/logs.txt
cd gcsfuse
# Installation of crcmod is working through pip only on rhel and centos.
# For debian and ubuntu, we are installing through sudo apt.
if grep -q rhel details.txt || grep -q centos details.txt;
then
# install python3-setuptools tools and python3-pip
sudo yum -y install gcc python3-devel python3-setuptools redhat-rpm-config
sudo yum -y install python3-pip
# Downloading composite object requires integrity checking with CRC32c in gsutil.
# it requires to install crcmod.
pip3 install --require-hashes -r tools/cd_scripts/requirements.txt --user
fi
git checkout $(sed -n 2p ~/details.txt) |& tee -a ~/logs.txt
#run tests with testbucket flag
Expand Down

0 comments on commit 2153d79

Please sign in to comment.