Commit Graph

25 Commits

Author SHA1 Message Date
Clark Boylan 6d2761a4b8 Add centos-9-stream and ubuntu-jammy functional testing
In addition to cleaning up old distros that we want to remove we should
have testing for modern distro releases.

Change-Id: I66a388bcde01d5b96e352dcea28c3fb969a59ff6
2024-02-26 14:43:40 -08:00
Clark Boylan 0ed0e569d0 Drop centos-7 and ubuntu-xenial testing
This is in preparation for future cleanup of these distros as test
platforms for opendev.

Change-Id: I99bdc0c051b5d27b48c0bed28ec635cea598f66f
2024-02-26 14:42:21 -08:00
Clark Boylan aa33e73f1b Drop bindep-opensuse-15 job
The OpenDev team is planning to remove OpenSUSE LEAP 15 images as our
node builds and mirrors are for 15.2 which is ancient and no one is
currently working to modernize these test environments. On top of that
LEAP is apparently going away in the future and will be replaced with
another distro.

Bindep's unittesting of platforms with mocked out /etc/os-release based
distro detection should be sufficient testing for suse going forward.

Change-Id: I9f8f79bc6957932725f6da28934d4494c3335d15
2024-02-21 09:15:05 -08:00
Clark Boylan 1d4f5113a3 Drop Python 2.7/3.5 testing and support
This drops Python 2.7 testing from bindep and removes trove labels for
Python 2.7 in setup.cfg. We also remove Python 3.5 trove labels as we
stopped testing 3.5 some time ago. Additionally, we stop producing
universal wheels as this is now a python 3 only project.

This has been a long time coming. With Debian Bookworm not shipping a
python2 at all this is a good indication it is time for us to stop using
python2 with Bindep. Those that need Bindep with Python 2 or 3.5 can do
so using older releases. To help make this almost automagic we set
python_requires >= 3.6 which will make pip select an appropriate version
based on the python version being used.

Change-Id: Ief77df0b210c6d236adab2ba6659f181eea17459
2023-08-22 14:54:19 -07:00
Clark Boylan a6e808f67f Drop fedora-latest test job
OpenDev is dropping fedora test nodes. That means bindep cannot continue
to run test jobs atop fedora-latest. Note that fedora-latest isn't
working anyway due to upstream removing package mirrors for fedora-36.

Longer term a good improvement to bindep may be to move the platform
testing into containers then we can run a single functional job that
spawns a container for every platform we want to test and get coverage
that way. Until then our unittests that fake in /etc/os-release content
should be sufficient coverage for fedora.

Change-Id: I0513fe13fe55b34667012efe88752f0a1f7c1037
2023-08-22 09:31:42 -07:00
Clark Boylan 697af0b17a Use nox
This illustrates the use of nox in a simpler project. It can build docs,
run linters, and execute unittests simply and effectively.

Note we pin the packaging package as newer versions have changed
behavior on rolling release distros that don't have proper version. This
is necessary to fix gating. The followup change fixes it properly.

Change-Id: I795e4d73f60d90b0f027df43a80ebda773ee9194
2023-01-25 16:09:12 -08:00
Jeremy Stanley e12f9e4f57 Publish documentation at every release
We normally publish documentation updates in the promote pipeline,
using documentation built in the gate. As a result, the published
docs tend to lag behind release events until the next post-release
change lands. Run a separate docs build and publish it on release,
so that release notes and version information included in the
documentation reflect the most recent tag prior to the next change
merging (which for stable projects like this one, could be a while).
Override the tag jobvar to force publication to the branch path
rather than using a version-specific tree.

Also remove ubuntu-focal node overrides for release builds, as this
is now our default anyway.

Change-Id: I36409682049946bc3f2c9be7af88ba78f01bd8f0
Depends-On: https://review.opendev.org/838525
2022-04-19 15:54:40 +00:00
Clark Boylan d23778fcd7 Replace centos-8 with centos-8-stream
CentOS 8 is EOL and should be replace dwith CentOS 8 Stream or another
RHEL alike. We're doing stream here because it is easy.

Change-Id: I0c699ad153d25f0e0c3abc99e99072ac6b144ef0
2022-01-12 09:02:33 -08:00
Jeremy Stanley e49d015f24 Build releases on ubuntu-focal
The default nodeset in OpenDev is still ubuntu-bionic, which has
older setuptools and wheel packages lacking some newer features we'd
like to make use of. Explicitly call out ubuntu-bionic as our
required nodeset for building release artifacts so we use newer
versions of these tools.

Change-Id: I0995336bcb02160360a42919f3594ba9708dac31
2021-02-05 19:23:54 +00:00
Jeremy Stanley 41c6f1ee3d Build docs for OpenDev
Since OpenDev has its own docs site now, publish there instead of
the old docs.openstack.org/infra tree.

Change-Id: I991ae85d9aaec59b28a071731049fc12add97445
2021-02-04 01:51:50 +00:00
Jeremy Stanley ed77a829f0 Move all jobs in-repo
As part of relocating to the opendev Zuul tenant, declare our jobs
inside the repository now. This duplicates how opendev/gear is
currently configured.

Change-Id: I5d4b899665702f7a43bfe028a790dc13d0572230
Depends-On: https://review.opendev.org/773793
2021-02-04 01:51:48 +00:00
Ian Wienand 75541dad5b Add centos 8 and focal testing
Change-Id: Ib6efd3c03643a46465394aaa0af5095cd2d2f6b9
2020-06-23 08:38:28 +10:00
Dirk Mueller dca9ea23ad Replace Trusty with Bionic in the testing
We definitely should test our default Ubuntu LTS
version and can stop test the deprecated one.

Change-Id: Ibf209aa000082be3620dd74da1f910494584174b
2019-08-19 16:43:48 +02:00
Dirk Mueller ed9cd36d83 Switch to opensuse-15 nodeset for bindep testing
opensuse-150 nodeset is referring to openSUSE 15.0, which is still in
maintenance but openSUSE 15.1 has been released already. "opensuse-15"
is going to refer to the "latest openSUSE 15.x" build released and
working for OpenStack going forward, so add this nodeset and use
it by default going forward.

Remove testing against opensuse 423 which is unmaintained and end of
life.

Depends-On: https://review.opendev.org/#/c/666066/
Change-Id: I8968c39fd0f8e107d0e4046b442e53fa89b1c4c1
2019-06-26 15:09:01 +00:00
OpenDev Sysadmins 88850a55ec OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:26:03 +00:00
Sorin Sbarnea e48cd51e57 Adds job to test bindep on Fedora
Testing on Fedora in addition to CentOS 7 is important because
it uses dnf instead of yum, python3 intead of python2 and has a good
number of packages renamed.

Change-Id: If2a6502339850c35605d231f500d4ec827ccff4e
2019-02-27 20:15:34 +00:00
Sorin Sbarnea 2152331ebf Replace deprecated bindep-fallback testing
Adopts testing using in-repo bindep.txt testing file instead of
using the deprecated externally hosted bindep-fallback.txt file.

Initial file is the same but in the future we may want to simplify it.

Change-Id: I570fe8686068478a163e4fe597514460b6a69fef
2019-02-14 18:09:04 +00:00
Andreas Jaeger 1568971ca0 Add openSUSE 15.0 testing
openSUSE 15.0 is now used on master for Stein, add it for testing.

Leave 42.3 (which is indeed older than 15.0) in for testing of older
releases.

Change-Id: Iad71da883798b9e10bd324aa3b002a2ea1e98955
2018-11-12 11:56:39 +01:00
Paul Belanger bacfe22438
Remove fedora-27 fallback job
Because bindep-fallback.txt is frozen, we do not have a replacement
job for fedora-latest. Remove this job so we can remove fedora-27
nodes.

Change-Id: Ibc93057f575c353418f21ee57eaa0b91fbdb2f26
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-08-09 13:46:42 -04:00
Paul Belanger a0916cd9bc
Remove debian-jessie nodeset
We are in the process of removing debian-jessie from openstack-infra.

Change-Id: Ic472b9f7d94f5dea425bfd6ac784053e815c8555
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-23 11:39:51 -04:00
Paul Belanger 94dff97c41
Update to fedora-27 for testing
We (openstack-infra) are in the process of removing fedora-26 from our
testing infrastructure. Update testing to use fedora-27 nodes.

Change-Id: I417181b93f8780a2b408a539afb4a5d2e6e66c84
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-05 18:22:04 -05:00
Zuul a6f018dafc Merge "Move jenkins/data/bindep-fallback.txt" 2018-02-22 20:05:48 +00:00
Andreas Jaeger 1b28c33858 Move jenkins/data/bindep-fallback.txt
The location for this file has changed, update usage.

Depends-On: https://review.openstack.org/543139

Change-Id: I46aed248c0ce7015de8a7e9d5653058c5d94d069
2018-02-20 20:03:50 +01:00
James E. Blair 6b3989391c Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I5918827d9b6306f38e7f8e819c397bf31ab708a7
2018-01-31 18:52:30 -08:00
Andreas Jaeger 375c71d993 Add native Zuul v3 bindep-fallback test
Migrate the legacy bindep-fallback tests to native Zuul v3 and add them
here.

Needed-By: I21879df52480cd864b7528221f2b5f667657b7e1
Change-Id: Ie2a7cd3d65d5f6943a2838459dbed2434d7bf26a
2018-01-06 11:26:01 +01:00