Commit graph

263 commits

Author SHA1 Message Date
Robert Sparks e1206fa91e
Merge remote-tracking branch 'upstream/main' into feat/postgres 2023-02-13 09:17:05 -06:00
Nicolas Giard d98dc6fb10
ci: remove duplicate pg client tools from app image 2023-02-07 17:34:38 -05:00
Nicolas Giard 6513b4dbb1
ci: add pg client tools to base image 2023-02-07 17:33:45 -05:00
Nicolas Giard 9e340cd0e4
ci: add pg client to base app image 2023-02-07 17:00:54 -05:00
Robert Sparks 117bb2a5b8
ci: clean up after recent exploration. 2023-02-02 13:19:37 -06:00
Robert Sparks ec0f718191
ci: further pg_restore tuning 2023-02-02 11:59:41 -06:00
Robert Sparks 1d26aa0004
ci: change prestate before pg_restore 2023-02-02 11:30:41 -06:00
Robert Sparks 2ebe85872c
ci: let pgloader do all the clean and creation work 2023-02-02 10:52:13 -06:00
Nicolas Giard a1185a8eeb
ci: enable citext on db without schema 2023-02-02 04:05:00 -05:00
Nicolas Giard 58844720b6
ci: enable citext on public schema 2023-02-02 03:38:45 -05:00
Nicolas Giard fff220c7fd
ci: set schema search path before pg_restore 2023-02-02 03:09:41 -05:00
Nicolas Giard 85b352676b
ci: add citext pg extension to import script 2023-02-01 21:05:39 -05:00
Robert Sparks 24bb789cd2
feat: add citext to default db template (#5069) 2023-02-01 15:12:38 -06:00
Nicolas Giard 51b68d6365
ci: fix db-pg-migrate script to use pgdb instead of pg 2022-12-19 18:11:23 -05:00
Nicolas Giard c01054432b
ci: set pgloader workers to 3 2022-12-19 17:50:48 -05:00
Nicolas Giard 29731bf36d
ci: reduce pgloader workers arg to 1 2022-12-19 16:50:46 -05:00
Nicolas Giard 24c8738e1e
ci: fix db migrate script to use mysql first 2022-12-19 16:37:56 -05:00
Nicolas Giard cdef8f4114
ci: use lower batch size for pg migrate 2022-12-15 17:45:15 -05:00
Nicolas Giard 94d367000b
ci: add search path modif to db dump import 2022-12-15 15:43:25 -05:00
Nicolas Giard 233ac51ab2
chore: modify cleandb script to remove pg volume 2022-12-15 15:05:13 -05:00
Nicolas Giard a60d52253e
chore: use prebuilt pg db image in dev (#4890) 2022-12-15 14:00:51 -06:00
Nicolas Giard 6f8caaf342
ci: add createdb to db-pg-import.sh 2022-12-14 02:13:44 +00:00
Nicolas Giard 96be49f9d3
ci: add dropdb to db-pg-import.sh 2022-12-14 02:02:21 +00:00
Nicolas Giard 6a70cefb55
ci: remove dropdb from db-pg-import.sh 2022-12-14 01:21:26 +00:00
Nicolas Giard b4bbd7a592
ci: fix pg_dump 2022-12-14 01:08:12 +00:00
Nicolas Giard 5e76cd47b7
ci: adapt db-pg.Dockerfile to import db dump 2022-12-14 00:54:39 +00:00
Nicolas Giard 9daa628d8b
ci: create export dump in db-pg-migrate.sh 2022-12-14 00:25:13 +00:00
Nicolas Giard 5d26f908c9
ci: remove quotes for batch size 2022-12-13 23:45:09 +00:00
Nicolas Giard 735c851e67
ci: pgloader set batch size 2022-12-13 23:38:30 +00:00
Nicolas Giard 4eae51f0be
ci: remove time from db-pg-migrate.sh 2022-12-13 18:07:43 -05:00
Nicolas Giard 0f5cfc80ee
ci: remove typo in dg-pg-migrate.sh 2022-12-13 18:01:13 -05:00
Nicolas Giard dc66d7506d
ci: use pgdb service container 2022-12-13 17:50:28 -05:00
Robert Sparks 912c7b5ee3
fix: simplify migrations when building postgres db image (#4889)
* chore: remove the effectively unused DATABASE_TEST_OPTIONS setting

* fix: simplify default settings_local so that db-include-fix.py is not needed in CI

* fix: simplify migrations in db-pg-migrate.sh
2022-12-13 17:37:24 -05:00
Nicolas Giard f09ad380c6
ci: fix pg db pgdata path 2022-12-13 21:51:59 +00:00
Nicolas Giard a42086bef2
ci: fix pg db data path 2022-12-13 21:42:53 +00:00
Nicolas Giard 3b76c64002
ci: improve pg db script 2022-12-13 20:50:37 +00:00
Nicolas Giard f2e9701302
ci: pg db nightly build script 2022-12-13 20:29:57 +00:00
Robert Sparks 15569771ff
Merge remote-tracking branch 'upstream/main' into feat/postgres 2022-12-12 09:54:49 -06:00
Robert Sparks e257ddbfea
fix: restore sql_debug functionality from the container (#4835) 2022-12-06 08:48:23 -06:00
Robert Sparks 562d5cceeb
fix: include html when syncing extra assets 2022-12-02 16:28:08 -06:00
Robert Sparks abe640e57f
Merge remote-tracking branch 'upstream/main' into feat/postgres 2022-11-30 16:35:33 -06:00
Robert Sparks 2636c59f99
feat: stop supporting pre-tzaware migration database dumps. (#4782)
* feat: stop supporting pre-tzaware migration database dumps.

* chore: remove unnecessary env variable
2022-11-28 10:17:22 -06:00
Robert Sparks e35ab924d6
fix: deal with post 9.0.0 database dumps 2022-11-17 14:36:27 -06:00
Robert Sparks 27fccc6ba0
feat: move to postgresql (#4744)
* feat: move to postgresql

* fix: repair fractional replace statement

* fix: use pathlib to manipulate settings_local

Co-authored-by: Jennifer Richards <jennifer@painless-security.com>

* fix: do two string replacements, not one followed by another that throws away the first.

Co-authored-by: Jennifer Richards <jennifer@painless-security.com>

* fix: use pathlib again to manipulate settings_local

Co-authored-by: Jennifer Richards <jennifer@painless-security.com>

* fix: properly use assert (1/2)

Co-authored-by: Jennifer Richards <jennifer@painless-security.com>

* fix: properly use assert (2/2)

Co-authored-by: Jennifer Richards <jennifer@painless-security.com>

Co-authored-by: Jennifer Richards <jennifer@painless-security.com>
2022-11-11 11:01:01 +00:00
Robert Sparks eb4b523e66
chore: merge main (#4714) 2022-11-06 12:36:14 -06:00
Ian Williams d7f5c20a28
doc: Add incompat note (#4694)
Plugin is incompatible w/ Snap install of VSCode, add note.
2022-11-06 12:22:57 +00:00
Jennifer Richards f3bdbf0ed4
Merge branch 'feat/tzaware' into jennifer/main-for-tzaware-merge
# Conflicts:
#	ietf/meeting/tests_js.py
#	ietf/meeting/tests_models.py
#	ietf/meeting/tests_views.py
#	ietf/meeting/views.py
#	ietf/name/fixtures/names.json
#	ietf/templates/meeting/agenda.html
#	ietf/templates/meeting/session_buttons_include.html
#	ietf/templates/meeting/timeslot_start_end.html
2022-10-14 16:35:57 -03:00
Nicolas Giard cbf34316f1
docs: update docker README 2022-10-13 17:22:01 -04:00
Jennifer Richards 1366b6de38
Merge branch 'feat/tzaware' into jennifer/main-to-tzaware-conflicts 2022-09-14 12:36:33 -03:00
Lars Eggert 743484fb4c
fix: Suppress useradd/groupadd errors (#4408) 2022-09-06 12:04:30 -05:00