From 6c60c1c53ae85834ba4dd42bc7c8056ffe103569 Mon Sep 17 00:00:00 2001 From: Edmore Moyo Date: Wed, 16 Apr 2025 16:21:12 -0400 Subject: [PATCH] schema example TES --- .gitignore | 3 ++- application.json | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 application.json diff --git a/.gitignore b/.gitignore index 6320cd2..7106392 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -data \ No newline at end of file +data +.DS_Store diff --git a/application.json b/application.json new file mode 100644 index 0000000..c290d05 --- /dev/null +++ b/application.json @@ -0,0 +1,37 @@ +{ + "name": "CSV Echo App", + "description": "A Python Docker app that copies all CSV files from INPUT_DIR to OUTPUT_DIR.", + "inputs": [ + { + "name": "data-volume", + "description": "volume containing the input and output directories", + "path": "/service/data", + "type": "DIRECTORY" + } + ], + "outputs": [ + { + "name": "outputs", + "description": "Output directory containing files", + "path": "/service/data/output", + "type": "DIRECTORY" + } + ], + "resources": { + "cpu_cores": 1, + "ram_gb": 1, + "disk_gb": 1 + }, + "executors": [ + { + "image": "hackathon/python", + "command": [ "python3.13", "/service/main.py" ], + "env": { + "INPUT_DIR": "/service/data/input", + "OUTPUT_DIR": "/service/data/output" + }, + "workdir": "/service/data" + } + ] + } + \ No newline at end of file