Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michele Carpene
Irods Resource Plugin S3
Commits
e8b3c411
Commit
e8b3c411
authored
Apr 12, 2021
by
Michele Carpene
Browse files
Update functional_test.sh
parent
52053714
Pipeline
#731
failed with stages
in 1 minute and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ci/functional_test.sh
View file @
e8b3c411
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment