Open vsukhin opened 1 week ago
@vsukhin, are you sure that it's about the environment variable, not just the long argument? The certificate is actually passed as an argument to the Toolkit, and I would rather say that it's directly related to the script itself.
Two things to fix:
clone
operation from env variables directly, not CLI parameters (direct issue)I think that the latter one can be delayed for now, as it's edge case too, and we can just fix the direct issue
Yes, then it's about direct issue. User can provide additional details https://testkubeworkspace.slack.com/archives/C06DD6RUWAZ/p1719555213306649
Actually, seems like environment variables also contribute to this size: https://stackoverflow.com/questions/28865473/setting-environment-variable-to-a-large-value-argument-list-too-long. Then, big data like certificates will need to be passed via files.
For the direct issue, it shouldn't be a problem anyway I guess.
interesting
should we close it by adding notes to documentation?
Describe the bug Argument list is too long for Test Workflow init with multiple and big env
To Reproduce Steps to reproduce the behavior:
Expected behavior Test Workflow is executed without error
Version / Cluster