view toS3.xml @ 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
line wrap: on
line source

<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>