| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| --- |
| name: GettingStartedPipeline |
| volumes: |
| - volume: gettingstartedvol |
| claim_name: gettingstartedvol-pvc |
| local: |
| path: . |
| variables: |
| myvar: myval |
| images: |
| - image: python_hello_world_example_image |
| type: python |
| source: helloworld |
| - image: liminal_getting_started_server_image |
| type: python_server |
| source: myserver |
| endpoints: |
| - endpoint: /myendpoint1 |
| module: my_server |
| function: myendpoint1func |
| pipelines: |
| - pipeline: getting_started_pipeline |
| owner: Bosco Albert Baracus |
| start_date: 1970-01-01 |
| timeout_minutes: 10 |
| schedule: 0 * 1 * * |
| default_arg_loaded: check |
| default_array_loaded: [2, 3, 4] |
| default_object_loaded: |
| key1: val1 |
| key2: val2 |
| metrics: |
| namespace: TestNamespace |
| backends: [] |
| tasks: |
| - task: python_hello_world_example |
| type: python |
| image: python_hello_world_example_image |
| env_vars: |
| env1: '{{myvar}}' |
| env2: foo |
| mounts: |
| - mount: mymount |
| volume: gettingstartedvol |
| path: /mnt/gettingstartedvol |
| cmd: python -u hello_world.py |
| executors: 2 |
| # cmd: python -u hello_world.py |
| - task: python_hello_world_output_task |
| type: python |
| description: task with input from other task's output |
| image: python_hello_world_example_image |
| env_vars: |
| env1: a |
| env2: b |
| mounts: |
| - mount: mymount |
| volume: gettingstartedvol |
| path: /mnt/gettingstartedvol |
| cmd: python -u hello_world.py |
| services: |
| - service: liminal_getting_started_python_server |
| description: my python server |
| image: liminal_getting_started_server_image |