Closed
Description
Handling of resources that comes from the parent devfile. Things to do:
- 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.
- Devfile library has functions to download the devfiles. The behaviour should go to each parent and download the files from the parent tree.
- 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.
- This behaviour should also be documented in the specification on how to handle supporting files that comes with the parent.
- Given that the supporting files will be downloaded, we will not introduce the ${STACK_ROOT} variable. (see old description below for details)
- 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
- https://che-devfile-registry.openshift.io/devfiles/angular/
- https://github.com/sbose78/stack-registry/tree/sbose78-patch-1/stacks/quarkus-serverless
EDIT:
This is how tools could implement it : #55
Target Date: 09-09-2022
Metadata
Metadata
Assignees
Labels
No labels