view gcp_batch_netcat.xml @ 3:0ea626b10557 draft

planemo upload for repository https://github.com/afgane/gcp_batch_netcat
author enis
date Mon, 21 Jul 2025 15:13:09 +0000
parents 79160beab2a4
children 2ff4a39ea41b
line wrap: on
line source

<tool id="gcp_batch_netcat" name="GCP Batch Netcat" version="0.1.1">
    <description>Submit a job to GCP Batch and connect to an NFS server.</description>
    <requirements>
        <requirement type="package" version="438.0.0">google-cloud-sdk</requirement>
        <requirement type="package" version="0.7.1">netcat</requirement>
        <container type="docker">afgane/gcp-batch-netcat:0.1.0</container>
    </requirements>
    <command><![CDATA[
python3 '$__tool_directory__/gcp_batch_netcat.py' --nfs_address '$nfs_address' --output '$output' --project '$project' --region '$region' --port '$port' --service_account_key '$service_account_key'
    ]]></command>
    <inputs>
        <param name="nfs_address" type="text" label="NFS Server Address" optional="false"/>
        <param name="project" type="text" label="GCP Project ID" optional="false"/>
        <param name="region" type="text" label="GCP Region" optional="false"/>
        <param name="port" type="integer" value="2049" label="Port"/>
        <param name="service_account_key" type="data" format="json" label="GCP Service Account Key File" help="JSON key file for GCP service account with Batch API permissions"/>
    </inputs>
    <outputs>
        <data name="output" format="txt"/>
    </outputs>
    <help><![CDATA[
**What it does**

Submits a job to GCP Batch that connects to the specified NFS server using netcat.
    ]]></help>
</tool>