| :py:mod:`tests.system.providers.docker.example_docker_copy_data` |
| ================================================================ |
| |
| .. py:module:: tests.system.providers.docker.example_docker_copy_data |
| |
| .. autoapi-nested-parse:: |
| |
| This sample "listen to directory". move the new file and print it, |
| using docker-containers. |
| The following operators are being used: DockerOperator, |
| BashOperator & ShortCircuitOperator. |
| TODO: Review the workflow, change it accordingly to |
| your environment & enable the code. |
| |
| |
| |
| Module Contents |
| --------------- |
| |
| .. py:data:: ENV_ID |
| |
| |
| |
| |
| .. py:data:: DAG_ID |
| :annotation: = docker_sample_copy_data |
| |
| |
| |
| .. py:data:: locate_file_cmd |
| :annotation: = Multiline-String |
| |
| .. raw:: html |
| |
| <details><summary>Show Value</summary> |
| |
| .. code-block:: text |
| :linenos: |
| |
| |
| sleep 10 |
| find {{params.source_location}} -type f -printf "%f |
| " | head -1 |
| |
| |
| .. raw:: html |
| |
| </details> |
| |
| |
| |
| .. py:data:: test_run |
| |
| |
| |
| |