1a050ec2c4
1. remove poetry dependency 2. add requirements.tx, test-requirements.txt, setup.py and setup.cfg 3. add more env into tox.ini 4. remove some command from Makefile 5. cleanup the dependencies 6. change some commands of README 7. update the devstack Depends-On: https://review.opendev.org/c/openstack/skyline-console/+/843257 Change-Id: I4cefc4cfdaadf7b3ba03ffe8441e9ae760772349
34 lines
1.0 KiB
Bash
Executable File
34 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Install openstack service package
|
|
pip install --no-deps \
|
|
keystone \
|
|
openstack-placement \
|
|
nova \
|
|
cinder \
|
|
glance \
|
|
trove \
|
|
neutron neutron-vpnaas \
|
|
openstack-heat \
|
|
ironic-lib ironic ironic-inspector \
|
|
octavia-lib octavia \
|
|
panko \
|
|
manila \
|
|
magnum
|
|
|
|
# Patch cinder
|
|
patch_path="$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/cinder/__init__.py"
|
|
sed -i 's/\(.*eventlet.*\)/# \1/g' $patch_path
|
|
|
|
# Patch neutron
|
|
patch_path="$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/neutron/conf/policies/floatingip_pools.py"
|
|
sed -i 's/admin/system/g' $patch_path
|
|
|
|
# Patch ironic
|
|
patch_path="$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/ironic/common/policy.py"
|
|
sed -i 's/\(.*lockutils.*\)/# \1/g' $patch_path
|
|
|
|
# Patch ironic_inspector
|
|
patch_path="$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/ironic_inspector/policy.py"
|
|
sed -i 's/\(.*lockutils.*\)/# \1/g' $patch_path
|