Page MenuHomePhabricator

Unable to run Maven/Java within the Python-based image on Toolforge
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Java and Maven are not installed using the Python buildpack so alternate solutions have been tried:

  • Using [com.heroku.buildpacks.deb-packages] inside project.toml to install the required packages manually. Unfortunately the packages get installed incorrectly and are thus unusable.
  • Adding a symlink to the pom.xml at the project’s root in an attempt to trigger the installation of the Java buildpack. This did nothing.

The best solution may be to move the ingester to its own repo and load it within its own image. This would also have the benefit to allow updating the website independently of the ingester, even when it is running.

Temporary solution:

Revert back to the Python-based ingester until an adequate solution is found (T431928).

Event Timeline

Danya claimed this task.
Danya triaged this task as High priority.
Danya updated the task description. (Show Details)
Danya moved this task from Backlog to [deleted] on the Tool-wiki-gender-stats board.
Danya set the point value for this task to 13.Mon, Jul 13, 8:33 PM
Danya changed the task status from Open to Stalled.Sat, Jul 18, 5:53 PM
Danya updated the task description. (Show Details)
Danya changed the point value for this task from 13 to 2.
Danya updated the task description. (Show Details)
Danya changed the point value for this task from 2 to 13.

Update after resolving T431928:

It seems that the Python-based ingester is slightly faster when running as a Toolforge job, so we will keep it and not bother with the Java setup.

Danya changed the task status from Stalled to In Progress.Sat, Jul 18, 5:55 PM
Danya moved this task from Next Version to Doing on the Tool-wiki-gender-stats board.
Danya added a parent task: T427979: [VERSION] 0.3.0.
Danya changed the point value for this task from 13 to 2.

danyya merged https://gitlab.wikimedia.org/toolforge-repos/wiki-gender-stats/-/merge_requests/90

Resolve T431927 "Unable to run Maven/Java within the Python-based image on Toolforge"