Commit Graph

876 Commits

Author SHA1 Message Date
Ralph Bean
30daab024e Handle odd response from OIDC UserInfo.
By surprise, ipsilon handed me back a response with no groups one time.
Not sure why.  But logging here can hopefully help us catch it next
time.
2017-02-16 14:28:43 -05:00
Ralph Bean
3a31e60f57 Merge #318 Handle changing PDCClient API. 2017-02-16 15:41:59 +00:00
Ralph Bean
bebf50f78c Haste makes waste. 2017-02-16 10:41:40 -05:00
Ralph Bean
2819b65204 Remove unused import. 2017-02-16 10:30:08 -05:00
Ralph Bean
b37ff40758 Handle still more variations in the pdcclient api. 2017-02-16 10:30:02 -05:00
Matt Prahl
1a10a4da19 Merge #315 Trying to debug jenkins failures. 2017-02-16 15:22:46 +00:00
Ralph Bean
32c743725d Remove xmd from test data for modulemd change. 2017-02-16 10:17:24 -05:00
Ralph Bean
67e3947a9b Handle changing PDCClient API.
I hit this in staging.  Some versions of the pdc-client library have a
different signature for PDCClient.  We need to specify these as keyword
arguments so we don't get spooky failures with accidental values.
2017-02-15 19:42:36 -05:00
Ralph Bean
a0b7ff4dc4 Our nonce should actually be random.
Also, the state value here is unused, so drop it.
2017-02-15 19:41:15 -05:00
Ralph Bean
6eaf8d7863 Demote this log statement. Way too noisy in production. 2017-02-15 15:43:38 -05:00
Ralph Bean
c862cc3def Trying to debug jenkins failures.
Tests pass locally, but fail in jenkins for some reason.

Trying to add more debug info here to figure out why....
2017-02-15 14:47:04 -05:00
Ralph Bean
14dee071bc Merge #313 Force MMD's int version to a str when interacting with our db. 2017-02-15 17:52:23 +00:00
Ralph Bean
2a60d1ff20 Also, alembic. 2017-02-15 12:30:31 -05:00
Ralph Bean
92c3c1a90f Drop the modules table. 2017-02-15 12:11:40 -05:00
Ralph Bean
9bb7b8a716 Force MMD's int version to a str when interacting with our db. 2017-02-15 12:09:49 -05:00
Ralph Bean
840ab8e553 v1.2.0 released v1.2.0 2017-02-15 11:07:32 -05:00
Ralph Bean
6bd6aaaf12 Merge #311 Do things in copr as the correct user 2017-02-14 17:25:57 +00:00
Matt Prahl
01e94cb902 Merge #307 Replace query to FAS with OIDC groups scope check. 2017-02-10 21:28:15 +00:00
Ralph Bean
3674fb49b2 Make this convenient for f2.0 developers 2017-02-10 16:27:35 -05:00
Ralph Bean
2887e71b29 Mark these functions as "private". 2017-02-10 15:53:36 -05:00
Ralph Bean
88aca055ce Replace query to FAS with OIDC groups scope check.
This removes our query to FAS and fixes #304.

It is more flexible too, where we can now configure production to only
allow in members of the `modularity-wg` group, and then later open it up
to all packagers after F26 is out (as was agreed with FESCo).

In the process of working on this, I discovered that #305 is not
necessary.  We don't need our own scope; we can just use the `groups`
scope as done here.
2017-02-10 15:50:41 -05:00
Filip Valder
818a3feb6f check Koji active tasks for component relicts (same NVR) from previous (terminated) builds 2017-02-08 15:56:41 +01:00
Jakub Kadlčík
c1fe65c16a Do things in copr as the correct user 2017-02-07 00:40:36 +01:00
Ralph Bean
d093c5eef3 Default needed for this to make sense. 2017-02-02 03:30:25 -05:00
Filip Valder
13a6345548 config values for increasing VM's memory/cpu 2017-02-01 20:23:41 +01:00
Ralph Bean
e082ff1289 Careful with msg_id here too. 2017-02-01 11:07:21 -05:00
Jan Kaluza
0b307550c4 Mock: WIP threading support 2017-02-01 13:20:17 +01:00
Jan Kaluža
c769d481ca Merge #293 Mock: Load the mock.cfg before writing to it to not overwrite it and be able to update it in the middle of build. 2017-02-01 08:29:03 +00:00
Ralph Bean
78bd24b62a Be careful with attribute access here.
I hit a traceback where msg was NoneType and therefore didn't have a
`msg_id` attribute, I therefore wasn't able to see the real exception
that got me there in the first place.
2017-01-31 12:37:50 -05:00
Ralph Bean
370f3e79ae v1.1.1 released v1.1.1 2017-01-31 12:30:45 -05:00
Ralph Bean
74d0398e2e Merge #299 Re-format and update README 2017-01-31 17:27:50 +00:00
Ralph Bean
dd351bf419 Merge #298 add fedmsg.d/mbs-scheduler.py 2017-01-31 17:26:08 +00:00
Filip Valder
52e76a16ea re-format and update readme 2017-01-31 14:44:22 +01:00
Filip Valder
5fcef41cca add fedmsg.d/mbs-scheduler.py 2017-01-31 14:39:20 +01:00
Filip Valder
89351fbc24 Re-factor configuration loading, fix default topics (shall be a list),
update docs.
2017-01-31 14:00:15 +01:00
Jan Kaluza
f7e5dd1f49 Log error message when SRPM cannot be created from SCM 2017-01-28 16:08:30 +01:00
Jan Kaluza
b76d1c9531 Mock: Load the mock.cfg before writing to it to not overwrite it and be able to update it in the middle of build. 2017-01-28 15:46:17 +01:00
Filip Valder
c51adf1796 get rid of 'WARNING - Cannot find qpid python module. Make sure you have python-qpid installed.' 2017-01-18 16:24:28 +01:00
Matt Prahl
733b875313 Merge #290 Include vcr request data in the next release. 2017-01-17 19:23:21 +00:00
Ralph Bean
7058833d22 python-systemd is actually optional.
Yup.
2017-01-17 14:16:36 -05:00
Ralph Bean
58a46d4077 Include vcr request data in the next release. 2017-01-17 12:24:24 -05:00
Ralph Bean
efd47569ae vcrpy is a test requirement. 2017-01-17 11:54:41 -05:00
Filip Valder
cd68de31fb v1.1.0 released v1.1.0 2017-01-17 15:06:34 +01:00
Filip Valder
739a121d5f Merge #284 Support message topic prefixes + service/category names 2017-01-12 19:05:06 +00:00
Filip Valder
abf37e98e1 in_memory messaging -> fallback to '*' topics 2017-01-12 19:57:34 +01:00
Filip Valder
34ef9ce5fd Add support for message topic prefixes + explicit services/categories (incl. code lints) 2017-01-12 19:30:34 +01:00
Matt Prahl
18d34729f4 Merge #285 Fix port forwarding in Vagrant 2017-01-12 18:15:13 +00:00
Matt Prahl
90bf826c9a Fix port forwarding in Vagrant 2017-01-12 13:01:49 -05:00
Jan Kaluža
59d070df35 Merge #278 Fix #276 - Use PDC to resolve buildroot components instead of MBS database 2017-01-12 14:34:13 +00:00
Filip Valder
68b44a2e38 Merge #283 Docker 2017-01-12 14:00:18 +00:00