| Age | Commit message (Collapse) | Author | Files | Lines |
|
Instead of overloading tarballs.opendev.org (and relying on their
functional state), let's build images directly from Zuul cached
workspaces.
Adding a script that will validate if we're missing anything when
adding new images.
Change-Id: Ie1d8dce841b9a996e96e3a6e1b097b0d256c0bea
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
|
|
Change-Id: I2ef1b33b8d4527e0aea4f00dd1ce0770da2c495e
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
|
|
The release notes job was changed [1], leading to build failures.
Resolve by ignoring errors in existing files.
[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/RLOKQLQUDAVSML4C4OW2EM4OXOGRCYBA/
Change-Id: I3db224fbf7ffaf153fb6307d506fdad980bb429d
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
|
|
Linting on master for Kolla is failing right now. The root cause is
that master's upper-constraints.txt pins pathspec===1.1.0, but
ansible-lint 26.4.0 requires pathspec<1.1.0,>=1.0.3.
Sadly not using upper-constraints in Kolla linters is a little more
complex than in Kolla-Ansible because of the inheritance of tox
dependencies. This patch therefore moves ansible-lint from
test-requirements.txt to a new lint-requirements.txt file.
Change-Id: I751ab5eb7a798502e79228568bda53fdec4971d6
Signed-off-by: Michael Still <mikal@stillhq.com>
|
|
Python 2 reached its EOL long time ago and we no longer expect any
user may attempt to run tox in Python 2.
Removing the option allows us to remove ignore_basepython_conflict.
Change-Id: Ibff3444cb38c60d5281daddfd252ac490e4ad838
Co-authored-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
|
|
... because stestr is now used instead of nose.
Also drop the VIRTUAL_ENV environment which is now automatically set
by tox.
Change-Id: Ied6e20f5b1dc5de384f29d317bec998e86f26efa
|
|
Removing dbus-python deps because now a-c-k handles that.
Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/942179
Change-Id: I97a97da73a7ccb27789e979656867e4adfe8a633
|
|
Currently tox -e genconfig fails with stevedore issues,
because tox is not doing sdist.
Closes-Bug: #2051575
Change-Id: Idfc26fe380a546d0fd712a531e5913090b01d808
|
|
Change-Id: I799d6bf7a381c377dee565c13b1732f7313520f4
|
|
codespell, now part of pep8, was failing on master. Also remove
the codespell version pin in tox.ini as it is no longer required.
Change-Id: I309e558a445c0a96f16fd002b8ca232d94620b5a
|
|
Change-Id: I403d933b029e846e682fd41a62ada4fc73cdfd12
|
|
Fix existing spell checking
Change-Id: Ief7b8f2d427b2557c84fda9b3774ed85ceb105f4
|
|
Add podman as an option to choose for container engine
for kolla-build (--engine podman)
Signed-off-by: Konstantin Yarovoy <konstantin.yarovoy@tietoevry.com>
Co-Authored-By: Michal Arbet <michal.arbet@ultimum.io>
Change-Id: I068c906df97745e397408d8c3ef6af47ee037638
|
|
Change-Id: I4d2f521b36ee4684a331e725787bfb56434d1d44
|
|
Use bash to call shell scripts instead of adding them explicitly to
allowlist_externals. Drop external command that is no longer being used.
Change-Id: I4f90fbcc3a679660c437e99a3aa1f81747b72054
|
|
It is not necessary and it may be confusing.
Change-Id: Ie84bce6a90de622dc76a2309fc579d881325b956
|
|
whitelist_externals is now deprecated, use allowlist_externals
instead. see[0]
[0]: https://tox.readthedocs.io/en/latest/config.html
follow: https://review.opendev.org/c/openstack/kolla-ansible/+/791928
Change-Id: I511fa599f43c5376f841ec6d03e272243aaa2ba4
|
|
Per our PTG resolution [1] and general OpenStack resolution [2], lower-constraints
are not worth the extra work and confusion they introduce.
This patch drops them along with all mentions.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-October/018445.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019521.html
Change-Id: I58807c27fd20c7269019e26e8b507744d35325f3
|
|
UPPER_CONSTRAINTS_FILE is old name and deprecated
-https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
This allows to use lower-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
[1] https://review.opendev.org/#/c/722814/
Change-Id: I486b6f8ad54f2ae5d32675d3c28660c32247b20b
|
|
in 'victoria' cycle, we should test py38 by default.
and remove redundant python env.
Change-Id: I5365c435bac63ce0071fb6107373f37f70e2799b
|
|
Depends-On: Ic22d0d4baca7295a01d97bd15c940716ca6f5232
Change-Id: If2a37cfd7874eaa2685777927fd1939b4e900870
|
|
requirements.txt is unnecessary when run tox -e docs,
docs relative stuffs is in doc/requirements.txt, this ps to
remove the requirements.txt from tox.ini
Change-Id: Ic22d0d4baca7295a01d97bd15c940716ca6f5232
|
|
Pypy is not tested in OpenStack anymore, remove the job.
Change-Id: I747f30a385b8163ac1ea173b0a8024c281fc272b
|
|
Removes and/or replaces all mentions of py27.
Cleans up obsolete requirements and their lower-constraints.
Change-Id: Id43f1bbd6a454832ab8dbf003a058403f6b34b5d
|
|
|
|
We don't need tox nor tell our users to use it when doing kolla builds.
Tox is going away from base infra images (it is already gone from
aarch64 ones).
Depends-on: https://review.opendev.org/713134
Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Change-Id: Ib1d97a783951ac42740ebf91bcc6ecaf2bf70853
|
|
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found by updated hacking version.
Update local hacking checks for new flake8.
Remove hacking and friends from lower-constraints, they are not
needed in installations.
Change-Id: I67e5ca24c550163c218fb06692de0b7c528d8318
|
|
Cleanup requirement and set ignore_basepython_conflict = True
in tox to avoid python version conflict warning which going
to be error in future.
Change-Id: Ia749d558df33f475dfdbe7a1f9dfdb30aeba8da0
|
|
|
|
2020 came, everyone should be using Python 3 now.
As per the official python support timeline set forth
by the OpenStack TC [1], OpenStack Train (in our case,
kolla 9.x) is the last release that will support python2.7.
[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html
Related bug: https://bugs.launchpad.net/tripleo/+bug/1856678
Merging depends on TripleO team - once they move CI job to CentOS 8 we
can merge.
Implements: blueprint drop-py2-support
Change-Id: Ic459561ab6ab8c62993c044c7a82d887839da289
|
|
Adds build and publishing jobs for CentOS 8 images:
- kolla-build-centos8-binary
- kolla-build-centos8-source
- kolla-publish-centos8-binary
- kolla-publish-centos8-source
The 'base' image has been added to the list of unbuildable images for
CentOS 8 (now separate from the list for CentOS 7). This means that no
images will be built - the jobs should essentially be a 'noop'.
Change-Id: Ie9a0109bd4eef337358d714e4b5088b8e3de2f23
Partially-Implements: blueprint centos-rhel-8
|
|
Time to say goodbye for Python 2
Depends-On: https://review.opendev.org/693356
Change-Id: I5f23da932df70bf17d09d42420ac408221d0e02f
|
|
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
Change-Id: I6b8897472220e2f45ec3230be8d3f82adacc7c7e
|
|
|
|
We have agreed to remove support for Oracle Linux.
http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006896.html
Change-Id: I961dfba1aeef2c509ecdaf376dfe6928926ffb39
Depends-On: https://review.opendev.org/682858
|
|
The is one of community goals that each project should produce a
single PDF file. The pdf should be in the output of openstack-tox-docs
job.
TeX packages are required to build PDF locally, following is
recommended:
* inkscape
* texlive-latex-base
* texlive-latex-extra
* texlive-fonts-recommended
More about the goal:
https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html
https://etherpad.openstack.org/p/train-pdf-support-goal
https://etherpad.openstack.org/p/pdf-goal-train-common-problems
Change-Id: Ia0f8b73bcbda6295319f5c8de1aa02a40844207b
|
|
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Change-Id: I3cb7d2c482cf6d57e01892b6ba0f76d9580ff53c
Story: #2005924
Task: #34216
|
|
If stestr failed, then no node info was logged.
Logging node info is now handled in pre and post stages of Zuul.
Additionally Zuul v3 migration recommendations were applied
and some unused code removed improving general readability.
Change-Id: Iae9d37cb76997ba8389e21c7e2a3bf5905abe029
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
|
|
Change-Id: I7ec146d0edc96f5ce925792530c42d7eedf8a409
|
|
|
|
Depends-On: https://review.opendev.org/655623/
Change-Id: Ife905cb6b5dff201da357aecf100a34e599bbe80
|
|
1.Use opendev.org instead of git.openstack.org.
2.Use review.opendev.org instead of review.openstack.org.
You can see the discussion below:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
Change-Id: I377ea63827b6f3995ee275fdc466c1b2100eafc7
|
|
In Train, we will use python3.6 and 3.7 for which
the minimum tox version required is 2.5[1]
[1]https://tox.readthedocs.io/en/latest/changelog.html#v2-6-0-2017-02-04
Change-Id: Iea2da5e698959e85a6996b32bda85701b4aa0676
|
|
Removed various scripts which were part of previous CI configurations.
Change-Id: I674c3bb89e049638926fcb2ad6577123117b5d32
|
|
Python 3.5 was the target runtime for the Rocky release. The current
target py3 runtime for Stein is Python 3.6, so there is no reason to
keep testing against the older version.
https://governance.openstack.org/tc/reference/runtimes/stein.html#python-runtime-for-stein
Change-Id: Ib7804441fb3608b955c642014620fcab39d911ef
|
|
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I27308a2435a4dca572d736f56a02b0bbc8563981
|
|
python 3.6 pycache also includes links - so those also
need to be removed
Depends-On: https://review.openstack.org/636750
Change-Id: I0f995df45bf203acc79cc7bd52b9ac51577468da
|
|
|
|
Change order of default tox envlist in order of likeliness to fail on a
new change and add py37 and py36.
Change-Id: I7b88f0ebce37a319e66b20d5438852976195f06e
|
|
|