-
Notifications
You must be signed in to change notification settings - Fork 23
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
Migrate Croptool tool to the Kubernetes buildservice architecture #192
Conversation
A live version of this deployment can be found at https://soda-test.toolforge.org |
This is awesome! \o/ thanks a lot for working on this. |
Ack, I'll see if I'm able to make some of the changes (particularly shifting to apache2) :) |
Apache2 migration worked and fixed a bunch of the other issues as well :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! Unfortunately I haven't had time to play around with the new Buildpacks stuff on Toolforge, but this looks really neat 👏 Will try to deploy it later today or tomorrow
$app->get('/api/server-cleanup', function ($request, $response) { | ||
exec( ROOT_PATH . '/scripts/cleanup.sh &'); | ||
$response->getBody()->write('STARTED'); | ||
return $response->withStatus(200); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clever way to migrate the cleanup part 👍
Unfortunately the magic border detection is still broken after this update. We believe the fix is surprisingly trivial, see danmichaelo/php-coma#3 or alternatively danmichaelo/php-coma#2. Please let us know how else we can help. Many in the Wikimedia Commons community rely quite heavily on the CropTool. |
Notable changes
php8.2
(which entailed migration from Slim 3 to Slim 4 !)config.dev.ini
andconfig.prod.ini
are two different files now,config.dev.ini
should be used for development,config.prod.ini
for Toolforge(etc)
Issues
(Please squash and merge this pull request)