Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part 1: infra changes #70

Open
wants to merge 4 commits into
base: backend+accounts+rankings
Choose a base branch
from
Open

Conversation

AlexandreOndet
Copy link
Contributor

@AlexandreOndet AlexandreOndet commented Nov 8, 2023

That's a first step for merging #50.
The new files introduced in this PR allow to :

  • Have a dev environment using docker-compose (and the datastore emulator).
  • Configure the google cloud environment
  • Automate deployment with a script

Since this PR contain mostly config files, running the project is the test.

@AlexandreOndet AlexandreOndet linked an issue Nov 21, 2023 that may be closed by this pull request
Copy link
Member

@JonEsparaz JonEsparaz left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, @AlexandreOndet.

A few comments to be addressed and a few questions, which might spawn some addition items that need to be fixed.

Additionally, please add some details to the PR description. At minimum please:

  • Document what the code and config introduced in this PR does
  • State how this PR should be tested

.gcloudignore Outdated Show resolved Hide resolved
docker-compose.yaml Outdated Show resolved Hide resolved
@@ -0,0 +1,134 @@
#!/usr/bin/env bash
Copy link
Member

@JonEsparaz JonEsparaz Dec 16, 2023

Choose a reason for hiding this comment

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

Is there a particular reason why this is a bash script?

I feel that a Python script would be more readable for most people. I would expect that the environment that this script will be run on (either CI or a developer's machine) would have Python install.

docker-compose.yaml Outdated Show resolved Hide resolved
app/app.yaml Show resolved Hide resolved
@@ -0,0 +1,13 @@
FROM node:16-alpine AS development
Copy link
Member

Choose a reason for hiding this comment

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

Again, Node v20 would be preferred.

Additionally, is there a reason why you're using an Alpine image? Alpine can be the cause of many issues.

Dockerfile Outdated Show resolved Hide resolved
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.

Migrate hosting to Google Cloud
2 participants