Skip to content

Commit

Permalink
feat(deployment): build push simple services
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoSkorJjj committed Apr 19, 2024
1 parent f808180 commit a993651
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
3 changes: 1 addition & 2 deletions backend/simple/contents/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ def main():
dotenv.load_dotenv()
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')

main()

main()
3 changes: 2 additions & 1 deletion backend/simple/fileprocessor/src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ async def serve():
await server.wait_for_termination()

if __name__ == '__main__':
asyncio.run(serve())
asyncio.run(serve())

3 changes: 2 additions & 1 deletion backend/simple/notes/src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ async def serve():
logger.error(f'Unexpected error: {e}', exc_info=True)

if __name__ == '__main__':
asyncio.run(serve())
asyncio.run(serve())

2 changes: 1 addition & 1 deletion backend/simple/payment/src/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
server.handle(PaymentServicer.new)
server.handle(HealthServicer.new)

server.run_till_terminated
server.run_till_terminated
2 changes: 1 addition & 1 deletion backend/simple/subscriptions/src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ int main() {
server->Wait();

return 0;
}
}
2 changes: 1 addition & 1 deletion backend/simple/user-storage/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import Server from './server/server';
dotenv.config();

const server: Server = Server.getInstance();
server.start();
server.start();

0 comments on commit a993651

Please sign in to comment.