Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/test-migration-enriched.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ jobs:
sudo apt-get update -qq
sudo apt-get install -y postgresql-client-16
echo "/usr/lib/postgresql/16/bin" >> $GITHUB_PATH
- name: Raise Postgres lock limit
# the 226-module _process_end unlink sweep exhausts the default 64
# max_locks_per_transaction ("out of shared memory" at the end of an
# otherwise complete migration)
run: |
psql -d postgres -c "ALTER SYSTEM SET max_locks_per_transaction = 1024"
docker restart ${{ job.services.postgres.id }}
until pg_isready -h localhost -U odoo; do sleep 1; done
- name: DB Creation
run: createdb $DB
- name: DB Restore (enriched seed)
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
run: |
wget -q -O- $DOWNLOADS/18.0.psql | pg_restore -d $DB --no-owner
psql $DB -c "UPDATE ir_module_module SET demo=False"
# cloud_storage_google gains a hard google-auth dependency in 19.0,
# and google-auth's cryptography>=38 breaks Odoo 18's pinned
# pyopenssl/urllib3 stack (same neutralization as the enriched
# gate); nothing depends on it, so skip it.
psql $DB -c "UPDATE ir_module_module SET state='uninstalled' WHERE name = 'cloud_storage_google'"
- name: Check out Odoo
uses: actions/checkout@v4
with:
Expand Down
Loading