Brendan Reilly
595bfb00d5
Release 3.6.0
3.6.0
2021-03-10 15:14:11 -05:00
Mike McLean
3f91b21a91
Merge #1686 Fix mmd.copy calls to support PackagerV3
2021-03-10 20:09:31 +00:00
Brendan Reilly
d0579a16c1
Fix mmd.copy calls to support PackagerV3
...
Fixes #1685
2021-03-10 15:00:42 -05:00
Mike McLean
8f0e35abe4
Merge #1682 support side tags in mbs
2021-03-10 18:00:34 +00:00
Mike McLean
1c20d1f818
fix comment, and warn if base module lacks side tag configuration
2021-03-10 12:55:09 -05:00
Mike McLean
6a64a5933f
docs updates
2021-03-10 12:55:09 -05:00
Mike McLean
8b15bcaf94
unit tests
2021-03-10 12:55:04 -05:00
Mike McLean
2115d54030
note side tag in xmd if option is passed
2021-03-10 12:53:44 -05:00
Mike McLean
f9f057e92c
handle side tag config in get_module_build_dependencies
2021-03-10 12:53:44 -05:00
Brendan Reilly
20343e63bb
Release 3.5.0
3.5.0
2021-03-03 09:42:14 -05:00
Brendan Reilly
2f2ca4ff29
Merge #1667 Added the support for the new libmodulemd v3 packager format.
2021-03-03 14:26:56 +00:00
Martin Curlej
7976b1f084
Added the support for the new libmodulemd v3 packager format.
...
This will enable building modules from the new libmodulemd v3 format.
This format fixes major issue with modularity which enables clear
upgrade paths for multicontext modules.
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2021-03-03 13:01:50 +01:00
Mike McLean
a2bd848aea
PR#1677: Fix devel module dependencies
...
Merges #1677
https://pagure.io/fm-orchestrator/pull-request/1677
Fixes #1676
Fix devel module dependencies
https://pagure.io/fm-orchestrator/issue/1676
2021-02-19 12:47:05 -05:00
Mike McLean
0b653b73a0
check that our test data has deps
...
This unit test previously failed to detect a bug because the test data
had no deps.
2021-02-08 19:59:15 -05:00
Mike McLean
b9ca83f8b3
update unit test data
2021-02-08 19:59:15 -05:00
Mike McLean
df5733d05d
devel modules require non-devel, not themselves
...
Fixes https://pagure.io/fm-orchestrator/issue/1676
2021-02-08 19:59:02 -05:00
Mike McLean
dfd44e0b09
add dependencies to nginx test mmd
2021-02-08 16:24:09 -05:00
Martin Curlej
013388cc62
Changed the docker fedora tag to latest.
...
It was set to fedora:31 which does not receives any updates now.
This will enable testing of new versions of libraries as libmodulemd
for example.
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2021-01-06 14:56:50 +01:00
jobrauer
d3656b159b
test_reuse_components_if_added: keep order in rpms, set -> list
2020-12-04 13:08:55 +01:00
jobrauer
bd4372315f
Make koji and MBS client fixtures function scoped
2020-12-04 13:08:55 +01:00
jobrauer
d264ea3337
Test utils - bump up the build wait-timeout to 10 hours
2020-12-04 13:08:55 +01:00
jobrauer
f9b6002797
Test utils - add retry mechanism for MBS queries
2020-12-04 13:08:55 +01:00
jobrauer
de46aa9373
Test utils - in case of scratch build, don't wait for 'ready' state
2020-12-04 13:08:55 +01:00
jobrauer
adf56083fc
test_reuse_components_if_added: assert test branch modulemd
2020-12-04 13:08:55 +01:00
jobrauer
3a9480de93
Extend MBS waiting times to prevent timeouts on stage.
2020-12-04 13:08:55 +01:00
Mike McLean
fae378b743
PR#1664: Handle Product Pages 404s gracefully
...
Merges #1664
https://pagure.io/fm-orchestrator/pull-request/1664
Fixes : #1663
https://pagure.io/fm-orchestrator/issue/1663
Product Pages check fails build on 404
2020-12-03 10:15:23 -05:00
Brendan Reilly
a5ea3033ba
Handle Product Pages 404s gracefully
...
Fixes : #1663
2020-12-01 12:16:51 -05:00
Brendan Reilly
2357ab4431
Release 3.4.1
3.4.1
2020-11-30 12:13:02 -05:00
Mike McLean
88636138b0
PR#1659: Do not add conflicts when builds are identical
...
Merges #1659
https://pagure.io/fm-orchestrator/pull-request/1659
Fixes : #1660
https://pagure.io/fm-orchestrator/issue/1660
2020-11-12 09:45:21 -05:00
Brendan Reilly
ed86a2ca72
Do not add conflicts when builds are identical
...
Fixes : #1660
2020-11-11 16:03:52 -05:00
Mike McLean
36ca6c6432
PR#1655: Added documentation for static contexts
...
Merges #1655
https://pagure.io/fm-orchestrator/pull-request/1655
2020-10-14 10:50:34 -04:00
Martin Curlej
f53f240b49
Added documentation for static contexts
...
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2020-10-14 09:17:06 +02:00
Mike McLean
29c49dc338
PR#1616: Add test_submit_module_build
...
Merges #1616
https://pagure.io/fm-orchestrator/pull-request/1616
2020-09-24 10:51:25 -04:00
jobrauer
6385d465d7
Add test_submit_module_build
2020-09-21 12:51:36 +02:00
jobrauer
e9df47d80c
Add test_static_context
2020-09-10 13:27:21 +00:00
Brendan Reilly
107fe1cc9e
Merge #1650 Add test_memory
2020-09-10 13:24:05 +00:00
Brendan Reilly
1cdb6e0dc6
Release 3.4.0
3.4.0
2020-09-08 11:26:14 -04:00
Martin Curlej
c139e4cb60
Added the ability to build modules with static contexts
...
This is a fix and feature in one. This patch enables to use static
contexts instead of module stream expansion. This fixes the issue with
upgrade path issue in dnf.
Signed-off-by: Martin Curlej <mcurlej@redhat.com >
2020-09-03 09:22:08 +02:00
jobrauer
6400b64741
Add test_memory
...
- Add a script that runs test MBS instance.
- Add memory tracking test-case.
- New tox environment: run with 'tox -e memory'.
2020-08-18 14:48:49 +02:00
jobrauer
87c83ad0b8
Add test 'reuse components if added'
2020-08-07 15:47:39 +02:00
Brendan Reilly
85a61ac07e
Release 3.3.0
3.3.0
2020-07-28 11:22:34 -04:00
Mike McLean
009344578a
PR#1649: Only get latest build of latest stream when determining requirements
...
Merges #1649
https://pagure.io/fm-orchestrator/pull-request/1649
2020-07-28 10:36:40 -04:00
Brendan Reilly
5c13368f77
Only get latest build of latest stream when determining requirements
2020-07-24 11:43:07 -04:00
jobrauer
face187260
RHELBLD-265: Refactor reuse_component_init_data
...
Replace db_session.commit() calls with flush in reuse_component_init_data as well as init_data functions.
2020-07-23 14:06:59 +00:00
jobrauer
8adf1dbedf
JIRA: RHELBLD-264 - do cleanup/init once per class
...
Make test_mock.py and test_content_generator.py use class scoped fixture.
2020-07-14 11:35:19 +00:00
jobrauer
736d202d35
RHELBLD-264: refactor init_data()
...
Add variant of get_rpm_release(), with no db access.
Reduce number of db_session.commit() calls to just one at the end.
2020-07-14 11:26:58 +00:00
jobrauer
2c9984c803
Add test_scratch_final_mmd
2020-07-13 13:29:34 +00:00
jobrauer
8a5bf3a579
Move ComponentBuildTrace creation from before_commit to before_flush
...
Since ComponentBuildTrace(s) get created with db_session.commit() call,
is is not possible to commit more items in bulk if they already have been flushed.
Current unit-tests' setup can be significantly sped up if items can be quickly
flushed on the fly and bulk-commited only once at the end. Moreover in general it
seems more appropriate/safer to handle this in before_flush as any implicit
or accidental flush could cause new build traces not to be created at all. As flush
is implicitly called before every commit anyway, this change shouldn't pose any harm.
2020-07-13 05:55:45 +00:00
Matt Prahl
34aa4d42c8
Merge #1625 Fix typo in README file that befouls formatting of the option list
2020-07-06 12:51:39 +00:00
jobrauer
d6c42882aa
JIRA: RHELBLD-266 - Split TestViews
...
- split logically TestViews into separate test classes
- create class scope variants of common fixtures
- use class scope fixtures where applicable (TestViews)
- remove redundant fixture 'model_tests_init_data'
2020-06-30 08:28:45 +00:00