6714 Commits

Author SHA1 Message Date
Stephan Kulow
45c2fb1efa
Merge pull request #2772 from coolo/fix_dual_patch
check_source: Allow a .changes line to mention 2 patches
2022-03-25 11:48:12 +01:00
Stephan Kulow
55c4081ec0 check_source: Allow a .changes line to mention 2 patches 2022-03-25 11:26:53 +01:00
Stephan Kulow
939beac7fe
Merge pull request #2771 from coolo/fix_minversion
Stay with minversion 3.6 (and require module we already use elsewhere)
2022-03-25 10:47:21 +01:00
Stephan Kulow
1f0c9fd151
Merge pull request #2769 from coolo/split_source_checker
Move remains of check_source.pl into python
2022-03-25 09:51:11 +01:00
Stephan Kulow
6f1314730c Stay with minversion 3.6 (and require module we already use elsewhere)
Fixes #2770
2022-03-25 09:43:56 +01:00
Stephan Kulow
ae658fefe2 Move download URL check to check_source.py
And with that, check_source.pl is gone
2022-03-25 09:19:24 +01:00
Stephan Kulow
ed87520710 Ignore patches that are listed as sources
The patch live cycle does not apply to them
2022-03-25 07:39:17 +01:00
Stephan Kulow
c8531891a1 Move the 'patch in changes' check from check_source.pl to .py 2022-03-24 21:20:07 +01:00
Stephan Kulow
e25e4b7cee
Merge pull request #2767 from coolo/split_source_checker
More source checker refactoring
2022-03-24 18:35:19 +01:00
Stephan Kulow
6931c44099 Run source_validator scripts from check_source.py directly 2022-03-24 17:42:52 +01:00
Stephan Kulow
88749aa5b4 Move license check from check_source.pl to .py 2022-03-24 17:42:52 +01:00
Stephan Kulow
b558e2617c Move changes check from check_source.pl to .py 2022-03-24 17:42:52 +01:00
Stephan Kulow
d1ddbc5831 Move spec file checks from check_source.pl to .py 2022-03-24 17:42:52 +01:00
Stephan Kulow
7083c3346b Unskip test for remote services - miniobs got updated 2022-03-24 17:42:52 +01:00
Stephan Kulow
9dc35be954
Merge pull request #2768 from coolo/fix_staging_accept
Fix staging accept approving package list changes
2022-03-24 16:55:41 +01:00
Stephan Kulow
ca27641a46 Fix staging accept approving package list changes
The order is important, look at the comments *before* deleting them
2022-03-24 16:33:15 +01:00
Stephan Kulow
20d1bcbd1b
Merge pull request #2766 from coolo/split_source_checker
Refactoring and tests in check_source
2022-03-24 10:47:53 +01:00
Stephan Kulow
e7c7a4097b Add test for remote services in factory-auto
Can't test it atm, need to have miniobs updated first
2022-03-24 10:31:34 +01:00
Stephan Kulow
0457bad967 dist: Enable the ability to run services in miniobs
I went for recompress and format_spec_file - all other services will
result in broken packages
2022-03-24 10:13:46 +01:00
Stephan Kulow
f77f726419 Add test for setBadness in check_source
As this is a security feature, we better make sure it's not breaking
2022-03-24 09:10:01 +01:00
Stephan Kulow
296b78f9ec Move check for generated files from check_source.pl to .py 2022-03-24 08:48:06 +01:00
Stephan Kulow
23af9a0b72 Move rpmlintrc checking from check_source.pl to .py 2022-03-24 08:39:20 +01:00
Stephan Kulow
3a497700f0 Remove diff preparations from check_source.pl
It's dead since #1073 but weren't removed with the actual diffing
2022-03-24 08:32:08 +01:00
Stephan Kulow
1e2565ce50 Move service check from check_source.pl to .py 2022-03-24 08:25:32 +01:00
Stephan Kulow
f414161a1e Remove unused repo_checker config entries 2022-03-24 08:05:34 +01:00
Stephan Kulow
bd3365863f
Merge pull request #2765 from coolo/remove_security_feature
Remove rpmlint.log parsing feature from factory-auto
2022-03-23 16:41:56 +01:00
Stephan Kulow
2c9f124d01
Merge pull request #2762 from DimStar77/pcheck
Add osc-pcheck: support devel prj maintainers
2022-03-23 16:41:32 +01:00
Stephan Kulow
76308e96aa Remove rpmlint check from check_source
Reverts #2153 and
Fixes #2192
2022-03-23 16:12:09 +01:00
Stephan Kulow
d01f79dc97 Small fixes for staging-installcheck
While I tried to enable rpmlint log parsing I refactored the config
handling. No harm done to leave that
2022-03-23 16:12:05 +01:00
Stephan Kulow
ad923e6f6e
Merge pull request #2761 from coolo/pkglist_parser
Change 000package-groups on staging accept
2022-03-23 11:33:59 +01:00
Stephan Kulow
ce6112be09 Add some documentation for pkglistgen staging workflow
While writing it, I noticed that 'approve' also needs to change the exit
value of the pkglistgen pipeline step - fixed
2022-03-23 09:55:42 +01:00
b91b18c534
Add osc-pcheck: support devel prj maintainers 2022-03-23 09:46:36 +01:00
Stephan Kulow
e78b535271
Merge pull request #2763 from coolo/exit_installcheck
staging-installcheck: Exit 1 for the letter stagings
2022-03-22 15:28:11 +01:00
Stephan Kulow
2d9211743b staging-installcheck: Exit 1 for the letter stagings
e52d4180361d8aab02eb8a2c0bae7d985f11d8d8 removed the exit 1 with adi
checker in mind (where one failed adi is not reason to be red on
dashboard). But for letter stagings we want to stop the pipeline
if installcheck failed (and not calculcate package lists or enable
images repo)
2022-03-22 15:05:35 +01:00
Stephan Kulow
da3b74dba1 accept: Create pkglistgen .changes entry and commit 2022-03-22 13:42:49 +01:00
Stephan Kulow
92fad0708e Prepare applying pkglistgen diffs on staging accept
We will check if there are approved pkglistgen comments and if so, apply
them to the target. For this we need to parse the generated markdown, so
refactor both in a common class.

There diff is applied, but not yet commited in this commit
2022-03-22 09:28:02 +01:00
Stephan Kulow
4833385205
Merge pull request #2760 from DimStar77/cycle-help
osc-cycle: add option list to help output
2022-03-21 17:38:05 +01:00
1a26c02020
osc-cycle: add option list to help output 2022-03-21 14:55:27 +01:00
Stephan Kulow
0b6739ce5c
Merge pull request #2757 from coolo/disable_repo
Disable images repo on accepting stagings
2022-03-21 13:27:51 +01:00
Stephan Kulow
6c63203401 stagings: Report to standard repo if the images are enabled
As OBS staging workflow ignores checks on disabled repositories we
need a way to block the acceptance of standard repo while images
repo isn't enabled to build.
2022-03-19 14:44:06 +01:00
Stephan Kulow
4424623d83
Merge pull request #2759 from coolo/accept_ignore
pkglistgen: pass the test if the comment was replied to with 'ignore'
2022-03-19 14:06:06 +01:00
Stephan Kulow
aa7f647142
Merge pull request #2758 from coolo/annote_yaml
installcheck: Annotate the duplicated binaries yaml
2022-03-19 14:05:12 +01:00
Stephan Kulow
fbbf357169 pkglistgen: pass the test if the comment was replied to with 'ignore'
To allow passing multiple staging projects without force accepting
(https://github.com/openSUSE/openSUSE-release-tools/issues/1833)
2022-03-19 14:03:20 +01:00
Stephan Kulow
42a3b4b993 installcheck: Annotate the duplicated binaries yaml
It looks a little confusing to the untrained eye
2022-03-19 08:58:23 +01:00
dbfe014f0e Staging accept: build-disable the images repository
With the current pipelines, we enable build of the images repository
once everything in /standard is build-succeeded and repo-checker passed.

Let's go the last mile and disable images when we check in the staging.

This should save some OBS build power (not building ISO images before the
stagings are actually ready) and also some openQA (not testing ISO images
before stagings settle)

I can foresee that sometimes an RM would still want to have preliminary
testing done - in which case the images repo can be manually build enabled
(or the pipeline be triggered to go beyond repo-checker, as it likely also
needs a recalculation of the content)
2022-03-19 08:33:54 +01:00
Stephan Kulow
0f0a5ab6c4
Merge pull request #2756 from dirkmueller/master
remove rebuild trigger for openSUSE:Step:*Update
2022-03-19 07:33:59 +01:00
Dirk Müller
5380bfce7d
remove rebuild trigger for openSUSE:Step:*Update
The updates are merged in the main repository already, no need
to trigger them separately
2022-03-18 15:18:16 +01:00
Stephan Kulow
33072b3023
Merge pull request #2755 from coolo/change_reference
gocd: Don't evaluate a repo as succeeded if all are disabled
2022-03-18 08:03:09 +01:00
Stephan Kulow
e6d0b75a9d gocd: Don't evaluate a repo as succeeded if all are disabled
This avoids pkglistgen running on empty stagings
2022-03-18 08:01:28 +01:00
Stephan Kulow
76c89fd31a
Merge pull request #2754 from coolo/comment_pkglist
pkglistgen: Fix packages disapparing in comments
2022-03-17 14:02:28 +01:00