Commit Graph

2814 Commits

Author SHA1 Message Date
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
jobrauer
4b52b853c5 Mock Greenwave query_policies() 2020-06-29 07:41:46 +00:00
Brendan Reilly
7947708bee Release 3.2.1 3.2.1 2020-06-24 11:33:44 -04:00
Mike McLean
64c4d46676 PR#1642: Do not login when getting final mmds
Merges #1642
https://pagure.io/fm-orchestrator/pull-request/1642
2020-06-23 15:24:57 -04:00
Brendan Reilly
169e5aa3b5 Do not login when getting final mmds 2020-06-23 14:09:52 -04:00
Brendan Reilly
90f406d53e Release 3.2.0 3.2.0 2020-06-23 11:53:50 -04:00
Mike McLean
31fd668376 PR#1637: Add API call to get final modulemds of builds
Merges #1637
https://pagure.io/fm-orchestrator/pull-request/1637

Fixes: #1615
https://pagure.io/fm-orchestrator/issue/1615
2020-06-23 11:26:54 -04:00
Brendan Reilly
db70560d2d Add API call to get final modulemds of builds 2020-06-22 11:31:05 -04:00
Michal Kovarik
5b770dfbf5 C3I: switch koji auth from ssl to kerberos
New pipeline-as-a-service Koji is going to use Kerberos instead SSL.
Added dist-git to services since new koji worker in
pipeline-as-a-service is integrated with dist-git.
Changing package_manager from dnf to yum which is configured in koji
from pipeline-as-a-service.
2020-06-17 08:26:33 +02:00
Brendan Reilly
98cc909ab8 Merge #1626 Refactor clean_database 2020-06-09 12:34:41 +00:00
jobrauer
c584d84b76 JIRA: RHELBLD-257,RHELBLD-310 - refactor clean_database
Replace clean_database calls with cheaper truncate operation.
Remove duplicate calls of clean_database.
Extract clean_database/init_data into fixtures.
2020-05-15 16:06:42 +02:00
Mike McLean
192fb755f9 PR#1587: Add test_highest_version_selection.py
Merges #1587
https://pagure.io/fm-orchestrator/pull-request/1587
2020-05-13 08:55:49 -04:00
Martin Filip
6ae9e1aeff Add test_highest_version_selection.py, example.test.env.yaml and expand utils.py 2020-05-13 08:52:46 -04:00
Merlin Mathesius
790b08ddaa Fix typo in README file that befouls formatting of the option list
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2020-05-12 16:25:32 -05:00
jobrauer
5bdae7a356 Add test.env example 2020-05-11 15:50:53 +02:00
jobrauer
110a17a57f Add 'test_rest_module_build' 2020-05-06 14:14:37 +02:00
jobrauer
53351670e3 Add test_buildonly 2020-05-05 15:37:11 +02:00
Michal Kovarik
c80a361717 C3I role integration with MBS3
Use unified role for C3I workflows - https://pagure.io/c3i-library/blob/master/f/roles/c3i
2020-04-30 07:18:34 +00:00
Brendan Reilly
4195f06ec9 Merge #1613 Add test_import_module 2020-04-29 18:30:08 +00:00
Brendan Reilly
9f5a053c4f Release 3.1.0 3.1.0 2020-04-27 13:39:25 -04:00
jobrauer
98ed3abc72 Add test_import_module 2020-04-24 13:43:33 +02:00
Mike McLean
f34e68d314 temporarily disable test_submit_build_buildonly
This is a workaround for https://pagure.io/fm-orchestrator/issue/1598
We should re-enable this test in the future.
See: https://pagure.io/fm-orchestrator/issue/1617
2020-04-16 11:19:25 -04:00
Mike McLean
058fd9579f Merge #1594 Add test_reuse_tagged_module 2020-04-09 13:50:07 +00:00
Brendan Reilly
e68f5c4c26 Use repo id instead of latest symlink
Fixes https://pagure.io/fm-orchestrator/issue/1581
2020-04-02 12:12:13 -04:00
Brendan Reilly
25cdfbbd22 Add the ability to limit arches 2020-04-01 17:02:51 +00:00
jobrauer
47c782b13e Remove type hint 2020-03-27 10:52:34 +01:00
jobrauer
b9dee9d454 Add test_reuse_tagged_module 2020-03-27 10:44:56 +01:00
Mike McLean
6bb4e06c21 Merge #1589 Add test_buildrequire_module_not_in_tag 2020-03-24 17:48:19 +00:00
mprahl
244f29f25f Make record_module_build_arches idempotent
This function could get called multiple times if the init handler
runs more than once. This can happen if the build failed in the
init handler due to external infrastructure being down and the
user resumes their build.
2020-03-23 20:22:57 +00:00
mprahl
fee1dff8d0 Honor the MBS_CONFIG_SECTION environment variable when performing a local build 2020-03-17 17:08:27 -04:00
mprahl
f6dd4cbaa7 Remove an outdated comment in Dockerfile-tests 2020-03-16 09:19:51 -04:00
mprahl
c073061025 Fix the source_dir path in run-unittests.sh 2020-03-16 09:19:40 -04:00
Matt Prahl
53ed214195 Merge #1604 Remove obsolete testing scripts 2020-03-16 12:46:56 +00:00
mprahl
7045b21716 Move run-unittests.sh to the project root 2020-03-12 09:30:15 -04:00
mprahl
4bf1bd862e Remove obsolete testing scripts 2020-03-12 09:28:16 -04:00
mprahl
9bcfa7a3cc Remove libmodulemd1 as a dependency in the Python 2 test image 2020-03-11 11:52:25 -04:00
mprahl
dc36ac1277 Stop upgrading the Flask packages in the CentOS Python 2 tests container image
This will ensure that the code works with the version of Flask in
RHEL 7.
2020-03-11 11:52:25 -04:00
Merlin Mathesius
da51bebcd9 New 'module_stream' optional parameter
- Implement new optional parameter module_stream to allow a scratch module
  build's stream name to be set from the command line when also submitting a
  YAML modulemd file.
- Validate that module_name and module_stream parameters can only be specified
  along with a YAML modulemd file.
- Add tests to verify that module_stream sets the stream name correctly.
- Add tests to verify that module_name and module_stream are only allowed along
  with a YAML modulemd file.

Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2020-03-10 14:08:29 +00:00
Merlin Mathesius
de2a776226 Skip git ref checks for rpm components with srpm overrides
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2020-03-10 14:02:11 +00:00
Merlin Mathesius
ab90c7b710 Clean up unused test code to avoid confusion
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2020-03-10 14:02:11 +00:00
mprahl
691d865a7e Install zipp in the CentOS test image to prevent a tox exception 2020-03-09 16:20:47 -04:00
mprahl
7547680731 Pull the Postgres image in parallel with the other images during CI 2020-03-09 13:13:32 -04:00
jobrauer
5d8a54db23 Add test.env example 2020-03-09 08:57:38 +01:00
mprahl
9bd1e201ca Update the change log v3.0.0 2020-03-06 14:07:37 -05:00
Mike McLean
6c9f61e465 Merge #1577 Check schedule date when adding new streams 2020-03-06 16:56:17 +00:00
Brendan Reilly
2f75b5e711 extend unittest 2020-03-05 16:28:42 -05:00
Brendan Reilly
88597a7c92 Check schedule date when adding new streams 2020-03-05 16:28:42 -05:00
mprahl
ecc3222387 Fix a flaky test 2020-03-04 16:58:03 -05:00
mprahl
57d02ac3ba Make the code that ignores messages consistent 2020-03-04 16:11:25 -05:00