Commit Graph

20 Commits

Author SHA1 Message Date
Dr. Jens Harbott
ef9de18d34 zuul: Use default python3 job template
Skyline should use the default template openstack-python3-jobs which
will be updated each cycle according to the PTI.

Drop the py38 jobs, the current tested python versions are 3.9 and 3.11.
Also drop the irrelevant-files lists, the unit tests should run fast
enough that this doesn't really matter and this way we don't have to
update the config once new python versions get tested.

Change-Id: I5e9da608e5b277110b77ca5e6378855046798cf8
2024-04-02 09:11:27 +02:00
Boxiang Zhu
7ba07dbf70 feat: Add doc base frame
Add doc base frame

Change-Id: Id0a4168873232ef7feedaf1e1c1b6ed2b69a8f17
2022-07-29 14:31:57 +08:00
zhu.boxiang
ed1fb8ffca fix: Use the correct job for post
Use the correct job for post. Use publish-openstack-python-branch-tarball
instead of publish-openstack-python-tarball.

Change-Id: If0e8a2e73d0a7bf238e36119e678f813aedcbd40
2022-05-26 22:13:39 +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
370b8bf229 feat: Change the command for testenv:releasenotes
1. change the command for testenv:releasenotes
2. add releasenotes as irrelevant-files for skyline-functional-devstack
job

Change-Id: Ia50312a136841ac42d77dcd5f23774161c9ae141
2022-05-07 15:47:14 +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
a7ccf5e0fb fix: Cleanup skyline-console in .zuul.yaml and publish job
1. Remove skyline-console from irrelevant-files in .zuul.yaml file
2. Remove skyline-console from publish job

Change-Id: I242ad9dc6ef3491f207dd3ebf93bce853f6a96ff
2022-01-12 11:36:09 +08:00
zhu.boxiang
27d22a984d fix: Error build image
Fail to build skyline image. We should upgrade the pip and setuptools
version.

Remove irrelevant files for skyline-tox-lint-py38 job to retain one job
to trigger zuul.

Refer: https://github.com/python-poetry/poetry/issues/3329

Change-Id: I444faa3aefaa8ef8cfeb5284bc2a7a49bb0cb91b
2021-11-23 11:04:50 +08:00
yangshaoxue
f47fa7dcd5 Integration with Kolla and Kolla-Ansible
1. Add kolla and kolla-ansible integrated patch
2. Add README to introduce how we can build skyline image with kolla
and deploy skyline with kolla-ansible
3. Add kolla folder as irrelevant files into jobs

Change-Id: I0cc7e9ddd62fc3e20564bf8a0d98d5c7b8f8abac
2021-10-19 16:11:07 +08:00
zhu.boxiang
d1dd62fb8e feat: Add irrelevant-files for zuul jobs
Add irrelevant-files for zuul jobs so that we can reduce the
job cost time when the patch is just docs changes or not-related
changes for these jobs.

Change-Id: I6323a3458927ca265136c8be91fda1c7138074d1
2021-10-13 15:28:25 +08:00
zhu.boxiang
f1d38b6524 Fix: Add post-run into publish job
1. Add post-run into publish job
2. Update skyline-console submodule

Change-Id: Idd7263ed69f14fadf54f0850beb5bcbb930f672d
2021-10-11 13:30:27 +08:00
zhu.boxiang
4b0fd453cc Fix: Add pre-run into job
Add pre-run into job to ensure pip3 and revoke sudo.

Change-Id: I7eb5431f7dc18bfcade5498c7af1a9364bad68bc
2021-10-09 17:26:48 +08:00
zhu.boxiang
7a9b11a6a2 Fix: Only keep one tar.gz and whl package under dist
1. Add all tar.gz packages into one tar.gz package.
2. Keep one whl package under dist. Be carefull, we
should not use the whl package, because it is only for
the zuul job to publish.
3. Remove post and pre yaml files

Change-Id: I6d59bd5d6e4fd62f0b2f9c8d40d634e0ee01e327
2021-10-09 12:07:57 +08:00
zhu.boxiang
ed40bd9419 Fix: Change the parent of publish job
1. Change the parent of publish job
2. Change the regex of rename packages

Change-Id: I3d20d3b2477e268bebffd73a56234994ccf0db91
2021-10-09 09:41:28 +08:00
zhu.boxiang
46b5fcad23 Fix: Add pre.yaml in publish job
The default pre.yaml will revoke the sudo. So we install the extra tools
before we revoke the sudo.

Change-Id: Ie4ae0dc8ee90e6ea79f2b463988c32aa4ddaadba
2021-10-08 09:58:28 +08:00
zhu.boxiang
32cc5d7cc6 feat: Publish source package into tarballs
1. Add post into zuul. So we publish source package into tarballs.
2. Update submodule for skyline-console

Change-Id: I799e5658d0aca588d4f6b5b6ebcca218e1ca57d6
2021-09-30 13:23:16 +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
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
Thierry Carrez
f18ff79249 Add Zuul support for new repository
Before adding any code, add basic Zuul support for the repository
(noop-tests) so that it can pass Zuul checks and gating.

Change-Id: Ib728f83fedd08c989c38f02672f700fe133b39f5
2021-05-10 12:47:51 +02:00