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
8d4cf4c5
Commit
8d4cf4c5
authored
Apr 12, 2021
by
Michele Carpene
Browse files
Update a_script_that_runs_after_irods_has_been_initialized.sh
parent
6fbb3482
Pipeline
#723
failed with stages
in 3 minutes and 39 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
ci/a_script_that_runs_after_irods_has_been_initialized.sh
View file @
8d4cf4c5
...
...
@@ -8,17 +8,6 @@ echo "#####################################################"
echo
"just put something to irods"
iput /app/a_script_that_runs_after_irods_has_been_initialized.sh
# 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>
iadmin mkresc cacheResc unixfilesystem localhost:/var/lib/irods/Vault
#iadmin mkresc archiveResc s3 <hostname>:/<s3BucketName>/irods/Vault "S3_DEFAULT_HOSTNAME=s3.amazonaws.com;S3_AUTH_FILE=</full/path/to/AWS.keypair>;S3_RETRY_COUNT=<num reconn tries>;S3_WAIT_TIME_SEC=<wait between retries>;S3_PROTO=<HTTP|HTTPS>"
iadmin mkresc archiveResc s3 localhost:/s3bucket/irods/Vault
"S3_DEFAULT_HOSTNAME=localhost;S3_AUTH_FILE=./AWS.keypair;S3_RETRY_COUNT=3;S3_WAIT_TIME_SEC=1;S3_PROTO=HTTP"
iadmin addchildtoresc compResc cacheResc cache
iadmin addchildtoresc compResc archiveResc archive
iput
-R
compResc foo.txt
#ireg -R archiveResc /<s3BucketName>/full/path/in/bucket /full/logical/path/to/dataObject
echo
"...and loop forever"
while
true
...
...
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