prki
(Pranas)
July 31, 2023, 2:01pm
1
Hi, I tried applying deployment restrictions to a cron job using its ID from the URL . However, the API returns 404 error:
{“type”:“about:blank”,“title”:“Not Found”,“status”:404,“detail”:“Cannot find organization for Application 140c42da-58be-498c-8fba-7ba57e73d936”,“instance”:“/api/application/140c42da-58be-498c-8fba-7ba57e73d936/deploymentRestriction”,“message”:“Cannot find organization for Application 140c42da-58be-498c-8fba-7ba57e73d936”}
a_carrano
(Alessandro Carrano)
July 31, 2023, 4:07pm
2
Hi @prki ,
unfortunately, we didn’t implement the deployment restrictions for jobs yet (both cronjob and lifecycle jobs). It’s in our backlog but I don’t have a clear ETA for it.
What’s your use case?
Alessandro
ps: note that once we will implement the feature, your endpoints you should call /api/job/… instead of /api/application
prki
(Pranas)
July 31, 2023, 4:20pm
3
a_carrano:
What’s your use case?
We deploy jobs from the same monorepo as our applications and it is equally important to have deployment restrictions to avoid unnecessary builds.
a_carrano
(Alessandro Carrano)
August 1, 2023, 12:03pm
4
I will let you know once it is done, I think we should have it ready this month
1 Like
prki
(Pranas)
September 5, 2023, 7:58am
5
Hi @a_carrano , do you have an update? Is it still coming soon?
a_carrano
(Alessandro Carrano)
September 5, 2023, 8:56am
6
Hi @prki ,
it’s available via the Qovery API and we will release it on the front-end over the next 2 weeks
Alessandro
a_carrano
(Alessandro Carrano)
September 11, 2023, 7:49am
8
Hi @prki ,
it’s now available on the UI as well
2 Likes