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

Add spin-trigger TriggerHooks #808

Merged
merged 1 commit into from
Oct 6, 2022
Merged

Add spin-trigger TriggerHooks #808

merged 1 commit into from
Oct 6, 2022

Conversation

lann
Copy link
Collaborator

@lann lann commented Oct 6, 2022

These provide a mechanism for Spin embedders to hook into TriggerAppEngine, customizing its execution behavior.

Reimplemented TriggerExecutorCommand's stdio log/follow behavior in terms of the new TriggerHooks. Fixed broken --log-dir along the way.

Motivation for this change is to enable https://github.com/deislabs/containerd-wasm-shims/tree/main/containerd-shim-spin-v1 to port its existing stdio behavior to latest spin.

These provide a mechanism for Spin embedders to hook into
TriggerAppEngine, customizing its execution behavior.

Reimplemented TriggerExecutorCommand's stdio log/follow behavior in
terms of the new TriggerHooks. Fixed broken `--log-dir` along the way.

Signed-off-by: Lann Martin <lann.martin@fermyon.com>
@lann lann merged commit e5ba26e into fermyon:main Oct 6, 2022
@lann lann deleted the trigger-hooks branch October 6, 2022 14:49
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.

2 participants