zun-ui doc/source/conf.py has a custom logic which prepare index files
for autodoc, but now pbr and sphinx autodoc have a feature to do it and
it is no a good idea to keep the custom logic.
UI cookiecutter populates the custom logic and it is an example of
the clean up.
Change-Id: I6c6eb2f6292bda30a4fa8d4375defd8234463008
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I5de43845fdd29a8fc6eddb6564c20da2a47c6581
Starting in Django 1.7, standalone scripts, such as a sphinx build
require that django.setup() be called first. See:
https://docs.djangoproject.com/en/1.8/releases/1.7/#standalone-scripts
It does not always necessary, but it is needed to avoid warnings
when creating autoindex.
Note that horizon no longer generates the autoindex to avoid warnings.
Drops setenv DJANGO_SETTINGS_MODULE in docs env in tox.ini.
DJANGO_SETTINGS_MODULE is configured in doc/source/conf.py,
so there is no need to pass envvar.
Add warning-is-error sphinx setting to avoid doc build warnings.
Change-Id: I4c036e264c7dd28463c3d52d73fcbbd3abeacb2b
Already we setup reno environment. So there were two Release notes
information: doc/source/releases and releasenotes (by reno).
Release Notes in doc directory are unnecessary.
It is not a good idea to have too much contents in the top page
document. Installation stuff is split into a separate page.
Title level of index.rst was inconsistent.
_static and _templates directories in releasenotes/source
are unnecessary. Also version info is set in release notes.
Change-Id: I0c2c31c9efc71d97ccea064da36302d886d8a743
For now pull image action doesn't work due to server error.
The following patch adds second return value into
_cleanup_params function, but the patch forgot to add the second
return value for _cleanup_params in image_create function.
https://review.openstack.org/#/c/474101/
This patch fixes it.
Change-Id: I5f2dca94821fa8c427e2804626f8b7f4a9fdcbb3
Closes-Bug: #1700479
If 'noqa' is specified all hacking checks are disabled.
It is better to ignore specific rules explicitly rather than
ignoring all. The recent flake8 supports this [1].
[1] http://flake8.pycqa.org/en/stable/user/ignoring-errors.html
Change-Id: I0f2a0cccf459c5a353f777a2be352c0faa8b18e0
This patch follows commonization of serial console in Horizon.
Change-Id: I41f236f2762613e56748bb05eb7ce0e4c26158d2
Depends-On: Ib0df9ddfc74f98bfea75abce3b5d5479e3cd47bd
To modify dialog easily, this patch uses Angular-Schema-Form
for container creation dialog.
This also makes easier to implement update dialog in the future.
Change-Id: Id369ec6650931433e3e5fd4569838c3ff420e504
This patch adds 'image_driver', 'image_pull_policy' and
'restart_policy' parameters into cluster creation action.
Change-Id: I479e85787b0a2518968e8bb774159073b1573162
Zun server is switching to websockify library for streaming.
This requires client to set sub-protocols manually.
New WebSocket connection manner is completely same as of
serial console for the instance.
So it's enough to use django template for the instance.
Change-Id: I7ebd0893ea4db0149fade4f32d6b70ee8b55147c
To enable py35 tests, refresh test environments.
Also, update docs, remove run_tests.sh that is no longer used.
This patch needs to wait for adding python-zunclient into
global-requirements.
Change-Id: Ibed3eea72839226dca878d0ecd1778c9d9a7e7d3
If a 'exec' request returned 400/500, the UI doesn't handle it.
This causes spinner remaining. This patch fixes the issue.
Also, to ease to see status of exit code for command,
change its container from readonly input text box to label.
Change-Id: I833d5f448f5294ae8b537476e53643e35f25e7a2
Closes-Bug: #1682173
It is better to increase the height of output area
since the output couldn't fit into the box at majority cases.
Change-Id: Ia8dbb2c3985eca7125575de803f7c5fa749558b2