github.com/facebookincubator/ttpforge@v1.0.13-0.20240405153150-5ae801628835/cmd/test-resources/repos/another-repo/some-ttps/cleanup-tests/stress-tests.yaml (about)

     1  ---
     2  name: cleanup-stress-test
     3  description: |
     4    Cleanup a whole bunch of different ways
     5  steps:
     6    - name: file-step-with-inline-cleanup
     7      file: test.sh
     8      args:
     9        - execute_step_1
    10      cleanup:
    11        inline: |
    12          echo "cleanup_step_1"
    13    - name: print-with-file-cleanup
    14      print_str: execute_step_2
    15      cleanup:
    16        file: test.sh
    17        args:
    18          - cleanup_step_2
    19    - name: ttp-with-print-cleanup
    20      ttp: cleanup-tests/subttp/ttp.yaml
    21      args:
    22        to_print: execute_step_3
    23      cleanup:
    24        print_str: cleanup_step_3
    25    - name: inline-with-ttp-cleanup
    26      inline: echo execute_step_4
    27      cleanup:
    28        ttp: cleanup-tests/subttp/ttp.yaml
    29        args:
    30          to_print: cleanup_step_4