File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
14
14
{% if base_package_type == 'rpm' %}
15
15
{% set rally_packages = [
16
16
'openstack-rally' ,
17
+ 'openstack-rally-plugins' ,
17
18
'python3-os-testr'
18
19
] %}
19
20
{% elif base_package_type == 'deb' %}
@@ -26,16 +27,24 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
26
27
{% elif install_type == 'source' %}
27
28
28
29
ADD rally-archive /rally-source
30
+ ADD plugins-archive /
29
31
30
32
{% set rally_pip_packages = [
31
33
'/rally' ,
32
34
'os-testr'
33
35
] %}
34
36
37
+ {% set rally_plugins_pip_packages = [
38
+ '/plugins/*'
39
+ ] %}
40
+
35
41
RUN ln -s rally-source/* rally \
36
42
&& {{ macros.install_pip(rally_pip_packages | customizable("pip_packages")) }} \
37
43
&& mkdir -p /etc/rally \
38
- && chown -R rally: /etc/rally
44
+ && chown -R rally: /etc/rally \
45
+ && if [ "$(ls /plugins)" ]; then \
46
+ {{ macros.install_pip(rally_plugins_pip_packages) }}; \
47
+ fi
39
48
{% endif %}
40
49
41
50
COPY extend_start.sh /usr/local/bin/kolla_extend_start
Original file line number Diff line number Diff line change 748
748
'type' : 'url' ,
749
749
'location' : ('$tarballs_base/openstack/rally/'
750
750
'rally-3.1.0.tar.gz' )},
751
+ 'rally-plugin-openstack' : {
752
+ 'type' : 'url' ,
753
+ 'location' : ('$tarballs_base/openstack/rally-openstack/'
754
+ 'rally-openstack-2.0.0.tar.gz' )},
751
755
'sahara-base' : {
752
756
'type' : 'url' ,
753
757
'location' : ('$tarballs_base/openstack/sahara/'
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ Added rally-openstack as plugin to rally source image
You can’t perform that action at this time.
0 commit comments