Stephan Kulow
807b0f93a4
Merge pull request #2743 from coolo/fix_2463
...
tests: Make use of fixtures to be able to test different workflows
2022-03-08 14:06:13 +01:00
Stephan Kulow
856c9d3c9a
tests: Make use of fixtures to be able to test different workflows
...
Check_source supports multiple different target projects only
different by their remote config. So put this config into a fixture,
so we can mark every test with what config it should run
2022-03-08 12:08:12 +01:00
Stephan Kulow
0e859719b2
Merge pull request #2742 from coolo/split_tests
...
CI: Split the tests in multiple runs
2022-03-07 19:53:21 +01:00
Stephan Kulow
c412dada22
CI: Split the tests in multiple runs
...
A test run of 40 minutes is just too much to wait for. So tag the long
running jobs to run in a special run
2022-03-07 18:48:43 +01:00
Stephan Kulow
7fa0e0de0d
Merge pull request #2741 from coolo/report_all
...
installcheck: Report all delete requests
2022-03-07 17:47:13 +01:00
Stephan Kulow
50b264c71f
Merge pull request #2740 from nilxam/leap_micro_gocd_1
...
leapmicro: add leapmicro to pipeline
2022-03-07 17:46:33 +01:00
50c139da5a
leapmicro: add leapmicro to pipeline
2022-03-08 00:30:57 +08:00
Stephan Kulow
34d289d87f
installcheck: Report all delete requests
...
It's just very annoying otherwise
2022-03-07 15:23:14 +01:00
Stephan Kulow
a7a1aa83dc
Merge pull request #2738 from coolo/add_test_docu
...
Refresh the documentation on how to add tests
2022-03-07 14:28:53 +01:00
Stephan Kulow
93f8244af5
Merge pull request #2739 from coolo/fix_ring1_filter
...
Rename the pkglistgen config for ring1 as well
2022-03-07 11:21:28 +01:00
Stephan Kulow
fe847b43d5
Rename the pkglistgen config for ring1 as well
...
It's a little suprising fallout from 1870e989a4d7a1f846dc06895402dc1395b34c11,
but we don't have package lists in "rings" anymore, but only in one
ring.
2022-03-07 11:17:11 +01:00
Stephan Kulow
ff3d186368
Add some basic instructions on how our tests are written
...
Just as a teaser to go looking. History has shown, whenever you want to
test something new, you have to also adapt the test libraries.
And a lot of things were documented by Ancor and Imo and others before,
so I claim, this ...
Fixes #1987
2022-03-07 10:49:38 +01:00
Stephan Kulow
29620616ac
docs: Remove testing.asciidoc - it's severely outdated
2022-03-07 10:17:28 +01:00
Stephan Kulow
b5436de667
Merge pull request #2737 from coolo/force_release
...
gocd: Create release packages as early as possible
2022-03-06 11:10:03 +01:00
Stephan Kulow
762f129b4d
gocd: Create release packages as early as possible
...
There is no reason to wait for the rest to build to generate release
packages, they don't depend on other packages
2022-03-06 09:28:25 +01:00
Stephan Kulow
b93adbd9c1
pkglistgen: Fix exit values - True is actually bad
2022-03-05 15:58:20 +01:00
Stephan Kulow
040e91a193
gocd: Fix subprocess.run usage
2022-03-05 15:28:05 +01:00
Stephan Kulow
b51fd11be1
Merge pull request #2734 from coolo/fix_1009
...
Installcheck: Ignore requires to packages with delete requests
2022-03-05 15:21:03 +01:00
Stephan Kulow
ac763b3124
Merge pull request #2735 from coolo/more_exit_0
...
pkglistgen: Only solve one project at a time
2022-03-05 15:20:44 +01:00
Stephan Kulow
22d3332e74
Merge pull request #2736 from coolo/safer_obsrsync
...
gocd: Fix rare failure to push to notifications repo
2022-03-05 15:20:31 +01:00
Stephan Kulow
30aeceb376
gocd: Fix rare failure to push to notifications repo
...
These failures are healed automatically, so it's purely to avoid
extra mails for breaking pipelines
2022-03-05 08:35:27 +01:00
Stephan Kulow
1870e989a4
pkglistgen: Only solve one project at a time
...
As we deprecated 'all' we can just as well rely on only one project
given (which is also what we do in gocd) to ease error reporting.
The old method of running all projects in a loop stemed from the
old pkglistgen not having a scheduler so we relied on serial execution.
2022-03-05 08:21:19 +01:00
Stephan Kulow
d92dabbbbb
Installcheck: Ignore requires to packages with delete requests
...
Fixes #1009
2022-03-04 16:10:14 +01:00
Stephan Kulow
1479a62852
Merge pull request #2733 from coolo/less_exit_1
...
pkglistgen: Don't exit 1 if we skip weakremovers due to restarted builds
2022-03-04 14:18:20 +01:00
Stephan Kulow
e3f0a13b96
pkglistgen: Don't exit 1 if we skip weakremovers due to restarted builds
...
Since 30daff5613803667be7422056431116e84c07d59 we check if the repos are
still what we expected them to be when we started and stop calculating
weakremovers.inc if the build didn't stay still for the full runtime of
the pkglistgen. But the exception makes it impossible to spot real
failures - so make this a regular exit
2022-03-04 13:40:29 +01:00
Stephan Kulow
a0d68e4b18
Merge pull request #2732 from coolo/less_exit_1
...
staging-installcheck: Don't exit 1 if there is a problem found
2022-03-04 12:51:19 +01:00
Stephan Kulow
e52d418036
staging-installcheck: Don't exit 1 if there is a problem found
...
The installcheck did it's job, so exit 1 is just a wrong red flag on the
botmaster dashboard
2022-03-04 12:44:30 +01:00
Stephan Kulow
93564783fe
pkglistgen: Fix invalid import
2022-03-04 12:32:48 +01:00
Stephan Kulow
57322b2382
Merge pull request #2731 from coolo/fix_1611
...
pkglistgen: Deprecate scope 'all'
2022-03-04 12:10:54 +01:00
Stephan Kulow
ebe2c52823
Merge pull request #2729 from coolo/fix_2655
...
Make frozenage less reliant on changing _frozenlinks
2022-03-04 12:03:30 +01:00
Stephan Kulow
986ad21b86
Merge pull request #2730 from coolo/fix_2506
...
docs: Add note that the origin manager is unmaintained
2022-03-04 11:32:49 +01:00
Stephan Kulow
313908293f
pkglistgen: Deprecate scope 'all'
...
Within gocd we run each job on its own worker and don't rely on builtin
loop. So no need to care for a remote config
2022-03-04 11:27:12 +01:00
Stephan Kulow
a1f7a16e6f
tests: Fix api_tests to mock attribute not mtime
2022-03-04 11:11:42 +01:00
Stephan Kulow
2bcf304d26
docs: Add note that the origin manager is unmaintained
...
I decided not to reduce it's code because no one knows what the future
will bring exactly (and only then we should decide), but I'll close the
tickets mostly.
2022-03-04 10:45:54 +01:00
Stephan Kulow
00af16cc80
tests: Create OSRT:FreezeTime for all tests
2022-03-04 09:48:06 +01:00
Stephan Kulow
5c377d64d3
osclib: Add an helpful error on failed attribute save
...
It's stil throwing the exception but with some luck the user sees the
error and acts.
2022-03-04 09:48:06 +01:00
Stephan Kulow
66b778144f
Make frozenage less reliant on changing _frozenlinks
...
The mtime of a file in OBS is the time this content was created for the
first time. As such if the target project isn't moving for a week,
staging select will keep asking you to freeze - even if you just froze.
So instead of relying on OBS to tell the true mtime, set an attribute
in the staging project and read from it. This also gives a way to check
in the webui for the last freeze time
Fixes #2462
2022-03-03 18:11:50 +01:00
Stephan Kulow
003f010579
Merge pull request #2728 from coolo/fix_2655
...
Treat all group*.yml like groups.yml
2022-03-03 18:03:46 +01:00
Stephan Kulow
7a63f0c3bd
Treat all group*.yml like groups.yml
...
Fixes #2655
2022-03-03 16:26:03 +01:00
Stephan Kulow
39bbc90c22
Merge pull request #2721 from coolo/origin_updater
...
More origin manager cleanup
2022-03-03 08:12:19 +01:00
Stephan Kulow
c3ccfddaf0
Merge pull request #2726 from coolo/require_zstd
...
package: pkglistgen requires zstd
2022-03-03 08:12:06 +01:00
8ad4917770
Merge pull request #2727 from nilxam/respin_prior_to_update
...
skippkg-finder: use SLE update prior to GA for Respin
2022-03-03 01:14:52 +08:00
68873a50b4
skippkg-finder: use SLE update prior to GA for Respin
...
Since update project has different set up than GA project, it
should check content from update project prior to GA when run this
script for Leap Respin.
2022-03-03 00:29:48 +08:00
Stephan Kulow
e6adbc2aa1
package: pkglistgen requires zstd
2022-03-02 14:47:20 +01:00
Stephan Kulow
3654dc9144
Merge pull request #2724 from coolo/fix_opqa
...
Fix XML usage in openqa bot
2022-03-02 14:39:00 +01:00
Stephan Kulow
0abd54a8c1
Fix XML usage in openqa bot
2022-03-02 13:02:15 +01:00
Stephan Kulow
65cf38f740
Merge pull request #2722 from coolo/fix_1924
...
freeze: Copy weakremovers.inc from target project to avoid bitrot
2022-02-25 16:29:21 +01:00
Stephan Kulow
bc5a437bb7
freeze: Copy weakremovers.inc from target project to avoid bitrot
...
Fixes #1924
2022-02-25 14:10:59 +01:00
Stephan Kulow
970e958ea8
Merge pull request #2720 from coolo/fix_2693
...
pkglistgen: Also support zstd for weakremovers.inc
2022-02-25 11:19:10 +01:00
Stephan Kulow
95db8a0091
More origin manager cleanup
...
As we don't do automatic origin updates in no project, remove the
update monitors. Those have been paused on botmaster for half a year
and just no project relies on them any longer
2022-02-25 10:10:09 +01:00