Update 3 files

This commit is contained in:
Thaís Ferreira 2024-11-28 18:02:58 +00:00 committed by juan manoel
parent 4d7afbf97b
commit 7a1447b460
3 changed files with 232 additions and 0 deletions

89
.dockerignore Normal file
View File

@ -0,0 +1,89 @@
# Git
.git
.gitignore
.gitattributes
# CI
.codeclimate.yml
.travis.yml
.taskcluster.yml
# Docker
docker-compose.yml
Dockerfile
.docker
.dockerignore
# Byte-compiled / optimized / DLL files
**/__pycache__/
**/*.py[cod]
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# 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
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml
# Translations
*.mo
*.pot
# Django stuff:
*.log
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Virtual environment
.env
.venv/
venv/
# PyCharm
.idea
# Python mode for VIM
.ropeproject
**/.ropeproject
# Vim swap files
**/*.swp
# VS Code
.vscode/

96
.gitignore vendored Normal file
View File

@ -0,0 +1,96 @@
# 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
# Virtual environments
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# IDE specific settings
.vscode/
.idea/
*.sublime-project
*.sublime-workspace
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# dotenv
.env
.venv
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# Profiling data
.prof
# Test coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
lmodel/__pycache__/
tests/__pycache__/
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/

47
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,47 @@
stages:
- build
- check
- publish
- deploy
variables:
PROJECT_NAME: "api-face-recognition"
build:
stage: build
script:
- make build
only:
- main
tags:
- cat-squid
check:
stage: check
script:
- make check
only:
- main
tags:
- cat-squid
publish:
stage: publish
script:
- make login-aws
- make publish
only:
- main
tags:
- cat-squid
deploy:
stage: deploy
script:
- make deploy-ci
only:
- main
tags:
- cat-squid