Commit Graph

  • 1fdabfd8cf pdc: make sure that we pass the right filters to pdc Lubos Kocman 2016-07-20 16:37:09 +02:00
  • 033a0da5ba Split this up into three threads so we can spoof ourselves. Ralph Bean 2016-07-20 10:15:28 -04:00
  • ce59c608be modules.py: create modules-macro inject it to buildroot and wait before building state Lubos Kocman 2016-07-20 10:27:13 +02:00
  • 05980dacff Add buildroot_ready, disttag related function Lubos Kocman 2016-07-20 10:25:54 +02:00
  • ff84228502 Add handler for builds which didn't manage to get builID Lubos Kocman 2016-07-18 22:33:26 +02:00
  • fe7c9dbec0 ensure that wait() is being called only in wait state Lubos Kocman 2016-07-18 22:31:24 +02:00
  • bd28b7852a database: listen to rida.component.state.change (failover) Lubos Kocman 2016-07-18 22:29:59 +02:00
  • c0408b148b builder: remove wait_buildroot and turn ClientSession into staticmethod Lubos Kocman 2016-07-18 22:29:02 +02:00
  • 1a66202afd read profile from supplied file Lubos Kocman 2016-07-18 19:17:58 +02:00
  • f85665f42f Skip the query to PDC for the koji-tag for now. Ralph Bean 2016-07-18 10:46:33 -04:00
  • 82bab660c8 Be honest. This is a task_id, not a build_id. Ralph Bean 2016-07-18 10:45:40 -04:00
  • 379fc3fe5a Get the test suite running again. Ralph Bean 2016-07-17 00:16:57 -04:00
  • 9190a48b75 A little less confusing. Ralph Bean 2016-07-17 00:13:59 -04:00
  • f322017982 Koji build states are actually integers. Ralph Bean 2016-07-17 00:11:13 -04:00
  • 45bc4c55ac Some summary logging from ridad. Ralph Bean 2016-07-17 00:11:00 -04:00
  • 7d77463124 Get the gitref from rida.py to ridad.py. Ralph Bean 2016-07-17 00:10:23 -04:00
  • 4cc3e1271a Typofix. Ralph Bean 2016-07-16 23:19:54 -04:00
  • 67fa46203d Clear out some spammy fields when logging the message body. Ralph Bean 2016-07-16 23:18:01 -04:00
  • 79a1aff196 Typofix. Ralph Bean 2016-07-16 23:13:01 -04:00
  • 3c8e8a4b02 This log message is quite useful. Ralph Bean 2016-07-16 23:10:51 -04:00
  • e879bc7f81 Key off the build tag here... Ralph Bean 2016-07-16 23:10:17 -04:00
  • 7dc2d1ad42 Bugfix. The attribute is koji_tag. Ralph Bean 2016-07-16 23:09:48 -04:00
  • 2d33ee1602 Simplify this. Ralph Bean 2016-07-16 23:09:15 -04:00
  • 61a1e8d89f Return None here instead of raising an exception. Ralph Bean 2016-07-16 22:47:22 -04:00
  • e6fbde4837 Improved logging in KojiModuleBuilder. Ralph Bean 2016-07-16 22:46:20 -04:00
  • ecd2f5ce46 Found another missing config copy statement. This approach may not be scalable. Ralph Bean 2016-07-16 20:23:39 -04:00
  • c4e01cea40 Error out early if this is absent. Ralph Bean 2016-07-16 20:23:16 -04:00
  • d6fd3e05a9 Need to prep before adding deps (tags must exist before modifying them..) Ralph Bean 2016-07-16 20:18:12 -04:00
  • cf4eadbf99 Some work to get koji profiles working. Ralph Bean 2016-07-16 20:17:57 -04:00
  • f230943181 Use the koji tag name from PDC instead of a derived one. Ralph Bean 2016-07-16 19:59:05 -04:00
  • a04d10b0f3 Remove unused import. Ralph Bean 2016-07-16 19:39:50 -04:00
  • 0db0d1d50a Add strict behavior to the pdc interface to make debugging easier. Ralph Bean 2016-07-16 19:39:42 -04:00
  • cce333bd73 Move sleep to the end to tighten my debugging loop. Ralph Bean 2016-07-16 19:28:26 -04:00
  • d020cd74a6 Some nice logging to see the message on which we failed. Ralph Bean 2016-07-16 19:28:14 -04:00
  • 5d914e8c35 I got these two backwards. Ralph Bean 2016-07-16 19:27:50 -04:00
  • 285cf212c1 Top-level error handling. Ralph Bean 2016-07-16 01:02:16 -04:00
  • dee31ed512 Typofix. Ralph Bean 2016-07-16 01:02:07 -04:00
  • 88b7ca5011 Get the sanity_check running. Ralph Bean 2016-07-16 00:54:47 -04:00
  • c4ae0c3a92 Console will do. Ralph Bean 2016-07-16 00:54:10 -04:00
  • 0b369baf66 Rename to build_id, which is more accurate. Ralph Bean 2016-07-16 00:53:59 -04:00
  • 2871ca9537 Remove some TODOs which are done. Ralph Bean 2016-07-16 00:20:08 -04:00
  • af86b0a4fc Some test coverage for the repo done code. Ralph Bean 2016-07-16 00:15:58 -04:00
  • fd57403411 Typofix. Ralph Bean 2016-07-15 23:54:43 -04:00
  • 2a866eaf91 Some start to the polling thread. Ralph Bean 2016-07-15 23:53:36 -04:00
  • 9925c238aa Another classmethod to query with, and a bugfix! Ralph Bean 2016-07-15 23:51:47 -04:00
  • e1c9cde9a5 Fix to config.polling_interval. Ralph Bean 2016-07-15 23:51:28 -04:00
  • 0ab9793305 Some more state transitions. Ralph Bean 2016-07-15 23:20:23 -04:00
  • fa91f23be5 Just formatting. Ralph Bean 2016-07-15 14:27:28 -04:00
  • fe863aa33a Rename this state transition handler. Ralph Bean 2016-07-15 14:05:37 -04:00
  • 44e35c3a09 Use module.transition to change states. Ralph Bean 2016-07-15 14:01:41 -04:00
  • 2344e03f23 Send builds to failed state if they don't make it to 'wait'. Ralph Bean 2016-07-15 13:24:45 -04:00
  • 3d60ccad20 Set up a resumed builder here. Ralph Bean 2016-07-15 13:17:58 -04:00
  • 7be07d37b1 Fix a mock that broke. Ralph Bean 2016-07-15 13:07:04 -04:00
  • 9e3efc3fb4 Remove a bunch of unnecessary stuff. Ralph Bean 2016-07-15 13:06:26 -04:00
  • d94042f8e7 Add reprs for some of our models. Ralph Bean 2016-07-15 13:06:05 -04:00
  • b60dc32312 Resolve ambiguity about what "pdc" refers to here... Ralph Bean 2016-07-15 13:00:04 -04:00
  • 434dc8bad0 Simplify and clean. Ralph Bean 2016-07-15 12:39:47 -04:00
  • 64abebfd89 Remove unused imports. Ralph Bean 2016-07-15 12:39:34 -04:00
  • 24e7baa6ca Merge branch 'ridad' Ralph Bean 2016-07-15 12:14:22 -04:00
  • 2eee1c8ed6 Descriptions of the states. Ralph Bean 2016-07-15 11:23:32 -04:00
  • f09369a90e Some better logging for ridad. Ralph Bean 2016-07-15 12:12:42 -04:00
  • 8d17d3a763 Add bunch of todos for init phase Lubos Kocman 2016-07-15 18:04:16 +02:00
  • c6049da301 modules.py: updated db to pdc calls Lubos Kocman 2016-07-15 17:55:51 +02:00
  • 1857b109a2 database: use .one() instead of .all() + assert Lubos Kocman 2016-07-15 17:53:36 +02:00
  • d0aaf87d4c Merge #20 Work on ridad. Ralph Bean 2016-07-15 15:33:22 +00:00
  • 371c23d6bb Descriptions of the states. Ralph Bean 2016-07-15 11:23:32 -04:00
  • 1e44e3b299 pdc: unreleasedvariants Lubos Kocman 2016-07-15 16:04:33 +02:00
  • ec01f80189 temp. sleepy-hack to wait for pdc-updater to finish his job Lubos Kocman 2016-07-15 15:10:50 +02:00
  • 5222b25c97 Fixed new -> init, temp. disabled sanity_check, handling states correctly Lubos Kocman 2016-07-15 15:09:36 +02:00
  • 4eae650878 rida/pdc.py: add release Lubos Kocman 2016-07-15 15:06:53 +02:00
  • d53f57f230 database module: fixed session is not callable and fixed filter_by -> filter (previously raised error) Lubos Kocman 2016-07-15 15:06:32 +02:00
  • ef48854aa6 IOError prints filename. Very useful for debugging Lubos Kocman 2016-07-15 15:05:35 +02:00
  • 490da57176 config: add ssl_enabled=True. fas auth would simply not work without ssl Lubos Kocman 2016-07-15 15:05:10 +02:00
  • 6f7e12d35e Use API result structure for dependencies. Nils Philippsen 2016-07-14 16:00:21 +02:00
  • 81cd81a620 PDC uses plural names for API endpoints. Nils Philippsen 2016-07-14 16:00:21 +02:00
  • 70ca8ee885 except -> except AttributeError for getpeercert Lubos Kocman 2016-07-14 14:32:38 +02:00
  • 64ce1a517a fixed typo in rida.py Lubos Kocman 2016-07-14 14:32:04 +02:00
  • 020e75865b Merge branch 'master' of ssh://pagure.io/fm-orchestrator into ridad Lubos Kocman 2016-07-14 13:48:05 +02:00
  • 40a3448dca Some handlers and one test. Ralph Bean 2016-07-13 16:55:51 -04:00
  • 0859641cb8 A useful utility classmethod. Ralph Bean 2016-07-13 16:55:41 -04:00
  • ff831df01d Adjust this name. Ralph Bean 2016-07-13 16:55:34 -04:00
  • 14a4536583 Reorganize the db somewhat.. Ralph Bean 2016-07-13 15:40:39 -04:00
  • c25f681731 Allow turning of ssl for rida.py Ralph Bean 2016-07-13 11:36:27 -04:00
  • e470b4f0da Bring back a main entrypoint for ridad.py. Ralph Bean 2016-07-13 14:39:46 -04:00
  • e644f0b9df Some structure for event handling in ridad.py. Ralph Bean 2016-07-13 14:39:23 -04:00
  • 12a9f6d7db Give the Database a context manager interface. Ralph Bean 2016-07-13 14:39:00 -04:00
  • bd30153feb Move ridad into an importable location and validate module state strings. Ralph Bean 2016-07-13 14:03:17 -04:00
  • b5bd9d4cb1 No need for the extra loop here. Ralph Bean 2016-07-13 12:56:29 -04:00
  • 5563886c07 basic logging for ridad. Ralph Bean 2016-07-13 12:56:19 -04:00
  • 5e7244fe9c Allow configurable host and port for rida.py Ralph Bean 2016-07-13 11:34:36 -04:00
  • 80cd8c3fad Get things working on py2 as well as py3. Ralph Bean 2016-07-13 11:25:02 -04:00
  • 594555ae7a Merge #14 Small py3 fix. Petr Šabata 2016-07-13 15:00:37 +00:00
  • 75258ff53e Make test-buildroot.py executable Lubos Kocman 2016-07-13 10:31:49 +02:00
  • 9eb5c25e25 Add rida/pdc.py - A rida related product definition center calls Lubos Kocman 2016-07-13 10:31:13 +02:00
  • 1dc0624329 Small py3 fix. Ralph Bean 2016-07-12 10:19:23 -04:00
  • 907556ddb4 Break the ssl stuff out into a function and validate that the files are present. Ralph Bean 2016-07-12 10:17:56 -04:00
  • f286582e3e Revert "add python3-fedmsg-core to requirements file" Petr Šabata 2016-07-12 14:01:24 +02:00
  • 2aad1007a9 add python3-fedmsg-core to requirements file Karsten Hopp 2016-07-12 13:53:51 +02:00
  • ab7b65d6a5 Add the database and key files to .gitignore Petr Šabata 2016-07-09 18:32:48 +02:00
  • fb231cd384 SCM cleanup Petr Šabata 2016-07-09 18:18:50 +02:00