Skip to content
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

feat: pull worker-watcher into main lunchpail binary #116

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

starpit
Copy link
Member

@starpit starpit commented Aug 9, 2024

  • new lunchpail worker <run|prestop> commands
  • eliminate the separate image (was: images/components/lunchpail-worker-watcher)
  • adds top-level Dockerfile to build lunchpail binary into an image named lunchpail
  • for build efficiency, updates hack/setup/cli.sh to use a specified GOMODCACHE (.cache) directory so that we can copy the cached dependencies into the container builder, thus avoiding re-fetching the cached dependencies on each dev build
  • updates lunchpail images build to build the new lunchpail image

TODOs:

  • find a way to have the worker launch the application using embedded application dependencies -- i.e. in "compiled" mode; all this change does is bring the existing worker-watcher logic into the main lunchpail binary

@starpit starpit force-pushed the worker-watcher-internal branch 2 times, most recently from a8e684b to 825aa0c Compare August 9, 2024 15:40
- new `lunchpail worker <run|prestop>` commands
- eliminate the separate image (was: images/components/lunchpail-worker-watcher)
- adds top-level Dockerfile to build lunchpail binary into an image named `lunchpail`
- for build efficiency, updates hack/setup/cli.sh to use a specified GOMODCACHE (`.cache`) directory so that we can copy the cached dependencies into the container builder, thus avoiding re-fetching the cached dependencies on each dev build
- updates `lunchpail images build` to build the new `lunchpail` image

TODOs:
- find a way to have the worker launch the application using embedded application dependencies -- i.e. in "compiled" mode; all this change does is bring the existing worker-watcher logic into the main lunchpail binary

Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
@starpit starpit merged commit d1f4207 into IBM:main Aug 9, 2024
6 checks passed
@starpit starpit deleted the worker-watcher-internal branch August 9, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant