Skip to content

Commit 3cb7bea

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Move uwsgi installation to openstack-base"
2 parents b1be326 + 1df0953 commit 3cb7bea

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

docker/barbican/barbican-base/Dockerfile.j2

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
99

1010
{{ macros.configure_user(name='barbican', groups='nfast') }}
1111

12-
{% if base_package_type == 'rpm' %}
13-
{% set barbican_base_packages = ['uwsgi-plugin-python3'] %}
14-
{% elif base_package_type == 'deb' %}
15-
{% set barbican_base_packages = ['uwsgi-plugin-python3'] %}
16-
{% endif %}
17-
1812
{{ macros.install_packages(barbican_base_packages | customizable("packages")) }}
1913

2014
{% set barbican_base_pip_packages = [
2115
'/barbican',
2216
'pastedeploy',
2317
'python-barbicanclient',
24-
'uwsgi'
2518
] %}
2619

2720
ADD barbican-base-archive /barbican-base-source

docker/openstack-base/Dockerfile.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
3030
'python3-devel',
3131
'python3-mod_wsgi',
3232
'sqlite-devel',
33+
'uwsgi-plugin-python3',
3334
'zip'
3435
] %}
3536

@@ -51,6 +52,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
5152
'pkg-config',
5253
'python3-dev',
5354
'python3-venv',
55+
'uwsgi-plugin-python3',
5456
'zip'
5557
] %}
5658

@@ -175,6 +177,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
175177
'stevedore',
176178
'tooz[consul,etcd,etcd3gw,zake,redis,postgresql,mysql,zookeeper,memcached,ipc]',
177179
'unicodecsv',
180+
'uwsgi',
178181
'warlock',
179182
'wrapt'
180183
]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
upgrade:
3+
- |
4+
``uwsgi`` and ``uwsgi-plugin-python3`` installation has been moved from
5+
``barbican-base`` image to ``openstack-base``.

0 commit comments

Comments
 (0)