skyline-apiserver/tools/post_install.sh
zhu.boxiang 10c910c6d5 refactor: Use source code instead of release packages
We install the service projects from opendev instead of
release packages. If the service projects are DEPRECATED,
then we will install them by latest release packages.

Update the neutron policy with the master branch.

Change-Id: I56a10452e731fd6e2597501659ce84e96c4c91ab
2022-06-07 13:29:04 +08:00

34 lines
635 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
# Some projects have been DEPRECATED.
# panko: https://opendev.org/openstack/panko
INSTALL_DEPRECATED_PROJECTS="panko"
INSTALL_PROJECTS="keystone \
placement \
nova \
cinder \
glance \
trove \
neutron neutron-vpnaas \
heat \
ironic \
ironic-inspector \
octavia \
manila \
magnum \
zun"
BRANCH=`git rev-parse --abbrev-ref HEAD`
for project in ${INSTALL_PROJECTS}
do
pip install -U git+https://opendev.org/openstack/${project}@${BRANCH}
done
for deprecated_project in ${INSTALL_DEPRECATED_PROJECTS}
do
pip install -U ${deprecated_project}
done