Commit Graph

2925 Commits

Author SHA1 Message Date
Joe Talbott
10e1a9afd0 Remove conf/cacert.pem
Fixes: https://pagure.io/fm-orchestrator/issue/1631
2021-07-29 16:29:23 -04:00
Mike McLean
b0de17f7e8 PR#1720: Remove conf/__init__.py
Merges #1720
https://pagure.io/fm-orchestrator/pull-request/1720

Fixes: #1630
https://pagure.io/fm-orchestrator/issue/1630
delete conf/__init__.py
2021-07-29 16:26:30 -04:00
Joe Talbott
531bdb519b Remove conf/__init__.py
Fixes: https://pagure.io/fm-orchestrator/issue/1630
2021-07-29 16:26:24 -04:00
Mike McLean
ff32aaef47 PR#1717: Fail if requested side tag is not available for any base modules.
Merges #1717
https://pagure.io/fm-orchestrator/pull-request/1717
2021-07-29 16:21:59 -04:00
Joe Talbott
933c4fd8dd Update error message. 2021-07-29 16:21:55 -04:00
Joe Talbott
6b42102cc6 Fail if requested side tag is not available for any base modules. 2021-07-29 16:21:55 -04:00
Mike McLean
e5d0b39664 PR#1708: Exclude specific platform streams from stream expansion
Merges #1708
https://pagure.io/fm-orchestrator/pull-request/1708

Fixes: #1639
https://pagure.io/fm-orchestrator/issue/1639
[RFE] Exclude certain platform stream(s) from [ ] expansion
2021-07-29 15:15:08 -04:00
Brendan Reilly
669318f1fd Exclude specific platform streams from stream expansion
Fixes: #1639
2021-07-29 15:15:03 -04:00
Mike McLean
14ce0c41c6 PR#1725: Allow overriding RPM components refs while submitting the module build.
Merges #1725
https://pagure.io/fm-orchestrator/pull-request/1725
2021-07-28 10:07:41 -04:00
Jan Kaluza
bfd9a13205 Allow overriding RPM components refs while submitting the module build.
There is a need to rebuild the module builds done in CentOS 9 Stream
internally in MBS to include them in RHEL. This is currenly a hard task,
because the RPM components included in a module are usually
taken from HEAD of the branch defined by their `ref` value.

For the rebuild task, it means we would have to ensure that the HEAD
of all RPM components points to right commit hash right before we start
rebuilding CentOS 9 Stream module in internal MBS. This is very hard
and fragile thing to do, especially if there are two different modules
using the RPM component from the same branch. This is prone to race
condition and makes the rebuilds quite complex and in some cases
not possible to do without force pushes to RPM component repositories
which is not acceptable by internal dist-git policy.

This commit fixes it by allowing overriding the commit hash while
submitting the module build. This helps in the mentioned situation,
because we can keep internal RPM components branches in 1:1 sync with
CentOS 9 Stream branches and HEAD can always point to the same commit
in both internal and CentOS 9 Stream repositories.

When the module rebuild is submitted in internal MBS,
we can use this new feature to override the `ref` for each RPM component
so it points to particular commit and the requirement for HEAD to point
to this commit is no longer there.

The `ref` is overriden only internally in MBS (but it is recorded in logs
and in XMD section), so the input modulemd file is not altered. This is
the same logic as used for other overrides (`buildrequire_overrides` or
`side_tag`).

This does not bring any security problem, because it is already possible
to use commit hash in `ref`, so the package maintainer can already change
the commit hash to any particular commit by using this `ref` value.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2021-07-28 08:48:12 +02:00
Mike McLean
31412a464f PR#1718: also nudge reused components after 10 minutes
Merges #1718
https://pagure.io/fm-orchestrator/pull-request/1718

Fixes: #1621
https://pagure.io/fm-orchestrator/issue/1621
unable to recover from failed tag operation
2021-07-19 14:23:51 -04:00
Mike McLean
a1494e66aa also nudge reused components after 10 minutes 2021-07-07 18:22:24 -04:00
Mike McLean
d944666fe1 PR#1715: List missing streams in exception message.
Merges #1715
https://pagure.io/fm-orchestrator/pull-request/1715

Fixes: #1574
https://pagure.io/fm-orchestrator/issue/1574
Error message improvement
2021-06-25 15:49:12 -04:00
Joe Talbott
1957d7db86 resolve: Fix docstring. 2021-06-25 15:49:09 -04:00
Joe Talbott
f1a3025a9a resolve: Update docstring with added return field. 2021-06-25 15:49:09 -04:00
Joe Talbott
b3203caf76 List missing streams in exception message.
Fixes: https://pagure.io/fm-orchestrator/issue/1574
2021-06-25 15:49:09 -04:00
Mike McLean
d1f2b85dea PR#1709: Fixed scratch build suffix bug
Merges #1709
https://pagure.io/fm-orchestrator/pull-request/1709
2021-06-16 12:06:19 -04:00
Martin Curlej
71a44bdfb6 Fixed scratch build suffix bug
When building a scratch build of a module with static context
the scratch suffix was added twice.

Signed-off-by: Martin Curlej <mcurlej@redhat.com>
2021-06-16 12:06:14 -04:00
Mike McLean
5cdb2127fe PR#1711: Enforce sane module state transitions
Merges #1711
https://pagure.io/fm-orchestrator/pull-request/1711
2021-06-15 15:05:10 -04:00
Mike McLean
af97a23bca additional unit tests for strict_module_state_transitions 2021-06-15 15:05:06 -04:00
Mike McLean
fcd662468f fix unit tests 2021-06-15 15:05:06 -04:00
Mike McLean
7b56c6429e strict_module_state_transitions config option
Fixes: https://pagure.io/fm-orchestrator/issue/1678
2021-06-15 15:05:06 -04:00
Mike McLean
7522cc1fb2 PR#1710: Fix docs rendering
Merges #1710
https://pagure.io/fm-orchestrator/pull-request/1710

Fixes: #1669
https://pagure.io/fm-orchestrator/issue/1669
render README in Pagure
2021-06-10 14:02:24 -04:00
Mike McLean
9a0e8e3db4 fix emphasis 2021-06-08 13:04:31 -04:00
Mike McLean
ae4132ce30 fix literal blocks 2021-06-08 13:04:24 -04:00
Mike McLean
e61cbcc8f8 fix ref 2021-06-08 12:29:19 -04:00
Mike McLean
a92321b9c6 PR#1704: Added link to docs folder in README
Merges #1704
https://pagure.io/fm-orchestrator/pull-request/1704

Fixes: #1628
https://pagure.io/fm-orchestrator/issue/1628
link to documentation from README
2021-05-25 14:36:45 -04:00
Brendan Reilly
9f31bf0741 Added link to docs folder in README 2021-05-25 14:36:40 -04:00
Mike McLean
0e067b521e PR#1707: Fix README rendering
Merges #1707
https://pagure.io/fm-orchestrator/pull-request/1707
2021-05-25 14:13:25 -04:00
Mike McLean
95a6ff9efe remove problematic license link 2021-05-19 15:18:51 -04:00
Mike McLean
9c738500e3 drop internal section links 2021-05-19 15:18:51 -04:00
Mike McLean
086ce8d4f0 remove duplicate substitution 2021-05-19 15:18:34 -04:00
Mike McLean
de8e64dd04 PR#1705: Add a short doc on module naming
Merges #1705
https://pagure.io/fm-orchestrator/pull-request/1705
2021-05-19 10:01:22 -04:00
Mike McLean
4a3d13e739 Add a short doc on module naming 2021-05-18 14:39:36 -04:00
Mike McLean
f1b9a4a241 PR#1701: Fixes for allow_dashes_in_svc enforcement
Merges #1701
https://pagure.io/fm-orchestrator/pull-request/1701
2021-05-13 15:25:44 -04:00
Mike McLean
a8adfd4f74 defer commit of module entry until we set the context and validate 2021-05-13 11:36:53 -04:00
Mike McLean
872320a230 use scm_stream instead of scm.branch 2021-05-13 11:05:35 -04:00
Mike McLean
4e7b7ab94e PR#1700: Block dashes in stream/version/context by default
Merges #1700
https://pagure.io/fm-orchestrator/pull-request/1700
2021-05-11 15:21:26 -04:00
Mike McLean
d6185e806e new unit test 2021-05-06 13:43:30 -04:00
Mike McLean
53000c0783 fix unit test 2021-05-06 12:05:07 -04:00
Mike McLean
76e30dd8ad enforce allow_dashes_in_svc at module creation 2021-05-06 12:05:07 -04:00
Mike McLean
1f37c646f7 add allow_dashes_in_svc config option 2021-05-06 12:05:07 -04:00
Mike McLean
f14910282f PR#1699: allow setting multiple schedule task names for product pages
Merges #1699
https://pagure.io/fm-orchestrator/pull-request/1699
2021-04-23 11:52:08 -04:00
Mike McLean
42f5f82a89 allow setting multiple schedule task names for product pages
this adds a new setting, product_pages_schedule_task_names, which
is the list version of product_pages_schedule_task_name.
2021-04-22 15:52:19 -04:00
Mike McLean
7084556ab0 PR#1698: fix flake8 issues
Merges #1698
https://pagure.io/fm-orchestrator/pull-request/1698

Fixes: #1687
https://pagure.io/fm-orchestrator/issue/1687
flake8 failures on master
2021-04-21 16:38:34 -04:00
Mike McLean
22ffe54b63 more flake8 fixes: integration tests 2021-04-21 16:31:48 -04:00
Mike McLean
8ba7bdd6d8 update ci spec file url
https://fedoraproject.org/wiki/Changes/GitRepos-master-to-main
2021-04-21 16:23:08 -04:00
Mike McLean
865296b8c7 fix flake8 issues 2021-04-21 14:41:23 -04:00
Brendan Reilly
023602578d Release 3.6.1 3.6.1 2021-04-20 11:06:24 -04:00
Mike McLean
9610435cc2 PR#1696: sync_koji_build_tags: consider previous batches
Merges #1696
https://pagure.io/fm-orchestrator/pull-request/1696
2021-04-14 07:10:02 -04:00