import - Import sources directlyΒΆ

Import elements produce artifacts directly from its sources without any kind of processing. These are typically used to import an SDK to build on top of or to overlay your build with some configuration data.

The empty configuration is as such:
# The import element simply stages the given sources
# directly to the root of the sandbox and then collects
# the output to create an output artifact.

  # By default we collect everything staged, specify a
  # directory here to output only a subset of the staged
  # input sources.
  source: /

  # Prefix the output with an optional directory, by default
  # the input is found at the root of the produced artifact.
  target: /