Commit Graph

54 Commits

Author SHA1 Message Date
Michal Konecny
6b0a66cb37 [fedora-messaging] Adding topic_prefix back
Removing the topic_prefix from fedora messaging config files was a bit
premature. So let's put them back in place.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-14 12:40:12 +01:00
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
Ryan Lerch
98152942d0 elections - rename yml templates to .j2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 08:37:32 +10:00
Kevin Fenzi
84fff86aaa elections: fix typo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-11 17:00:11 -08:00
Kevin Fenzi
cd4cf0596c elections: try and adjust for new flask-oidc
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-12-11 16:54:51 -08:00
Seddik Alaoui Ismaili
24aaee6429 move apps to memcached02 2024-12-11 23:22:28 +00:00
Aurélien Bompard
8b90c183ba OpenShift: fix the apiVersion for deploymentconfigs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-12-03 15:05:52 +01:00
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Aurélien Bompard
d2972650c7 Fix Elections in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-11-27 12:15:15 +01:00
Seddik Alaoui Ismaili
c88ab2cb08 test move apps to memcached02 2024-11-25 13:20:45 +00:00
Kevin Fenzi
1551d42f45 openshift: next CRD
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-13 11:54:08 -08:00
Kevin Fenzi
e614b31457 openshift / various apps: update BuildConfig to use build.openshift.io/v1
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-02-13 11:46:39 -08:00
Kevin Fenzi
bfaf5a59bf elections: seperate prod and stg passwords
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-19 14:11:50 -07:00
Francois Andrieu
c8f9feb792 elections: set GUNICORN_CMD_ARGS env var
Make gunicorn listen to all interfaces on port 8000 instead of
localhost only
2022-06-24 16:42:48 +00:00
Francois Andrieu
a2af2c47f5 elections: default http port change to 8000 2022-06-24 16:13:29 +00:00
Mark O'Brien
2d708cdcc7 It wasnt this change that broke it 2021-03-29 12:07:00 +01:00
Mark O'Brien
7fec19f0dc roll back election changes to see if we broke login 2021-03-29 11:59:49 +01:00
Stephen Coady
3af73567ad add flag to make elections use fasjson
Signed-off-by: Stephen Coady <scoady@redhat.com>
2021-03-29 10:21:33 +00:00
Aurélien Bompard
26c74a6a1f Elections: create the database and database user
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 12:14:03 +02:00
Aurélien Bompard
54d6b32dbc Elections: add mount path for ipa config
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:49:28 +02:00
Aurélien Bompard
833000da02 Elections: fix pre-deployment script
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:46:51 +02:00
Aurélien Bompard
cc4ff8266a Forgot an env var
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:39:19 +02:00
Aurélien Bompard
b16660ab24 Setup Elections for FASJSON access
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:37:04 +02:00
Aurélien Bompard
d23d79926f Run Elections on Python 3
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:16:55 +02:00
Aurélien Bompard
6733be5986 Update Elections for FASJSON in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-09-16 10:11:31 +02:00
Kevin Fenzi
7a7472d981 iad2-move: make elections use the new right database
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-08 15:12:41 -07:00
Pierre-Yves Chibon
905f32a0e8 elections: fix the path to the database and in the cookie
The path to the database did not open correctly the jinja variable.

The application_root is used in the cookie, and now that elections
is running at the root of the URL, it must reflect that.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-05-20 20:58:24 +02:00
Pierre-Yves Chibon
2cad7baf13 elections: fix the sqlalchemy.url in the alembic.ini config file
Jinja variable needs to start with {{ and end with }}, both.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-05-20 20:47:41 +02:00
Pierre-Yves Chibon
1f66d93f7e elections: Install the fedora-messaging configuration file
Turns out this could be useful... :)

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-05-07 09:45:47 +02:00
Pierre-Yves Chibon
dc0ef80d46 elections: Adjust the APPLICATION_ROOT in stg vs prod
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 15:27:02 +02:00
Pierre-Yves Chibon
f02f70029e elections: use the same url to connect to the DB in alembic as in the application's configuration file
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 13:36:35 +02:00
Pierre-Yves Chibon
e76e1a88eb elections: Rework again the secret.yml again
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 13:30:51 +02:00
Pierre-Yves Chibon
2dab570f7d elections: rework the indentation of secret.yml
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 13:22:19 +02:00
Pierre-Yves Chibon
7b6a86c1dd elections: add missing closing parenthesis
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 13:19:19 +02:00
Pierre-Yves Chibon
a7f2a6b08d elections: another trailing : that was messing up the file
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 12:47:38 +02:00
Pierre-Yves Chibon
833274e56d elections: remove trailing : that was messing the file
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 12:46:22 +02:00
Pierre-Yves Chibon
86a3572311 elections: rename the volume to see if that changes something
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 12:29:46 +02:00
Pierre-Yves Chibon
33a2a12afb elections: indentation fix
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 12:27:14 +02:00
Pierre-Yves Chibon
ded44bdb34 elections: mount the secret volume and point elections to it
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 12:24:19 +02:00
Pierre-Yves Chibon
2b16867d92 elections: fix the path to the alembic revisions
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 12:15:54 +02:00
Pierre-Yves Chibon
d71529606b elections: use upstream's alembic upgrade script
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 12:02:34 +02:00
Pierre-Yves Chibon
c5cde07727 elections: the path to the fedora-messaging config is specified by an environment variable in the container
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 11:58:25 +02:00
Pierre-Yves Chibon
48ac98d72d elections: Mount the fedora-messaging volumes and config files
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 11:40:11 +02:00
Pierre-Yves Chibon
91cd0ffc24 elections: Add a configuration file for fedora-messaging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 11:27:58 +02:00
Pierre-Yves Chibon
299fad9362 elections: add a secret containing the client_secrets for flask-oidc
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 11:27:38 +02:00
Pierre-Yves Chibon
30e5b8ba0e elections: point to id.stg in staging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-29 11:26:12 +02:00
Pierre-Yves Chibon
4cbd103c18 Enable running alembic upgrade on create
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-04-26 10:31:12 +02:00
Pierre-Yves Chibon
d258f888a1 Don't use a variable for the db hostnames and split prod vs stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-01-23 13:09:58 +01:00
Pierre-Yves Chibon
d948f9a516 Another formatting issue
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-01-23 12:08:49 +01:00
Pierre-Yves Chibon
db38091b12 Remove spaces
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-01-23 12:06:27 +01:00