Configuration

macros/macros.yaml

The file macros/macros.yaml contains an array of macros that describe reusable workflow parts.

Note: The path to this file can be configured with the item steep.macros in Steep’s general configuration.

macros/macros.yaml
yaml
- id: delayed_docker_hello_world
  name: Delayed Docker hello world
  description: >-
    Wait for the given number of seconds and then run the
    hello-world Docker image
 
  parameters:
    - id: seconds
      name: seconds to wait
      description: The number of seconds to wait
      type: input
 
  actions:
    - id: sleep
      type: execute
      service: sleep
      inputs:
        - id: seconds
          var: seconds
    - type: execute
      dependsOn: sleep
      service: docker_hello_world