Commit e8b3c411 authored by Michele Carpene's avatar Michele Carpene
Browse files

Update functional_test.sh

parent 52053714
Pipeline #731 failed with stages
in 1 minute and 5 seconds
......@@ -32,6 +32,37 @@ fi
# to simulate failure
# exit 127
#----------------------------------------------------
# Build prerequisites
yum update -y && yum install -y libxml2-devel libcurl4-gnutls-devel libs3
yum update -y irods-devel irods-runtime irods-icommands irods-externals-libs
#git clone -b 4-2-stable https://gitlab.eudat.eu/m.carpen/irods_resource_plugin_s3
################################################################################
#
# install S3 plugin
#
################################################################################
#just working with rpm packages
wget https://packages.irods.org/yum/pool/centos7Workstation/x86_64/irods-externals-libs3a30e55e8-1-1.0-1.x86_64.rpm
rpm -ivh ./irods-externals-libs3a30e55e8-1-1.0-1.x86_64.rpm
wget https://packages.irods.org/yum/pool/centos7/x86_64/irods-resource-plugin-s3-4.2.8.0-1.x86_64.rpm
rpm -ivh ./irods-resource-plugin-s3-4.2.8.0-1.x86_64.rpm
# Prepare minio s3 configuration file
pwd
touch ./AWS.keypair
#cat "MINIO_ACCESS_KEY=minio" >> ./AWS.keypair
#cat "MINIO_SECRET_KEY=minio123" >> ./AWS.keypair
export MINIO_ACCESS_KEY=minio
export MINIO_SECRET_KEY=minio123
#----------------------------------------------------
# Example Configuration and Usage, this part should be adapted in order to use Minio
iadmin mkresc compResc compound
#iadmin mkresc cacheResc unixfilesystem <hostname>:</full/path/to/Vault>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment