-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Feature Request - Support trigger file #1954
Comments
+1 to this, we're discussing different enhancements to the way skaffold triggers builds. it might make sense to configure this on a per-artifact basis as well, since different artifacts might represent different "areas of the code" which might have separate triggers. this could live in the skaffold.yaml and look something like build:
artifacts:
- image: my_image
triggerFiles:
- code.go
- app.go
- image: my_java_image
triggerFiles:
- app.java we're also considering adding a way for users to switch to manual trigger mode, which would be exposed through a gRPC/HTTP endpoint. this could also be exposed through a UI element in Cloud Code. |
more or less, the trigger file may not be a source file at all, but a designated file that can user or IDE can |
@saturnism We now have a control api which can trigger a maunal build via curl. |
I feel curl/api is a very different use case than a file trigger though. I.e., file based trigger is the most natural/integratabtle w/ existing toolings. |
closing this due to inactivity. |
Currently Skaffold triggers rebuild/redeploy on every file change and may be too frequent. Add a mode to rather watching all files, watch only one specified trigger file to kick off rebuid/redeploy.
The text was updated successfully, but these errors were encountered: