Commit Graph

12 Commits

Author SHA1 Message Date
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
c5ec9e0faf feat: Add swift endpoint url when generate nginx.conf
Add swift endpoint url when generate nginx.conf.
Add swift type into service mapping. Also update
the sample file of skyline.yaml.

Change-Id: Ib7dc4202bb390557afb665da7f5ae4004d40f324
2021-11-26 09:40:48 +08:00
zhu.boxiang
f369b43f24 style: Change makefile for apiserver and nginx of skyline
1. fix makefile for apiserver and nginx of skyline
2. re-fmt and re-lint for project

Change-Id: I4800b19dad0e3031462f540ff4427ca750d6324f
2021-10-15 15:49:15 +08:00
zhu.boxiang
28429a0ac5 refactor: Remove -f of poetry build command
1. Remove -f of poetry build command. Merge two commands
as 'poetry build'.
2. Update submodule for skyline-console

Change-Id: I91a04439c3a605a0159890a4603684a785d7a90c
2021-09-29 14:10:13 +08:00
zhu.boxiang
da42ade264 feat: Add build sdist
1. add build sdist into Makefile
2. update the submodule for skyline-console

It's ready for kolla to build image with source packages.

Change-Id: Iee016f241e5c141de4f135a35a406517b3f87e1f
2021-09-27 18:03:35 +08:00
Gao Hanxiang
1eebe91eaf chore: Update dependencies
1. Update python dependencies
2. Update skyline-console

Change-Id: I9417671b8fecef76a4e00f1bf98877552801f66e
2021-09-23 12:33:16 -04: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
809802d920 fix: Change the version of setuptools
The setuptools(>=58.0.0) has removed the support of use_2to3 during build[1].
There is a package named tempita[2] which has set use_2to3 in setup.py.

So here, we set the version of setuptools less than 58.0.0

[1]: https://setuptools.readthedocs.io/en/latest/history.html#v58-0-0
[2]: https://github.com/agramfort/tempita/blob/master/setup.py#L53

Change-Id: I0fffaa63eb91c4d4c4bf8d7e149e7087e514aa51
2021-09-10 17:56:44 +08:00
zhu.boxiang
f3ee9d3b8c fix: Re-generate the poetry.lock
The skyline-nginx is dependent on skyline-apiserver.
From the patch[0], we add aiosqlite into tool.poetry.dependencies.
So we need to re-generate the poetry.lock of skyline-nginx.

[0]: https://review.opendev.org/c/skyline/skyline-apiserver/+/803539

Change-Id: I82dc76ed286376d2c388e1dab95d4c24743d02f2
2021-08-23 13:32:45 +08:00
Gao Hanxiang
3176cfbc47 fix: 400 page appears when using http protocol to access
When using http protocol to access, nginx will respond with 400 and
report "400 The plain HTTP request was sent to HTTPS port".
The reason is that http 497 error[1] appeared in nginx, so 497
error was redirected to https protocol.

[1] 56f5331683/src/http/ngx_http_special_response.c (L274)

Change-Id: I01c35318dd5d219dbb31e6a89bdc05d2a4db7804
2021-07-29 05:28:58 +00:00
Gao Hanxiang
8d8c8bd89f chore: Add make clean to clean up project directory
1. Add make clean
2. Specify configuration file used by mypy
3. Add some directories to dockerignore

Change-Id: I4f6b0d5ba894214bb0fcff21443f9808f56d595e
2021-07-26 14:35:55 +00:00
Gao Hanxiang
5e4f40f364 feat: Add skyline-nginx package
1. Add skyline-nginx package for managing and generating nginx
   configuration.

Change-Id: I68afd9ab9ad52fc96c13e745cb1e89a8061a53ba
2021-07-26 03:46:20 +00:00