Commit Graph

23 Commits

Author SHA1 Message Date
zhuboxiang
2a3a08e328 Change to use shell cat to fetch commit_id
Command file can not do correct when run it on centos 7
with docker to build. So Change it to use shell cat.

Change-Id: I1186b22c224bbc6e828f71014f5b7f920df3a651
2024-07-03 10:38:14 +08:00
Florian Haftmann
73cef61356 feat: Cached download of Skyline Console tarball
The tarball is downloaded only once, changes to the sources do not
result in a re-download.

Change-Id: I80ad7ed0a849f639bd4e0655ba6307c09f56814c
2024-01-24 13:03:13 +01:00
Florian Haftmann
fac43ebbf5 feat: Separate devbuild goal for incremental build
A separate goal for incremental builds does not spoil the
existing sane clean rebuild.

Change-Id: I28f0a7bd6dc05881180e312386bdefd8e331436b
2024-01-24 13:03:13 +01:00
Florian Haftmann
aef1139897 style: Uniform order of arguments, shorter lines
Explicit line breaks make passed arguments clear.

Change-Id: I6ef3b7b52634bca05de63033b0baed2163a65ce9
2024-01-24 13:03:13 +01:00
Wu Wenxiang
c4014a5019 fix: remove console tarball before downloading
if console tarball exist, the new downloaded package would rename
as xxxx.1, which cause unzip mistake (unzip the original one)

Change-Id: Iba121d1605749f78814d6a5720254184ebe56ba7
2024-01-17 13:38:27 +08:00
zhu.boxiang
c12b6edcf0 fix: Fix the folder name of skyline-console
Fix the folder name of skyline-console when build
skyline docker image to get skyline console commit id.

Change-Id: I4d8e55c0ddd2914ceabf7a2546ebae213ff864ca
2022-05-27 20:00:57 +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
chenliufeiyang
9aa12defca feature: Add skyline-console commit-id
1. add wget and tar into makefile to get skyline-console package
2. set skyline-console commit into skyline docker image as label

Depends-On: https://review.opendev.org/c/openstack/skyline-console/+/841664
Change-Id: Id69ba06c91343ca6bdccab85c45d258a3a6eaa19
2022-05-20 14:14:21 +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
6a1bdd4fb4 chore: Merge skyline-config into skyline-apiserver
1. merge skyline-config into skyline-apiserver
2. move tests into skyline-apiserver
3. we will remove skyline-config after we merge skline-policy-manager
and skyline-nginx into skyline-apiserver

Change-Id: I76091eb0f19333bafd999f3e03cb8bfc2ada6640
2022-05-13 14:01:26 +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
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
Zuul
8fd70b6823 Merge "fix: Change the version of setuptools" 2021-09-10 10:27:09 +00: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
cfba942e3c fix: Remove git_config when make venv
Remove git_config when make venv. So when we integrate
with devstack, we will not be interrupted by git.

Change-Id: I23d6fac4dda5bc1c2caa269f0591cb4e6137743d
2021-09-10 15:31:24 +08:00
shaleijie
08126209de feature: Add ZUUL JOBs
1. Add `skyline-tox-functional-py38` job to execute unit tests
2. Add `skyline-tox-lint-py38` job to execute code static analysis

Change-Id: I6ee8e89e72b3769a2803f8dc2a7b7a434f16e16f
2021-08-25 15:01:17 +08: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
4fa4083d57 refactor: Streamline libs directory structure
1. Adjust makefile
2. Delete unused files

Change-Id: I73a7490e658763b57ef528359ebbde6d945740db
2021-07-26 03:50:00 +00:00
zhu.boxiang
826234e9db feat: Add skyline-config under libs
1. remove base.py under config folder
2. add skyline-config library under libs

Change-Id: I71561bc3f6acbff3d90c9ad1922095e71497f226
2021-07-07 16:14:11 +08:00
zhu.boxiang
a65e543bdf feat: Add make genconfig to generate sample config
1. add a cmd script to generate sample config
2. set setup as False for generate_swagger, so we can make swagger
without skyline-apiserver yaml config
3. add make genconfig into Makefile
4. add config-sample-generator scripts into pyproject.toml
5. replace async with sync for generate_swagger script
6. add items, keys, values function for Group and Configuration

Change-Id: I4c7196f1d766a6abdc24c71c4b3135cd40cc26ef
2021-07-02 10:54:51 +08:00
Hanxiang Gao
38ea9e3d59 feat: Add initial code of skyline-apiserver
Add initial code of skyline-apiserver

Change-Id: Ib425960b707237193fd8531fb3989f29282f5b58
2021-06-01 23:39:57 +08:00