Skip to content

Commit

Permalink
Han 55: Deployment microservice (#3)
Browse files Browse the repository at this point in the history
## Linked ticket in Jira
- https://hanagotchi.atlassian.net/browse/HAN-55

## Describe your changes, marking the new features and possible risks
- Se desplegó el microservicio en Heroku junto a la base de datos
PostgreSQL.
- Se recomienda leer el documento relacionado de
https://docs.google.com/document/d/15BeG5qSsqijsD0bUxlW2gYuGNDYbyXqj5GzICZjJOCU/edit
el cual detalla los cambios a tener en cuenta para desplegar los
microservicios futuros.
  • Loading branch information
Agustinefe authored Mar 16, 2024
2 parents 18bd2e5 + 93268ea commit 91b6d51
Show file tree
Hide file tree
Showing 24 changed files with 589 additions and 549 deletions.
21 changes: 14 additions & 7 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
POSTGRES_HOST=
POSTGRES_PORT=
DATABASE_URL=
GOOGLE_CLIENT_ID=
# Users service
LOGGING_LEVEL=
PORT=

# Postgres
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_HOST=
POSTGRES_PORT=
POSTGRES_DB=
POSTGRES_SCHEMA=

# Google
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
68 changes: 34 additions & 34 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@

name: Linters

on: 'push'

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: Install Python dependencies
run: pip install black flake8

- name: Run linters
uses: wearerequired/lint-action@v1
with:
black: true

- name: flake8 Lint
uses: py-actions/flake8@v1.2.0
with:
max-line-length: "78"

- name: GitHub Action for pylint
uses: cclauss/GitHub-Action-for-pylint@0.7.0

name: Linters

on: 'push'

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8

- name: Install Python dependencies
run: pip install black flake8

- name: Run linters
uses: wearerequired/lint-action@v1
with:
black: true

- name: flake8 Lint
uses: py-actions/flake8@v1.2.0
with:
max-line-length: "78"

- name: GitHub Action for pylint
uses: cclauss/GitHub-Action-for-pylint@0.7.0

Loading

0 comments on commit 91b6d51

Please sign in to comment.