Fix Nomad expert job bind mount source path#1344
Fix Nomad expert job bind mount source path#1344google-labs-jules[bot] wants to merge 1 commit intomainfrom
Conversation
The expert Nomad job was failing to start in Dev Mode because the bind mount source for the application code was pointing to `/opt/pipecatapp` (the default value of `pipecat_app_dir`), which did not exist or was empty on the host. This caused the container to mount an empty directory, resulting in missing code and startup failures.
This change updates the bind mount source in `ansible/jobs/expert.nomad.j2` to use `{{ inventory_dir }}/pipecatapp`. This ensures that the actual repository directory on the host (where the source code and generated startup scripts reside) is correctly mounted into the container at `/opt/pipecatapp`. This aligns with the Dev Mode strategy of running from the local source code.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Fixes an issue where the Nomad expert job would fail to start due to a missing or empty bind mount source path. By changing the source to
{{ inventory_dir }}/pipecatapp, we ensure the container has access to the application code and startup script from the host's repository.PR created automatically by Jules for task 7282435455455278513 started by @LokiMetaSmith