elastic / eland

Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch
https://eland.readthedocs.io
Apache License 2.0
640 stars 98 forks source link

Add Buildkite pipeline to push Docker image #613

Closed pquentin closed 1 year ago

pquentin commented 1 year ago

Closes #407

Here's a successful build: https://buildkite.com/elastic/eland-release-docker/builds/9#018af52e-7ca0-4e9c-8aa5-6fd9cd4348de. This also reintroduces https://github.com/elastic/eland/pull/586, using a slim Debian 12 base image, which will greatly reduce the noise from vulnerability scanners.

I've left #600 as future work.

pquentin commented 1 year ago

So the lint runs with the latest Python, which as of yesterday is Python 3.12. While we could use Python 3.10 instead (the latest version we support), the lint errors do make sense and the fixes work in Python 3.8+. For the record: