2 Commits

Author SHA1 Message Date
82747c4b89 Version Bump v12.1.2 2024-12-17 09:04:56 +05:30
e732354671 Fix: run was referencing files in a subdirectory.
Fix: Playbook was not importing the default vars.
Improvement: Dockerfile casheing should improve.
2024-12-17 09:04:49 +05:30
8 changed files with 9 additions and 9 deletions

View File

@ -28,8 +28,6 @@ RUN \
FROM python:3.12 AS runner
LABEL maintainer="Amritanshu <docker@tanshu.com>"
COPY barker/pyproject.toml /app/pyproject.toml
RUN apt-get update && \
apt-get install -y locales && \
sed --in-place --expression='s/# en_IN UTF-8/en_IN UTF-8/' /etc/locale.gen && \
@ -46,6 +44,8 @@ RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python
WORKDIR /app
COPY barker/pyproject.toml /app/pyproject.toml
# Allow installing dev dependencies to run tests
ARG INSTALL_DEV=false
RUN bash -c "if [ $INSTALL_DEV == 'true' ] ; then poetry install --no-root ; else poetry install --no-root --only main ; fi"

View File

@ -5,7 +5,7 @@
- hosts: barker
become: true
vars_files:
- default
- vars/default.yml
- "{{ var_file }}"
roles:

View File

@ -1 +1 @@
__version__ = "12.1.1"
__version__ = "12.1.2"

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "barker"
version = "12.1.1"
version = "12.1.2"
description = "Point of Sale for a restaurant"
authors = ["tanshu <git@tanshu.com>"]

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
set -euo pipefail
gunicorn barker.main:app --worker-class uvicorn.workers.UvicornWorker --config ./barker/gunicorn.conf.py --log-config ./barker/logging.conf
gunicorn barker.main:app --worker-class uvicorn.workers.UvicornWorker --config ./gunicorn.conf.py --log-config ./logging.conf

View File

@ -1,6 +1,6 @@
{
"name": "bookie",
"version": "12.1.1",
"version": "12.1.2",
"scripts": {
"ng": "ng",
"start": "ng serve",

View File

@ -1,7 +1,7 @@
export const environment = {
production: true,
ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry
version: '12.1.1',
version: '12.1.2',
};
export const dateFormat = {

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "frank"
version = "12.1.1"
version = "12.1.2"
description = "Point of Sale for a restaurant"
authors = ["tanshu <git@tanshu.com>"]