Closed dcl10 closed 1 year ago
I have realized several unrelated issues in the configuration files you have shared here meanwhile I was trying to reproduce the issue with current version.
The first one is that the local configuration file is using what it seems environment variables both in workDir
and cacheDir
. Environment variable substitution for file paths in the local configuration file is not going to be implemented, so I guess you put them there in order to avoid disclosing local paths, right?
The second one is that the sample stage file you have included is using container
key under workflow_config
, instead of containerType
one. The validation does not complain because those blocks are not being constrained by an "additionalProperties": false
.
For this last issue, you can see the automatically generated documentation here: https://github.com/inab/WfExS-backend/blob/main/development-docs/schemas/stage-definition_schema.md#workflow_config
Last, once I fixed these two issues (replacing the environment variable placeholders by their values by hand and using containerType
key), staging seemed to properly work.
So, I don't know whether I was unable to reproduce the issue, or it was fixed due past commits.
@dcl10 did you have a look at my previous answer of this issue? Is this issue still relevant?
Hi @jmfernandez, I'm afraid I hadn't taken a look.
However, I've had some luck changing how I specified workflow_id
to be like pypi.
On the first issue, thanks for the heads up about workDir
and cacheDir
. We used them simply because they were in one of the example workflows. What should we do instead for these fields? Simply not specify them?
For the second one, I found in the docs that it should have been containerType
and have using that since.
I think this issue can be closed now, so I'll do that. Thank you for having a look for me - much appreciated 👍
Description
When running the following command:
WfExS-backend/WfExS-backend.py -L local-config.yml execute -W test-stage.yml
I got the following error message:The path resolution appears to have added an additional
/root/
to the front of the path inlocal-config.yml
(see below). When I changed the workDir to./wfexs-backend-test_WorkDir
, the execution appeared to proceed as expected and I saw this in the logging output:The path resolves as would be expected if I ran WfExS from
/root
.Local config file
Stage file