Use updated dbmigrations executables.

[?]
Dec 13, 2017, 5:42 AM
L65BC6Y6ZONXPLJ7DFQNUZ2AGXHDKKTXDFJNG64WXYIG5K3YFG5QC

Dependencies

  • [2] QTHFTPDX Clean up dockerfile organization
  • [3] 7VGYLTMU Clean up schema version handling.
  • [4] 3TAMXHCZ Add migrations to server startup.
  • [5] T3X4DRLF Add dbmigrations to the docker build.
  • [6] 4ZLEDBK7 Initial attempts at dockerizing, cabal isn't cooperating.
  • [7] LEINLS3X Update deployment documentation.
  • [*] DXIGERDT Change order of Docker build to avoid rebuilding the universe.

Change contents

  • edit in Dockerfile at line 37
    [2.487]
    [9.1]
    RUN stack install dbmigrations-postgresql
  • edit in Dockerfile at line 63
    [3.268][2.554:579]()
    RUN mkdir /opt/aftok/bin
  • replacement in docker/aftok-server.sh at line 3
    [3.1544][3.395:459]()
    /root/.local/bin/moo upgrade -c /etc/aftok/aftok-migrations.cfg
    [3.1544]
    [3.289]
    /root/.local/bin/moo-postgresql upgrade --config-file=/etc/aftok/aftok-migrations.cfg
  • edit in docker/global-stack.yaml at line 16
    [3.957]
    - HDBC-postgresql-2.3.2.5
    - dbmigrations-2.0.0