Closed tperrindell closed 1 year ago
@tperrindell, this is a known issue and will be fixed as part of v1.4.0 which is going to be released in end of Sep. Meanwhile, please edit the meta/execution-environment.yml
and make following changes:
---
version: 1
dependencies:
galaxy: requirements.yml
python: requirements.txt
Hello Anupam !
Thanks for that, trying without the ../
Can you elaborate on why there is a requirements.yml containing dellemc.powerflex?
Isn't that a circular requirement?
Thanks
Hi @tperrindell,
To build an execution environment, the execution-environment.yml should be at the root of the collection. It cannot be built from the meta folder. The file in the meta folder is to verify python dependencies of the collection. We are working on the fix to update the file location without the ../
The docker image can be built using the ansible-builder command which will have the installed collection from galaxy which is mentioned in the requirements.yml and the dependencies from the requirements.txt. The outlined steps in readme mention about building image using docker.
Please do let me know if this clarifies your question?
Thanks, Jennifer.
Fixed as part of #18
Describe the bug If we try to include dellemc.powerflex in requirements.yml of EE, build fails
To Reproduce Steps to reproduce the behavior:
Expected behavior the EE should build
Logs See above
System Information (please complete the following information):
Additional context It seems that the issue relies in the ../requirements.txt which tries to go up one level in the build. File : meta/execution-environment.yml :
Except that this tries to bring the build up to the level above.