1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-01-30 01:18:59 +01:00
Commit Graph

53 Commits

Author SHA1 Message Date
75daac6ca6 Merge pull request #1676 from crazyscientist/pypi-publish-1279
GH action for PyPI publication
2025-03-03 08:29:08 +01:00
abcc830fc9 Allow manual triggering of all Github CI jobs 2025-02-18 18:22:47 +01:00
7298f5cddf Fix build-install CI job
The job unit-ro is from a different file, so "needs" can not find it.
Remove it as there is no dependency.

An alternative would be to merge both files into one. It might save work
on some broken PRs.
2025-02-18 18:22:38 +01:00
Andreas Hasenkopf
b09bab54cb GH action for PyPI publication
Automatically release to PyPI when
creating a release in GH
2025-02-12 17:03:51 +01:00
b938585cfb GHA: switch pylint to the latest version from pypi 2025-01-15 17:02:16 +01:00
124528e68b Add 'git-obs pr' command 2025-01-15 17:02:16 +01:00
4215d1a43d GHA: Install obs-scm-bridge directly from github in the behave test 2024-11-05 13:46:14 +01:00
e179b0f002 GHA: Add missing dependencies to linters workflow 2024-11-05 10:36:30 +01:00
d20b758ae2 behave: Define 'git-obs' path when running the tests 2024-11-05 10:09:47 +01:00
a901206a5f behave: Add tests for git-obs commands, update test suite as needed 2024-10-11 13:13:26 +02:00
699f4d860e Add 'gitea_api' module
Co-authored-by: Dan Čermák <dcermak@suse.com>
2024-09-24 14:01:43 +02:00
e19f1bb5d9 Replace 'setup.py test' that was removed in setuptools 72 with 'python3 -m unittest' 2024-08-27 11:01:30 +02:00
2da4e6f999 Add Leap 15.6 2024-08-16 09:25:22 +02:00
5c8079f7ed Remove Fedora 38, add Fedora 40 2024-08-16 09:25:10 +02:00
b8e187cc70 Fix tests so they don't modify fixtures 2024-06-25 08:48:45 +02:00
0021b2d237 GHA: Install dnf5-plugins instead of dnf-plugins-core where dnf5 is installed 2024-05-10 14:20:42 +02:00
6322e2f9aa Propagate exit code from the run() and do_() commandline methods 2024-04-10 15:04:05 +02:00
921942d15d GHA: Install epel-release on RHEL and its clones in the rpmbuild test 2023-11-23 16:12:56 +01:00
7fff395e7d Merge pull request #1430 from dmach/virtualenv
Support installing osc into virtualenv
2023-11-15 13:02:53 +01:00
526adc345a GHA: Update test matrix to run on Fedora 38 and 39 2023-11-15 09:07:30 +01:00
d53b2981c8 Support installing osc into virtualenv 2023-11-03 10:21:42 +01:00
f60db24e15 Add 'git_scm' module for handling packages that live in git scm rather than usual obs scm 2023-07-28 14:41:59 +02:00
ab967a921c Revert "GHA: Fix podman push error 'obs-server:latest: image not known'"
This reverts commit 722bd5003a.
2023-06-19 09:26:19 +02:00
722bd5003a GHA: Fix podman push error 'obs-server:latest: image not known' 2023-06-19 09:05:11 +02:00
e17a4a3108 GHA: Add 'leap:15.5' container to the test matrix 2023-06-01 13:38:40 +02:00
4264a63ce4 GHA: Use explicit registries 2023-06-01 13:37:27 +02:00
f4e2e50e29 GHA: Disable repo 'repo-openh264' during tests
We don't use it
2023-05-23 15:04:53 +02:00
1e48f01fef GHA: Install deps from extras_require and requirements.txt in the pylint_plugins job 2023-03-20 16:08:27 +01:00
0c0bc39f63 GHA: Add sle-prjmgr-tools to the pylint_plugins job 2023-03-20 14:55:45 +01:00
f16c6806fd GHA: Enable global.break-system-packages option for pip 2023-02-14 14:46:09 +01:00
9fcdec995d GHA: Switch darker to version 1.6.1 2023-01-26 14:53:28 +01:00
7d9017d0b3 GHA: Add a pylint run reporting errors in the code 2023-01-20 16:30:55 +01:00
822725effc GHA: Cancel the currently running jobs on force-pushing a pull-request 2023-01-19 10:54:18 +01:00
0c579a83b4 GHA: Print pylint logs before diffing them 2023-01-19 10:54:01 +01:00
a66d40fe3a behave: Speed running tests up by preparing containers in advance 2023-01-16 10:19:43 +01:00
7e2f4a1fa0 GHA: Trigger tests also when the 'behave' directory changes 2022-12-08 10:08:09 +01:00
3040b1ddac GHA: No longer test on push to master
We're monitoring only the pull-requests, so don't waste resources on this
2022-12-08 10:03:30 +01:00
b00f66b3f6 Move behave tests from Kanku to Podman, run them in GitHub actions 2022-12-07 15:05:15 +01:00
7eeb564b7c GHA: Add a workflow for building a container image with preconfigured OBS 2022-12-07 14:49:27 +01:00
Enno Gotthold
e23e13062f CI: Add code linters
This adds mypy & darker (black) to GitHub Actions. These will fail because
the code lacks type annotations and doesn't follow the latest code style
guidelines yet.
2022-12-05 14:43:53 +01:00
LGTM Migrator
26373fbe37 Add CodeQL workflow for GitHub code scanning 2022-11-09 08:23:14 +00:00
45843d062e GHA: Diff pylint runs on plugins
This should detect API breakages before they land in master
2022-10-26 16:08:20 +02:00
9a64567893 GHA: Install built osc RPM and run it 2022-10-20 09:53:25 +02:00
Dirk Müller
b4e48023c0 fix openSUSE casing and use zypper patch
first update the zypper stack before installing further updates on
stable dists
2022-10-13 10:57:58 +02:00
Dirk Müller
06a313c02a drop 15.2 - it is EOL 2022-10-13 10:50:11 +02:00
94a8bc88a4 GHA: Add pip install test 2022-08-24 10:31:22 +02:00
4a88229a1a Changes in docs no longer trigger GitHub actions 2022-08-22 10:22:00 +02:00
f04035de81 GHA: test if rpmbuild passes 2022-08-12 10:55:48 +02:00
93bc0e4731 Switch http_request() to urllib3
Use connection pools for better performance.
Replace M2Crypto with cryptography and urllib3's ssl context.
2022-07-27 11:15:21 +02:00
c1046650d3 Move test runner from pytest back to standard unittest
One dependency less.
It would also become a problem on CentOS Stream 9 where pytest is not available.
2022-06-24 13:06:01 +02:00