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
37 changes: 0 additions & 37 deletions .coveragerc

This file was deleted.

3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
8 changes: 4 additions & 4 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
if: ${{ (inputs.update-major-version == 'true') || (inputs.update-minor-version == 'true') || (inputs.update-patch-version == 'true') || (inputs.pre-release-type != 'NaN') }}
uses: valispace/actions/bump-build-version@master
with:
versioning-file: '__init__.py'
versioning-file: 'backend/valifn/__init__.py'
update-major-version: ${{ steps.setup.outputs.update_major_version }}
update-minor-version: ${{ steps.setup.outputs.update_minor_version }}
update-patch-version: ${{ steps.setup.outputs.update_patch_version }}
Expand All @@ -100,7 +100,7 @@ jobs:
id: versioning
uses: valispace/actions/get-build-version@master
with:
versioning-file: '__init__.py'
versioning-file: 'backend/valifn/__init__.py'

- name: 'Commit changes'
id: commit-changes
Expand All @@ -119,7 +119,7 @@ jobs:
if: ${{ (steps.setup.outputs.branch_name == 'master') }}
uses: valispace/actions/docker-build-image@master
with:
dockerfile: 'Dockerfile'
dockerfile: 'docker/backend/Dockerfile'
archive-name: '${{ steps.setup.outputs.repository_name }}-docker.tar.gz'
labels: 'version=${{ steps.versioning.outputs.version }}'
tags: |
Expand All @@ -131,7 +131,7 @@ jobs:
if: ${{ (steps.setup.outputs.branch_name == 'master') }}
uses: valispace/actions/docker-push-image@master
with:
dockerfile: 'Dockerfile'
dockerfile: 'docker/backend/Dockerfile'
registry: ''
username: '${{ secrets.DOCKERHUB_USERNAME }}'
password: '${{ secrets.DOCKERHUB_TOKEN }}'
Expand Down
213 changes: 20 additions & 193 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,232 +2,59 @@
# SYSTEM
# -----------------------------------------------------------------------------

.bash_history
.DS_Store
.vagrant/
Thumbs.db
*.icloud
thumbnail_kvstore*
octave-workspace
.bash_history
file_watcher.pid
nginx_signing*
*.sock
*.sock.lock
pip*.txt
pylint_result.txt
*.bk

# -----------------------------------------------------------------------------
# KEYS & TEMPORARY FILES
# -----------------------------------------------------------------------------

*.pem
*.pub
configs/vault/
configs/aws/*/compose.temp.yml
configs/aws/*/aws-credentials.json
configs/aws/*/db.sql
configs/aws/*/compose.temp.yml
configs/aws/*/db.creds.json
configs/aws/*/db.sql
configs/aws/*/dns-add-record.json
configs/aws/*/dns-delete-record.json
configs/vault/
*.pem
*.pub
*.log
*.tar.gz

# -----------------------------------------------------------------------------
# IDEs and Editors
# IDEs and EDITORS
# -----------------------------------------------------------------------------

.DS_Store
.c9/
.classpath
.idea/
.history/
.mr.developer.cfg
.idea/
.settings/
.classpath
.project
.mr.developer.cfg
.pydevproject
.settings/
*.chproj
*.launch
*.sublime-*
*.sublime-workspace

# VS code
.vscode/
.vscode/*
!.vscode/extensions.json
!.vscode/launch.json
!.vscode/settings.json
!.vscode/tasks.json

# -----------------------------------------------------------------------------
# Python / Django / Jupyter
# -----------------------------------------------------------------------------

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Translations
*.mo
*.pot

# Environments
ENV/
env/
env.bak/
env_*/
env3/
venv/
venv.bak/
.env/
.venv/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mypy
mypyls/
.mypy_cache/
dmypy.json
.dmypy.json

# Pyre type checker
.pyre/

# Physical quantities module (Valispace version)
src/pint

# Personal configurations
local.py
result.json

# Django stuff
*.box
*.log
*.pyc
*.pyo
bower_components/
configs/vault/
deployment_*.py
dump.rdb
nohup.out
octave-core
parser.out
parsetab.py
personal_data/
/backups
/mod_wsgi-4.4.21/*
/postgres-data
/redis-stable
local_settings.py
db.sqlite3
media/
static/
staticfiles/

# Flask stuff
instance/
.webassets-cache

# Scrapy stuff
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints/
*.ipynb

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Test file
xyz.py

# -----------------------------------------------------------------------------
# GIT / NPM
# -----------------------------------------------------------------------------

.npmrc

# -----------------------------------------------------------------------------
# TESTING / COVERAGE
# DOCKER
# -----------------------------------------------------------------------------

htmlcov/
.tox/
.nox/
coverage/
coverage.xml
.coverage
.coverage.*
*.cover
.cache
nosetests.xml
.hypothesis/
.pytest_cache/
.pytest-queries
.scannerwork/

# -----------------------------------------------------------------------------
# Docker
# -----------------------------------------------------------------------------
docker-compose.override.yml
docker-compose.local.yml
local.yml

# -----------------------------------------------------------------------------
# Stress Testing
# -----------------------------------------------------------------------------
stress_test/*.conf
stress_test/results/*
# Unit test / coverage reports
.coverage
.pytest_cache/

# Physical quantities module (Valispace version)
src/pint
Loading