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

Move PubSub to infrastructure as code #104

Merged
merged 6 commits into from
Jan 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Clean up and remove Cloud Run min instances
  • Loading branch information
gchristov committed Jan 14, 2024
commit 1a0fb18c6436f7236eacb2f8aebda799b789c798
1 change: 0 additions & 1 deletion .github/workflows/check_gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ env:
APP_LOG_LEVEL: ${{ secrets.APP_LOG_LEVEL }}
APP_NETWORK_HTML_LOG_LEVEL: ${{ secrets.APP_NETWORK_HTML_LOG_LEVEL }}
APP_NETWORK_JSON_LOG_LEVEL: ${{ secrets.APP_NETWORK_JSON_LOG_LEVEL }}
APP_PUBLIC_URL: ${{ secrets.APP_PUBLIC_URL }}
SEARCH_PRELOAD_PUBSUB_TOPIC: ${{ secrets.SEARCH_PRELOAD_PUBSUB_TOPIC }}

jobs:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy_gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ env:
APP_LOG_LEVEL: ${{ secrets.APP_LOG_LEVEL }}
APP_NETWORK_HTML_LOG_LEVEL: ${{ secrets.APP_NETWORK_HTML_LOG_LEVEL }}
APP_NETWORK_JSON_LOG_LEVEL: ${{ secrets.APP_NETWORK_JSON_LOG_LEVEL }}
APP_PUBLIC_URL: ${{ secrets.APP_PUBLIC_URL }}
SEARCH_PRELOAD_PUBSUB_TOPIC: ${{ secrets.SEARCH_PRELOAD_PUBSUB_TOPIC }}

jobs:
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ SLACK_MONITORING_URL=YOUR_SLACK_MONITORING_URL
APP_LOG_LEVEL=debug|verbose|error|info
APP_NETWORK_HTML_LOG_LEVEL=all|info|none
APP_NETWORK_JSON_LOG_LEVEL=all|info|none
APP_PUBLIC_URL=YOUR_PUBLIC_APP_URL
SEARCH_PRELOAD_PUBSUB_TOPIC=TOPIC_NAME
```
6. Copy the `credentials-gcp-app.json` Service Account JSON API key to the root of the project.
Expand Down
1 change: 0 additions & 1 deletion env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ echo SLACK_MONITORING_URL="$SLACK_MONITORING_URL" >> ./env.properties
echo APP_LOG_LEVEL="$APP_LOG_LEVEL" >> ./env.properties
echo APP_NETWORK_HTML_LOG_LEVEL="$APP_NETWORK_HTML_LOG_LEVEL" >> ./env.properties
echo APP_NETWORK_JSON_LOG_LEVEL="$APP_NETWORK_JSON_LOG_LEVEL" >> ./env.properties
echo APP_PUBLIC_URL="$APP_PUBLIC_URL" >> ./env.properties
echo SEARCH_PRELOAD_PUBSUB_TOPIC="$SEARCH_PRELOAD_PUBSUB_TOPIC" >> ./env.properties
2 changes: 1 addition & 1 deletion pulumi/Pulumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ resources:
maxInstanceRequestConcurrency: 80
scaling:
maxInstanceCount: 100
minInstanceCount: 1
minInstanceCount: 0
timeout: 300s
traffics:
- percent: 100
Expand Down