Skip to content

Commit

Permalink
ci: test apprunner yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
montoyaobeso committed Jun 10, 2024
1 parent e530a51 commit 76d6e66
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
2 changes: 0 additions & 2 deletions apprunner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ build:
commands:
build:
- pip3 install -r requirements.txt
- pipenv install

run:
runtime-version: 3.11
command: python3 server.py
Expand Down
24 changes: 12 additions & 12 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@


from src.api.routers import (
account,
load_transactions,
load_transactions_s3,
presiged_url,
root,
send_balance,
transaction,
# account,
# load_transactions,
# load_transactions_s3,
# presiged_url,
# send_balance,
# transaction,
)

app = FastAPI(
Expand All @@ -27,12 +27,12 @@
)

app.include_router(root.router)
app.include_router(account.router)
app.include_router(transaction.router)
app.include_router(presiged_url.router)
app.include_router(load_transactions.router)
app.include_router(load_transactions_s3.router)
app.include_router(send_balance.router)
# app.include_router(account.router)
# app.include_router(transaction.router)
# app.include_router(presiged_url.router)
# app.include_router(load_transactions.router)
# app.include_router(load_transactions_s3.router)
# app.include_router(send_balance.router)


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Resources:
SourceConfiguration:
AuthenticationConfiguration:
ConnectionArn: !Ref AppRunnerConnectionArn
AutoDeploymentsEnabled: true
AutoDeploymentsEnabled: false
CodeRepository:
RepositoryUrl: "https://github.com/montoyaobeso/transactions-email-generator"
SourceCodeVersion:
Expand Down

0 comments on commit 76d6e66

Please sign in to comment.