Commit Graph

169 Commits

Author SHA1 Message Date
Brendan Reilly
ee06645ce6 Release 3.9.2 2023-04-18 12:24:49 -04:00
Brendan Reilly
969371018d Release 3.9.1 2023-04-18 11:41:49 -04:00
Brendan Reilly
4af8fbc157 Release 3.9.0 2023-04-18 11:11:22 -04:00
Brendan Reilly
f12fc9c969 Use click instead of flask script 2022-12-13 13:31:56 -05:00
Brendan Reilly
e4dba5e242 Release 3.8.0 2022-12-07 13:06:00 -05:00
Brendan Reilly
9460b56f69 Release 3.7.0 2022-10-28 13:48:16 -04:00
Owen W. Taylor
53d35e546d Local builds: avoid 'Hub not initialized. Queueing on the side' warnings
We don't need messages at all for local builds, so use a separate "drop"
backend and reserve the "in_memory" backend for tests, where we sometimes
want to inspect the messages. This avoids a warning for each published
message.
2022-04-25 12:27:01 -04:00
Joe Talbott
10e1a9afd0 Remove conf/cacert.pem
Fixes: https://pagure.io/fm-orchestrator/issue/1631
2021-07-29 16:29:23 -04:00
Brendan Reilly
023602578d Release 3.6.1 2021-04-20 11:06:24 -04:00
Brendan Reilly
595bfb00d5 Release 3.6.0 2021-03-10 15:14:11 -05:00
Brendan Reilly
20343e63bb Release 3.5.0 2021-03-03 09:42:14 -05:00
Brendan Reilly
2357ab4431 Release 3.4.1 2020-11-30 12:13:02 -05:00
Brendan Reilly
1cdb6e0dc6 Release 3.4.0 2020-09-08 11:26:14 -04:00
Brendan Reilly
85a61ac07e Release 3.3.0 2020-07-28 11:22:34 -04:00
Brendan Reilly
7947708bee Release 3.2.1 2020-06-24 11:33:44 -04:00
Brendan Reilly
90f406d53e Release 3.2.0 2020-06-23 11:53:50 -04:00
Brendan Reilly
9f5a053c4f Release 3.1.0 2020-04-27 13:39:25 -04:00
mprahl
841a64a757 Bump the version to v3.0.0 2020-03-03 16:09:24 -05:00
mprahl
18dd43926c Move messaging.py to common/messaging.py 2020-03-03 14:48:47 -05:00
mprahl
f6bcdfa932 Simplify how MBS is configured
This merges the configuration from conf/config.py to
module_build_service/config.py. This also greatly simplifies the logic
in `init_config`. Additionally, `init_config` is no longer aware of
Flask. This will allow us to eventually break up the configuration
between the API and the backend.
2020-03-03 14:48:47 -05:00
Qixiang Wan
6907e02c13 Revert the config split change
Revert the changes in a207d97 and 9a2efb3, at this moment, some code
relies on both settings from frontend and backend, and it's inconvenient
to run unittests with config split up to frontend only and backend
only.
2020-03-03 14:48:47 -05:00
Qixiang Wan
e87b39cfb0 Remove MBSProducer from entry points 2020-03-03 14:48:47 -05:00
Qixiang Wan
81d9554af3 Create config for frontend or backend seperately
1. init_web_config: create Config object for frontend, load
   configuration from `web_config.py`.
2. init_backend_config: create Config for backend, load configuration
   from `backend_config.py`.

And two new classes inherit from `Config` in config.py:

1. WebConfig: representing the orchestrator frontend web configuration
2. BackendConfig: representing the orchestrator backend workers
                  configuration

Before calling init_{web,backend}_config, check sys.argv, if
"fedmsg-hub*", "celery" or "build_module_locally" is present, it's
running as backend.
2020-03-03 14:48:47 -05:00
Mike McLean
01a04ed793 Release v2.32.0 2020-01-30 12:25:15 +01:00
Mike McLean
36ca88115e Release 2.31.0 2019-12-19 15:11:22 -05:00
Mike McLean
3435b7d1a6 Release 2.30.4 2019-11-19 16:07:49 -05:00
mprahl
b7571c6ba0 Release v2.30.3 2019-11-11 11:14:52 -05:00
mprahl
9c085a4d79 Release v2.30.2 2019-11-08 08:34:29 -05:00
mprahl
090f4bb7dc Release v2.30.1 2019-11-06 09:27:37 -05:00
mprahl
efb690a482 Release v2.30.0 2019-11-05 15:15:04 -05:00
Mike McLean
e9946fcd00 Release v2.29.1 2019-10-03 16:37:02 -04:00
Mike McLean
bbe10fd2da Release 2.29.0 2019-10-03 15:10:54 -04:00
Jan Kaluza
a7540452cd Add initial code for KojiResolver class.
This commit:

- Adds KojiResolver class and KojiResolver tests.
- Changes the GenericResolver and its subclasses to pass base_module_mmds
  instead of base_module_nsvc to get_buildrequired_modulemds. This is needed,
  because KojiResolver needs to access XMD section of base module.
- Implements KojiResolver.get_buildrequired_modulemds to ask Koji for list of
  modules tagged in the Koji tag and return their modulemds.
2019-09-30 07:56:07 +02:00
mprahl
550b266961 Release v2.28.2 2019-09-19 10:22:01 -04:00
mprahl
853300d150 Release v2.28.1 2019-09-18 09:55:55 -04:00
mprahl
aa113042b0 Bump the version to v2.28.0 2019-09-17 13:25:55 -04:00
Jan Kaluza
f026a4f88b Version 2.27.0. 2019-08-30 08:01:41 +02:00
Jan Kaluza
34dc744041 Version 2.26.0 2019-08-12 10:54:17 +02:00
mprahl
1cb1e65767 Release v2.25.0 2019-07-17 08:24:26 -05:00
Valerij Maljulin
7277ac480f Release v2.22.0 2019-07-01 17:26:31 +02:00
Jan Kaluza
e1b29d2fde Version 2.23.0 2019-06-20 06:55:00 +02:00
Valerij Maljulin
392a456dab Release v2.22.0 2019-06-18 10:44:58 +02:00
Jan Kaluza
ae2b6d9533 Release 2.21.0 2019-05-24 10:17:56 +02:00
mprahl
e2a75c3323 Release v2.20.0 2019-05-10 10:23:15 -04:00
mprahl
66c3f82160 Format the coding style across the codebase using "black" and manual tweaks
The main benefit of this commit is that the use of double quotes
is now consistent.
2019-04-26 00:32:13 -04:00
mprahl
5a82d95756 Release v2.19.1 2019-04-16 14:22:01 -04:00
mprahl
251c364307 Release v2.19.0 2019-04-04 13:34:21 -04:00
Jan Kaluza
67a5a9d1b0 Allow building module in --offline module with dependencies from local repositories.
There are following changes introduced in this commit:

- The `koji_tag` of module builds imported from the local repositories
  is now in `repofile:///etc/yum.repos.d/some.repo` format to store the
  repository from which the module was imported to local MBS DB.
- The `koji_tag` of fake base module is set to empty `repofile://`
  and in `MockModuleBuilder` the `conf.base_module_repofiles` list
  is used as source for the repositories defining platform. We can't
  simply use single repository, because there might be fedora.repo
  and fedora-update.repo and so on.
- The list of default .repo files for platform are passed using the
  `-r` switch in `build_module_locally` `mbs-manager` command.
- The LocalResolver (subclass of DBResolver) is added which is used
  to resolve the build dependencies when building modules offline
  locally.
- The `MockModuleBuilder` enables the buildrequired modules and
  repositories from which they come in the mock config.

With this commit, it is possible to build testmodule locally
without any external infra.
2019-04-01 13:13:08 +00:00
mprahl
d75c3042c7 Release v2.18.2 2019-03-25 12:06:40 -04:00
mprahl
ff251b14db Release v2.18.1 2019-03-20 14:25:47 -04:00