changeset 0:c1bdbc4234d1 draft default tip

"planemo upload for repository https://forge.inrae.fr/dairyfit/lot2/dairyfit-toolbox commit 61853eb25d47c0fb4d716af16d3382fb24e7b927"
author siwaa
date Fri, 03 Jul 2026 16:21:27 +0000
parents
children
files README.md toS3.xml
diffstat 2 files changed, 35 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README.md	Fri Jul 03 16:21:27 2026 +0000
@@ -0,0 +1,3 @@
+Welcome oe the folder hosting the toS3 galaxy tool.
+
+This tool simply send to a s3 storage tenant.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/toS3.xml	Fri Jul 03 16:21:27 2026 +0000
@@ -0,0 +1,32 @@
+<tool id="toS3" name="toS3" version="1.0.1">
+    <description>
+        To send to a S3 storage
+    </description>
+    <command detect_errors="exit_code">
+      unzip ${inputData};
+      ls;
+      aws s3 cp analyse_simulations_STICS s3://${Bucket}/${objectPath} --recursive --endpoint-url \${S3_ENDPOINT};
+      echo "bla" > ${output};
+    </command>
+    <inputs>
+        <param name="inputData" type="data" format="zip" label="zip data file"/>
+        <param name="objectPath" type="text" value= "RM/ICHEC-EC-EARTH" label="a path to the object"/>
+        <param name="Bucket" type="text" value="dairyfit-simulations" label="the bucket where to store"/>
+    </inputs>
+    <outputs>
+      <data format="text" name="output" label="dummy"/>
+    </outputs>
+    <tests>
+    </tests>
+    <help>
+Documentation
+-------------
+A tool to unzip and send a folder to S3
+
+Credits
+-------
+-  Galaxy Tool Maintainer: Patrick Chabrier patrick.chabrier@inrae.fr
+-  Tool Site: https://forge.inrae.fr/dairyfit/lot2/dairyfit-toolbox
+-  Copyright: INRAE
+    </help>
+</tool>