Commit Graph

13 Commits

Author SHA1 Message Date
Boxiang Zhu
2ceaa1e3ed fix: Add GLOBAL_VENV into skyline devstack plugin script
The devstack project has added GLOBAL_VENV env to adjust
the python env. So skyline needs to adjust the same check.

Change-Id: I5f5c3d40dc706cca2f2a91b48db50de67cb140e3
2023-08-18 13:12:31 +08:00
Boxiang Zhu
95e1c13f74 fix: Fix the devstack for python3.8 and version in requirements
When the os is ubuntu, then we only need to make
sure that python exists.
Update the version in requirements.

Change-Id: I100fce84d94f2af5f07d68c5675a02ae05403110
2022-11-22 13:41:58 +08:00
Boxiang Zhu
fb1d6d8d4b feat: Add log_file config into skyline.yaml.sample
Add log_file config. Now log path of skyline is log_dir
with log_file, no other hardcode path.

Change-Id: Ieb1fd567e02110238568840fe3641770def0994d
2022-10-19 17:29:14 +08:00
zhu.boxiang
1a050ec2c4 chore: Remove poetry
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
2022-05-25 22:26:42 +08:00
zhu.boxiang
8cb60f0833 chore: Move skyline_apiserver out of libs
1. move skyline_apiserver out of libs
2. remove libs folder
3. remove old skyline folder
4. adjust zull, devstack and dockerfile

Change-Id: I27a4babd3df077d1dfc7555f67a6ea618d4b2966
2022-05-18 17:21:00 +08:00
zhu.boxiang
6949568886 chore: Remove invalid folder from libs
1. remove skyline-log from libs
2. remove skyline-config from libs
3. remove skyline-policy-manager from libs
4. remove skyline-nginx from libs

Change-Id: I26ffdd75384a1949388b1bfc0129245065a04346
2022-05-18 11:14:31 +08:00
zhu.boxiang
9312010923 chore: Merge skyline-nginx into skyline-apiserver
1. merge skyline-nginx into skyline-apiserver

Change-Id: Ib2f31435ce69c52ea2c27d63177f9c8f936c033e
2022-05-16 21:38:38 +08:00
zhu.boxiang
6494ff6a46 fix: Fix the log_dir
If the log_dir is /var/log/kolla, and when we
deploy with devstack, we only chown the permission
for /var/log/kolla/skyline with stack user.
But the permission for /var/log/kolla is still root.
So it can not be access by stack user.
We will both change the log_dir in skyline-console
project.

Change-Id: I852c44cda2f9879aa8d8e405bb39bba13f35b8ca
2022-03-14 10:22:24 +08:00
yangshaoxue
babe6fe563 fix: Update .zuul.yaml
fix: Update .zuul.yaml
Change-Id: I8bc5bdefcfc56c0e91b2b6ff6125e6b9f9b44996
2022-03-10 19:10:57 +08:00
zhu.boxiang
047f197844 refactor: Remove skyline-console submodule
1. Remove libs/skyline-console submodule
2. Delete .gitmodules file
3. Update the dependencies
4. Update the Dockerfile

Change-Id: I80eae423ba3c308bb7f4d817f9142d9877855e7a
2022-01-06 13:43:46 +08:00
zhu.boxiang
7cd4168047 refactor: Change the way to install nodejs and yarn
1. Change the way to install nodejs and yarn
2. Config nginx.conf before start nginx
3. add sudo into cleanup skyline

Change-Id: Id02e135fdbe880b9b052a6b644816f3273361e2a
2021-10-08 11:47:54 +08:00
zhu.boxiang
de4adde69e feat: Support devstack integrated functional test
1. add skyline-functional-devstack which inherits from devstack
2. add skyline-functional-devstack into check and gate job
3. add playbook to integrate with devstack for zuul
4. change the port from 8080 to 9999 because the 8080 is used for s3api
5. rename functional-py38 as unittest-py38
6. add install extra tools ready for skyline-console's e2e test

Change-Id: I7f4b549bec6573661e62dd2bd9a3355253afd47d
2021-09-16 13:31:55 +08:00
zhu.boxiang
8b288e1955 feat: Support to deploy skyline with devstack
Add devstack plugin for skyline to deploy by devstack.

There are six main functions for this plugin:
1. install_skyline: to install main dependency of environment,
skyline-apiserver and skyline-console
2. configure_skyline: to config skyline.conf for skyline-apiserver
and nginx.conf for nginx
3. init_skyline: create database of skyline and make db sync
4. start_skyline: start skyline-apiserver as systemd and start nginx
5. stop skyline: stop skyline-apiserver and stop nginx
6. cleanup_skyline: remove all config directories

Change-Id: I632f059b26a3d8612fc1008758f1844498ce7b84
2021-09-08 18:16:06 +08:00