elastic / docs

21 stars 333 forks source link

Update debian base docker image to latest (bookworm). #3102

Open Mpdreamz opened 1 day ago

Mpdreamz commented 1 day ago

Updated Docker base image from Debian Buster to Bookworm. Adjusted environment variables, package versions, and configuration for compatibility with Ruby 3.1 and newer libraries.

(include .idea in gitignore to ensure pycharm IDE files do not get checked in).

github-actions[bot] commented 1 day ago

A documentation preview will be available soon.

Request a new doc build by commenting * Rebuild this PR: `run docs-build` * Rebuild this PR and all Elastic docs: `run docs-build rebuild` `run docs-build` is much faster than `run docs-build rebuild`. A `rebuild` should only be needed in rare situations. If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status [here](https://buildkite.com/elastic/docs-build).
Mpdreamz commented 1 day ago

Disabled rubocop for now, updated it so it will run successfully but not all style violations can be auto corrected with:

./build_docs --docker-run ruby_test rubocop -A

Returns:

105 files inspected, 113 offenses detected, 81 offenses corrected

Will follow up with a PR addressing this if I manage to get this green.

Mpdreamz commented 12 hours ago

Six RSpec tests are failing, all related to avoiding rebuilds when switching branches.

Looks like something changed with how the Perl scripts handle tracking.

Not sure yet what's causing it, so no fix in sight for now.