-
Notifications
You must be signed in to change notification settings - Fork 10
update infra #584
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
Merged
Merged
update infra #584
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
2e9be92
update infra
chrisaddy 76aeba8
Update infrastructure/services.py
chrisaddy cb2679a
Update infrastructure/services.py
chrisaddy ae44591
Update application/predictionengine/compose.yaml
chrisaddy 3ed0444
Update infrastructure/__main__.py
chrisaddy 14c55ef
Update infrastructure/__main__.py
chrisaddy 371d94a
Grant storage access
chrisaddy 972763d
Merge pull request #586 from pocketsizefund/codex/fix-google-cloud-st…
chrisaddy c8991d4
Update infrastructure/__main__.py
chrisaddy 23c374f
Merge pull request #587 from pocketsizefund/fix/infra
chrisaddy 793af48
add type annotations where missing
chrisaddy 7119965
add ANN type annotations and fix for ruff
chrisaddy 0299c66
ruff fixes
chrisaddy 5e446fc
add fastapi linting
chrisaddy 72d0ed9
no blind exceptions
chrisaddy 40d4c92
fix boolean traps
chrisaddy 2c5ba7e
fix boolean traps
chrisaddy 3a32137
lint error messages
chrisaddy e4d82f0
a bunch of linting
chrisaddy 1a5a91e
leftover linting
chrisaddy 1d47854
update infra
chrisaddy b4d34b7
fix linting
chrisaddy 03e64e3
Update pyproject.toml
chrisaddy c6f4356
add type annotations where missing
chrisaddy 2767014
ruff fixes
chrisaddy f02beec
add fastapi linting
chrisaddy bfcc52f
no blind exceptions
chrisaddy 4bd5c41
fix boolean traps
chrisaddy 767c4c1
fix boolean traps
chrisaddy 7c1320c
lint error messages
chrisaddy 1ec02e3
a bunch of linting
chrisaddy 6395b00
leftover linting
chrisaddy dcb94c4
add type annotations where missing
chrisaddy 18a1900
ruff fixes
chrisaddy 74507d3
add fastapi linting
chrisaddy 19bac73
no blind exceptions
chrisaddy 9b4f762
fix boolean traps
chrisaddy bda7641
fix boolean traps
chrisaddy 31e33f9
lint error messages
chrisaddy a48edb9
a bunch of linting
chrisaddy c5b1be2
leftover linting
chrisaddy 117ebf1
fix linting
chrisaddy e79e60c
Merge branch 'master' into infra-updates
chrisaddy 3007ebc
rebasing
chrisaddy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| name: predictionengine integration tests | ||
|
|
||
| services: | ||
| predictionengine: | ||
| build: | ||
| context: . | ||
| dockerfile: Dockerfile | ||
| ports: | ||
| - 8080:8080 | ||
| environment: | ||
| - DATAMANAGER_BASE_URL=${DATAMANAGER_BASE_URL} | ||
| volumes: | ||
| - ./:/app/predictionengine | ||
| - ~/.config/gcloud/application_default_credentials.json:/root/.config/gcloud/application_default_credentials.json:ro | ||
| healthcheck: | ||
| test: ["CMD", "curl", "-f", "http://0.0.0.0:8080/health"] | ||
| interval: 10s | ||
| timeout: 5s | ||
| retries: 3 | ||
| start_period: 1s | ||
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.