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
Scheduled / Time based builds #287
Comments
Just an aside to this, I've just run a |
You could trigger builds by recreating the github json payload and trigger the hook URL with curl. |
I think Drone detects that a particular payload has already been processed and throws a 500 when you try the same one twice. I envsiaged having a modified json payload for generic cron based builds but I now don't think this will work. However, in the meantime, I have got around this by just using a cron job to append a timestamp into a file and commit it back to a I'd still like to see a time based build option available in Drone longer term. |
we added a new REST api to our 0.3 branch: This will allow you to re-build a commit, and avoid having to append timestamps via cron just to trigger builds. There is no plan to add scheduling directly to Drone, however, the purpose of the API is so that it can be extended for such purposes. Still a bit of work to do, but you can track API code here: |
A common type of build for me is often triggered by time rather than on commits. It would be great if this could be supported.
In the meantime I'll look into using the
drone
command / client withcron
in order to achieve this.The text was updated successfully, but these errors were encountered: