3 ms·
Do you version your code with git? You can mimic how CI/CD pipelines handle code updates and builds. Push your local code into git repo hosted in AWS. Have a g
by imhoguy 7y ago
Do you version your code with git? You can mimic how CI/CD pipelines handle code updates and builds.
Push your local code into git repo hosted in AWS. Have a git hook setup which will trigger your workflow. Then any worker should clone a specific version of the code:
git clone -–depth 1 --branch <tag/branch/commit> repo-url
Pushed git commits are atomic so that saves you from inconsistent code state of plan filesystem syncing.
- wdroz 7y agoMy issue with this approach is that you have to commit/push changes to "test". If you have to run your code on the grid to validate what you wrote, that will likely force you to commit not-working code.