Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Update postgresql testing script #10906

Merged
merged 11 commits into from
Sep 24, 2021
Merged

Commits on Sep 24, 2021

  1. Update postgresql testing Script

    - Use sytest:bionic. Sytest:latest is two years old (do we want
      CI to push out latest at all?) and comes with Python 3.5, which we
      explictly no longer support. The script now runs under PostgreSQL 10
      as a result.
    
    A few changes to make it speedier to re-run the tests:
    
    - Create blank DB in the container, not the script, so we don't have to
      `initdb` each time
    - Use a named volume to persist the tox environment, so we don't have to
      fetch and install a bunch of packages from PyPI each time
    David Robertson committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    3c786e8 View commit details
    Browse the repository at this point in the history
  2. Move pg testing script to scripts-dev directory

    David Robertson committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    901cd52 View commit details
    Browse the repository at this point in the history
  3. Changelog

    David Robertson committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    ac13c0e View commit details
    Browse the repository at this point in the history
  4. Update changelog.d/10906.misc

    Co-authored-by: reivilibre <[email protected]>
    David Robertson and reivilibre authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    00e1d2d View commit details
    Browse the repository at this point in the history
  5. Don't rename the entrypoint script

    David Robertson committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    712e8eb View commit details
    Browse the repository at this point in the history
  6. Don't use a dedicated volume

    David Robertson committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    7cbdec2 View commit details
    Browse the repository at this point in the history
  7. Write to host as the script's exector, not root

    IDK if this is a good or idiomatic way to do things. Lots of cobbling
    around searching for hints on the web.
    
    Maybe there's some kind of fs middleware that can rewrite uids on the
    fly? /shrug
    David Robertson committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    b54faff View commit details
    Browse the repository at this point in the history
  8. Fix tox workdir location and .gitignore it

    David Robertson committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    505b3c2 View commit details
    Browse the repository at this point in the history
  9. Use the C locale, not en_US

    David Robertson committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    a6c7fe3 View commit details
    Browse the repository at this point in the history
  10. Advertise script in the docs

    David Robertson committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    a2e7253 View commit details
    Browse the repository at this point in the history
  11. doc tweaks from review

    Co-authored-by: reivilibre <[email protected]>
    David Robertson and reivilibre authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    5061458 View commit details
    Browse the repository at this point in the history