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

Cron Jobs don't run with Gitea-scm #292

Closed
johann-latocha opened this issue Jan 16, 2024 · 1 comment
Closed

Cron Jobs don't run with Gitea-scm #292

johann-latocha opened this issue Jan 16, 2024 · 1 comment

Comments

@johann-latocha
Copy link

johann-latocha commented Jan 16, 2024

Cron Jobs don't start when using Gitea scm. Setup was done via UI (@hourly) and this error is written to log:

{"branch":"main","cron":3,"error":"Not Found","level":"warning","msg":"cron: cannot find commit","repo":"node/x6","time":"2024-01-16T10:04:00+01:00"}
{"branch":"main","cron":3,"error":"Not Found","level":"warning","msg":"cron: cannot find commit","repo":"node/x6","time":"2024-01-16T11:04:00+01:00"}
{"branch":"main","cron":3,"error":"Not Found","level":"warning","msg":"cron: cannot find commit","repo":"node/x6","time":"2024-01-16T12:04:00+01:00"}
{"branch":"main","cron":3,"error":"Not Found","level":"warning","msg":"cron: cannot find commit","repo":"node/x6","time":"2024-01-16T13:04:00+01:00"}

Using:

  • gitea/gitea:1.10.1
  • drone/drone:2.22.0

I have also tried to fire the job via drone-cli tool without luck:

me@mbp ~ % drone cron info node/x6 test                 
test 
Expr: @hourly
Next: 2024-01-16 13:00:00 +0100 CET
me@mbp ~ % drone cron exec node/x6 test                 
client error 404: {"message":"Not Found"}
me@mbp ~ % 
@bradrydzewski
Copy link
Member

You can create issues related to Drone in the harness/gitness repository. Unfortunately I cannot transfer the issue since the repositories are in different orgs.

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

No branches or pull requests

2 participants