Pedro Algarvio
2702705043
Merge 3006.x into master
2023-09-29 18:15:30 +01:00
Pedro Algarvio
309829e5e3
Set and make use of the TOOLS_DISTRO_SLUG
environment variable in CI
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
8c243a64de
Downgrade importlib-metadata
from the workflow, not nox.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
b2633987ef
Just install the dependencies directly
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
dae70dab94
Fix workaround in order not to break nox
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
d53eff39fd
On VMs, use Salt's onedir to combine code coverage
...
And newer Python versions where we don't want to download the onedir
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
7f2d7c342f
Upgrade to coverage==7.3.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
c6bc5720e9
Allow handling windows artifacts when not on windows, and vice-versa
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
88073e1331
Reduce the number of cached artifacts in a CI run
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
ac7db60b86
Reuse the onedir CI virtualenvs
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Megan Wilhite
4608a470b0
Migrate the package tests to use the main test dependencies
2023-09-29 16:12:59 +01:00
Pedro Algarvio
8dc6f1c8f5
Merge 3006.x into master
2023-09-26 21:44:35 +01:00
Pedro Algarvio
e8115ec126
Fix onedir
code coverage collection and reporting
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-26 20:57:49 +01:00
Pedro Algarvio
29a57d2d32
Generate the XML code coverage reports before trying to use them
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-26 20:57:49 +01:00
Pedro Algarvio
2430a0eeb3
Don't erase collected coverage data on test failure re-runs
...
Fixes #65214
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-26 20:57:49 +01:00
Pedro Algarvio
b85da8d8b0
Merge 3006.x into master
2023-09-26 07:01:03 +01:00
Pedro Algarvio
99b9246760
Add missing space
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 17:26:12 +01:00
Pedro Algarvio
f389c29473
Merge 3006.x into master
...
Conflicts:
* requirements/darwin.txt
* requirements/pytest.txt
* requirements/static/ci/common.in
* requirements/static/ci/darwin.in
* requirements/static/ci/freebsd.in
* requirements/static/ci/linux.in
* requirements/static/ci/py3.10/cloud.txt
* requirements/static/ci/py3.10/darwin.txt
* requirements/static/ci/py3.10/freebsd.txt
* requirements/static/ci/py3.10/lint.txt
* requirements/static/ci/py3.10/linux.txt
* requirements/static/ci/py3.10/windows.txt
* requirements/static/ci/py3.11/windows.txt
* requirements/static/ci/py3.7/cloud.txt
* requirements/static/ci/py3.7/freebsd.txt
* requirements/static/ci/py3.7/lint.txt
* requirements/static/ci/py3.7/linux.txt
* requirements/static/ci/py3.8/cloud.txt
* requirements/static/ci/py3.8/freebsd.txt
* requirements/static/ci/py3.8/lint.txt
* requirements/static/ci/py3.8/linux.txt
* requirements/static/ci/py3.8/windows.txt
* requirements/static/ci/py3.9/cloud.txt
* requirements/static/ci/py3.9/darwin.txt
* requirements/static/ci/py3.9/freebsd.txt
* requirements/static/ci/py3.9/lint.txt
* requirements/static/ci/py3.9/linux.txt
* requirements/static/ci/py3.9/windows.txt
* requirements/static/pkg/freebsd.in
* requirements/static/pkg/linux.in
* requirements/static/pkg/py3.10/darwin.txt
* requirements/static/pkg/py3.10/windows.txt
* requirements/static/pkg/py3.11/windows.txt
* requirements/static/pkg/py3.8/windows.txt
* requirements/static/pkg/py3.9/darwin.txt
* requirements/static/pkg/py3.9/windows.txt
* requirements/windows.txt
2023-09-13 16:09:29 +01:00
MKLeb
ad93c28386
Finally fix the debian downgrade tests, and hopefully fix the 3006.1 upgrades
2023-09-11 21:41:05 +01:00
MKLeb
abb8011fd4
Some more fixes for the debian downgrades, we are now using a pref file to force the downgrades without knowing the exact version
2023-09-11 21:41:05 +01:00
MKLeb
d986874ab0
Initial attempt at downgrades on RPMS and DEBS
2023-09-11 21:41:05 +01:00
MKLeb
7e9dc8ca63
Start initial flow for downgrade tests
2023-09-11 21:41:05 +01:00
MKLeb
bee29be6dd
Merge remote-tracking branch 'upstream/3006.x' into mf/master/3006.x
2023-09-08 16:25:39 -04:00
Pedro Algarvio
5ed925ea5e
Use the VM slug as the code coverage default context
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-31 17:32:01 +00:00
Pedro Algarvio
142a6cb9e2
Add nox session to generate code coverage HTML reports
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-31 17:32:01 +00:00
Megan Wilhite
82ef23a65e
Add html coverage and combine coverage reports
2023-08-31 17:32:01 +00:00
Megan Wilhite
bf6ab537f7
Revert coverage update
2023-08-04 16:29:46 +01:00
Megan Wilhite
3e413bd82e
update coverage
2023-08-04 16:29:46 +01:00
Pedro Algarvio
464c4e5eb2
Use a different pytest.ini
file for the package tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-17 13:39:37 +01:00
Pedro Algarvio
5c88202087
Use a different pytest.ini
file for the package tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-16 07:32:35 +01:00
Pedro Algarvio
a413f068c8
No need to include the linux dependencies in lint dependencies now.
...
Given we now properly constraint requirements files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
180ece842c
No need to include the base and zeromq dependencies in docs dependencies now.
...
Given we now properly constraint requirements files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
bef7a6ab2e
No need to include the linux dependencies in cloud dependencies now.
...
Given we now properly constraint requirements files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
d3b82ebdcc
Update supported versions in noxfile.py
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-06 11:13:17 +01:00
Pedro Algarvio
e18d829f36
Drop Python 3.7 support.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-05 20:55:24 +01:00
Pedro Algarvio
d33a8b7b4a
Only show the warnings when running the download package tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-15 20:49:08 +01:00
Pedro Algarvio
88f945598f
Fix symlinks when decompressing instead of replacing them when compressing dependencies
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
3296c01d4c
Onedir virtualenvs break with --copies
. Fix it and still allow relocation.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
ca55c67183
Prefer copies, not symlinks
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-29 11:37:08 -07:00
Pedro Algarvio
0144652d3c
Download package test are now skipped by default.
...
Passing `--download-pkgs` will enable them.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-16 21:00:40 +00:00
Pedro Algarvio
a6b89f1640
All package tests use the same nox session now.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-16 21:00:40 +00:00
Pedro Algarvio
b0a5d454c9
The nox session pre-archive-cleanup
now required Python 3.10+ to run
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-16 21:00:40 +00:00
Pedro Algarvio
f661bda53b
Migrate the package download tests to onedir
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-16 21:00:40 +00:00
Pedro Algarvio
ea1e937492
Adding tests to download and install packages.
2023-03-16 21:00:40 +00:00
Pedro Algarvio
f523979c51
Skip code coverage on pull requests.
...
Because our test coverage on pull requests is partial most of the time,
and to decrease the run time.
On the release staging pipeline it's also skipped because scheduled and
nightly builds already have this information and it saves us a few
minutes.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-11 19:11:12 +00:00
Pedro Algarvio
b7d8a30ccc
Remove nox sessions and requirements files which are no longer necessary
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-08 23:48:54 +00:00
Pedro Algarvio
ebe6c4f6d5
Switch to using our onedir to run the package tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-08 23:48:54 +00:00
Twangboy
fcfa1e0abb
Use double quotes for nox_session
2023-02-28 15:27:46 +00:00
Twangboy
f338519374
Put noxfile back
2023-02-28 15:27:46 +00:00
Twangboy
c0b9ee3d83
Fix MSI tests not completing properly
2023-02-28 15:27:46 +00:00