mprahl
15a7e322a6
Fallback to the old Koji tag format for the target when the tag name is too long
2018-05-08 09:11:22 -04:00
Jan Kaluza
c1c95fc963
Allow defining list of packages which are blocked in the -build tag until they are built in a module.
2018-04-13 12:57:27 +02:00
Jan Kaluza
5d91c97386
Allow defining list of packages which are blocked in the -build tag until they are built in a module.
2018-04-12 09:45:57 +02:00
mprahl
eb0b2e1c38
Add the database resolver plugin
2018-04-03 09:58:57 -04:00
Yash Nanavati
ed25afd9ec
Code changes for Python 3 support
2018-03-04 03:22:38 -05:00
Yash Nanavati
1d3fd2af64
Minor changes towards Python 3 Compatability
2018-02-28 09:01:51 -05:00
Jan Kaluza
6a5d7267fd
Save another 20s in tests.
2018-02-09 11:46:12 +01:00
mprahl
e91d09f7ca
Change the format of the unit tests to pytest
2018-01-31 16:34:21 -05:00
mprahl
df594da8a5
Remove the Koji proxyuser functionality
2018-01-30 11:49:03 -05:00
Ralph Bean
01c8295269
Add an incrementing prefix to the dist_hash.
...
For #823 .
2018-01-17 16:54:02 -05:00
mprahl
a67b53f5c3
Add a "context" field on component and module releases in Koji for uniqueness for when Module Stream Expansion is implemented
2018-01-16 10:36:09 -05:00
mprahl
a54045e518
Don't run KojiModuleBuilder.buildroot_connect in the stale module builds poller
2017-12-11 13:27:30 -05:00
Jan Kaluza
7de120c17b
Get the weight of Koji tasks and use it to sort the components in a batch instead of builds time.
2017-11-28 10:52:17 -05:00
mprahl
30ef85af01
Fix "instant complete" builds and reusing all components
2017-11-27 16:20:28 -05:00
Ralph Bean
8431d2698b
Explicit imports of builders in the test suite.
2017-11-10 16:03:14 -05:00
Jan Kaluza
ac92a389d6
Fix module dist_tag separator in tests
2017-08-31 10:46:42 -04:00
Filip Valder
7ef2975984
PEP8 fixes
2017-07-17 18:29:10 +02:00
Ralph Bean
bb56e4f057
Refactor get_build_by_artifact so that it always returns the same kind of dict.
2017-07-14 09:21:52 -04:00
Ralph Bean
d9b1576353
Tests for _get_build_by_artifact.
...
Tests for https://pagure.io/fm-orchestrator/pull-request/583
2017-07-13 14:09:37 -04:00
Ralph Bean
4c60030d31
Use a real module dist_tag here instead of module_x (for believability!)
2017-07-13 14:01:52 -04:00
Ralph Bean
ed0db4ddea
Indentation.
2017-07-13 14:01:27 -04:00
Ralph Bean
5d034185af
Remove unused bits.
2017-07-13 14:01:09 -04:00
Jakub Kadlčík
e8dd847cea
Run init_data() before querying a module
2017-04-13 17:42:12 +02:00
Jakub Kadlčík
e3c3167fae
Don't mock the ModuleBuild class with namedtuple for tests
2017-04-13 16:44:55 +02:00
Jakub Kadlčík
b78b0346d2
Pass the module build into builder
2017-04-12 23:53:55 +02:00
Jan Kaluza
c06d900e62
Do not try to tag builds which have been already tagged in a tag
2017-03-17 11:29:38 +01:00
Jan Kaluza
298bf63120
Fix #409 - Remove koji_tag_inherit_from and whitelist all the components we are going to build instead.
2017-03-14 11:28:47 +01:00
Filip Valder
be3b05e673
Additional tests for validate_koji_tag:
...
- Verify that ProgrammingError exception does what it is intended to do.
- Two (str/list) negative tests for validate_koji_tag decorator itself.
- Two (str/list) positive tests for validate_koji_tag decorator itself.
- Support validation in a test for Koji builder.
2017-02-28 09:08:32 +01:00
Matt Jia
e3ea21c0fd
test koji proxyuser feature
2017-02-17 18:24:44 +10:00
Ralph Bean
d83f210297
Get tests of the retry decorator working in the test suite.
2016-11-18 10:19:41 -05:00
Filip Valder
9b808d4354
test buildroot_read() incl. FakeKojiModuleBuilder and FakeKojiSession
2016-11-18 14:39:27 +01:00
Filip Valder
35781690a7
wip: new test for KojiModuleBuilder.buildroot_ready()
2016-11-18 10:24:34 +01:00
Filip Valder
37cde8cf2f
Load testing values from config
2016-11-18 10:24:34 +01:00
Filip Valder
2a53b74bcf
Lint
2016-11-18 10:24:34 +01:00
Jan Kaluza
d9916a1634
Fix #126 - remove Builder class
2016-11-01 14:44:42 +01:00
Ralph Bean
66de3457af
Fix the test suite.
...
These must've not gotten renamed in a PR merge dance.
2016-10-25 15:09:22 -04:00
Jan Kaluza
a7c2386983
Fix #117,#51 - Add rida.builder.Builder.tag_to_repo method to get the URL to repository based on a tag name. Also create target when creating build target to ensure this repo is generated for Koji builder.
2016-10-25 12:10:16 +02:00