Skip to content

Feat/angi integration#1

Open
Saga2201 wants to merge 3 commits into
devfrom
feat/angi-integration
Open

Feat/angi integration#1
Saga2201 wants to merge 3 commits into
devfrom
feat/angi-integration

Conversation

@Saga2201

Copy link
Copy Markdown

No description provided.

DEV_DB_PASSWORD:projects/${{secrets.GCP_PROJECT_NUMBER}}/secrets/DEV_DB_PASSWORD
DEV_DB_USER:projects/${{secrets.GCP_PROJECT_NUMBER}}/secrets/DEV_DB_USER


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add these

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What needs to be added here bro? Like I didn't got your message here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cache related variables are not added.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which are commented below

Comment thread Dockerfile Outdated

WORKDIR /app

COPY requirements.txt .

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would recommend COPY . .

instead of COPY for each file.

Comment thread Makefile
@@ -0,0 +1,10 @@
.PHONY: test lint format

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this being used for running pre-commit while building docker image?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it is not.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please remove if any of the files are not needed?

Comment thread app.py Outdated
Comment thread docker-compose.local.yml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file not needed in prod

Comment thread entrypoint.sh Outdated
DEV_DB_PASSWORD:projects/${{secrets.GCP_PROJECT_NUMBER}}/secrets/DEV_DB_PASSWORD
DEV_DB_USER:projects/${{secrets.GCP_PROJECT_NUMBER}}/secrets/DEV_DB_USER


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which are commented below

Comment thread Makefile
@@ -0,0 +1,10 @@
.PHONY: test lint format

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please remove if any of the files are not needed?

Comment thread app.yaml
@@ -0,0 +1,6 @@
runtime: python310

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this is not needed. we have deploy.yml already to deploy things.

Comment thread docker-compose.local.yml
@@ -0,0 +1,31 @@
services:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file not needed for prod

Comment thread migrations/alembic.ini

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have any initial migrations generated? if not, we need to generate them and add it to the code. We cant generate migrations in prod.

Comment thread src/config.py
@@ -0,0 +1,37 @@
import os

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the logic to add environment as suffix is not added. The variable names should be environment independent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants