-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added alessio/shellescape and changed prepareEnvs to use envfile #29
Conversation
…prepareEnvs creates envfile
52ff517
to
9ab0b5b
Compare
Status: the build docker is OK (https://github.com/antoinetran/interlink-slurm-plugin/actions/runs/11274890712) . The release binary https://github.com/antoinetran/interlink-slurm-plugin/releases/tag/0.3.4 has been tested by me. It works. The results (some name has been anonymized):
The created envfile.properties
|
ping @dciangot for review and merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #27
STATUS: READY for code review and merge
Summary
Fixes #27 by moving all env variables to inside a envfile.properties, which fixes the file command limit of 4096 characters, and bash-quoting it, which fixes all quote issues.
This does not fix the missing prefix
docker:/docker.io/
This has not been tested yet. The CI/CD gives some error: https://github.com/antoinetran/interlink-slurm-plugin/actions for lint and build. This is my first time programming in GO, and I don't understand why the branch has issue with lint (clone , which has nothing to do with the modifications I did).
The docker builds fails too, https://github.com/antoinetran/interlink-slurm-plugin/actions/runs/11219763886 , because I did not modify the go.sum . Will do it now.
Related issue :
#27