Targets

From a top level perspective, Flowman works like a build tool like make or maven. Of course in contrast to classical build tools, the project specification in Flowman also contains the logic to be build (normally that is separated in source code files which get compiles or otherwise processed with additional tools).

Each target supports at least some build phases

Common Fields

All Targets support the following common fields:

  • kind (mandatory) (type: string): The kind of the target
  • before (optional) (type: list:string): List of targets that can only be executed after this target
  • after (optional) (type: list:string): List of targets that need to be executed before this target
  • labels (optional) (type: map): Optional list of labels.

Metrics

For each target Flowman provides the following execution metric:

  • metric: “target_runtime”
  • labels:
    • category: “target”
    • kind: The kind of the target
    • namespace: The name of the namespace
    • project: The name of the project