Bvander/fix notify migrations

This commit is contained in:
Blair Vanderlugt 2021-07-29 18:29:17 +00:00
parent 1c78f4d6d6
commit ac76e14129
3 changed files with 6 additions and 6 deletions

View File

@ -15,8 +15,8 @@ RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
COPY . . COPY . .
RUN python setup.py install RUN python setup.py install
COPY docker/start_tasker.sh . COPY docker/*.sh .
RUN chmod +x start_tasker.sh RUN chmod +x *.sh
# ini files in config directory defines the configurable parameters for the application # ini files in config directory defines the configurable parameters for the application
# they can all be overridden by environment variables # they can all be overridden by environment variables

View File

@ -15,8 +15,8 @@ COPY . .
RUN python setup.py install RUN python setup.py install
COPY docker/start_tasker.sh . COPY docker/*.sh .
RUN chmod +x start_tasker.sh RUN chmod +x *.sh
# ini files in config directory defines the configurable parameters for the application # ini files in config directory defines the configurable parameters for the application
# they can all be overridden by environment variables # they can all be overridden by environment variables

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
set -e
python migrate.py -c /usr/local/etc/cic-notify --migrations-dir /usr/local/share/cic-notify/alembic -vv python scripts/migrate.py -c /usr/local/etc/cic-notify --migrations-dir /usr/local/share/cic-notify/alembic -vv