Skip to content

Handling of resources that comes from the parent devfile #46

Closed
devfile/library
#139
@sbose78

Description

@sbose78

Handling of resources that comes from the parent devfile. Things to do:

  1. When a stack is being used, it should download the files in the stack in a given registry and put them under the local source folder.
  2. Devfile library has functions to download the devfiles. The behaviour should go to each parent and download the files from the parent tree.
  3. In case of the file conflict caused by the same file exists in both child and parent, the files in the child devfiles will be used.
  4. This behaviour should also be documented in the specification on how to handle supporting files that comes with the parent.
  5. Given that the supporting files will be downloaded, we will not introduce the ${STACK_ROOT} variable. (see old description below for details)
  6. This item is still targeted as part of the devfile 2.2 release

Old description for record:

Could we support the ${STACK_ROOT} variable to be able to express that a specific artifact comes with the stack and not necessarily with the source code/project ?

Example, I would like to specify that a Dockerfile build be done using the ${STACK_ROOT}/Dockerfile and not the ${PROJECTS_ROOT}/Dockerfile.build .

Such artifacts/files would be packaged and served off the devfile directory, example

EDIT:
This is how tools could implement it : #55

Target Date: 09-09-2022

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions