curator: Add wheel to elasticsearch-curator

boto part cherry picked from change [1].

Disabling mongodb build due to missing packages in CentOS repos.

[1]: https://review.opendev.org/755339/

Change-Id: Idf980eedcd318b88101b3a82442b9b99838fd84c
(cherry picked from commit 34460d636e)
This commit is contained in:
Michal Nasiadka 2020-11-04 16:25:39 +00:00
parent 4e9b17bf87
commit b3462dee05
2 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% set elasticsearch_curator_packages = [ {% set elasticsearch_curator_packages = [
'cronie', 'cronie',
'python3-pip', 'python3-pip',
'python3-wheel'
] %} ] %}
{% elif base_package_type == 'deb' %} {% elif base_package_type == 'deb' %}
{% set elasticsearch_curator_packages = [ {% set elasticsearch_curator_packages = [
@ -26,7 +27,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'elasticsearch-curator' 'elasticsearch-curator'
] %} ] %}
RUN {{ macros.install_pip(elasticsearch_curator_pip_packages | customizable("pip_packages"), constraints=false, pip_version="pip3") }} \ {# FIXME: Revert the boto installations once we figure this issue out #}
RUN {{ macros.install_pip(['"boto3<1.16"', '"botocore<1.19"'], constraints=false, pip_version="pip3") }} \
&& {{ macros.install_pip(elasticsearch_curator_pip_packages | customizable("pip_packages"), constraints=false, pip_version="pip3") }} \
&& mkdir -p /etc/elasticsearch-curator \ && mkdir -p /etc/elasticsearch-curator \
&& chown -R elasticsearch: /etc/elasticsearch-curator && chown -R elasticsearch: /etc/elasticsearch-curator

View File

@ -139,6 +139,7 @@ UNBUILDABLE_IMAGES = {
}, },
'centos': { 'centos': {
"mongodb",
"ovsdpdk", "ovsdpdk",
}, },