Last active
December 10, 2020 13:18
-
-
Save karlschriek/851a3d41285ae6004f4c6d70bf6d7b96 to your computer and use it in GitHub Desktop.
write_data.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JSON S3 Writer | |
description: Takes three values and writes them to S3 as JSON file | |
inputs: | |
- {name: s3_uri, type: String, description: 'Where to write JSON to'} | |
- {name: max_val, type: Integer, description: 'A value to add to JSON'} | |
- {name: min_val, type: Integer, description: 'A value to add to JSON'} | |
- {name: sum_val, type: Integer, description: 'A value to add to JSON'} | |
implementation: | |
container: | |
image: 863518836478.dkr.ecr.eu-central-1.amazonaws.com/dev/kubeflow-120/boto3 | |
command: [python3, write_data.py] | |
args: [ | |
--max_val, {inputValue: max_val}, | |
--min_val, {inputValue: min_val}, | |
--sum_val, {inputValue: sum_val}, | |
--s3_uri, {inputValue: s3_uri} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment