Skip to content

Commit

Permalink
Remove unused fake DB sync configurations from deployment setup
Browse files Browse the repository at this point in the history
Eliminated unnecessary fake database synchronization settings from the
GitHub Actions deployment workflow and the backend configuration
template. This action streamlines the deployment and configuration
process by removing redundant settings, focusing solely on the essential
configurations required for real database synchronization. The
simplification contributes to clearer, more maintainable deployment
scripts and backend configuration, ensuring an efficient setup for
actual operational needs.
  • Loading branch information
placek authored and pmbinapps committed Mar 7, 2024
1 parent 00ab083 commit f4ce07e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jobs:
DBSYNC_POSTGRES_DB: "cexplorer"
DBSYNC_POSTGRES_USER: "postgres"
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb"
FAKEDBSYNC_POSTGRES_DB: "govtool"
FAKEDBSYNC_POSTGRES_USER: "test"
FAKEDBSYNC_POSTGRES_PASSWORD: "test"
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }}
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }}
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }}
Expand Down
7 changes: 0 additions & 7 deletions scripts/govtool/config/templates/backend-config.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
"password" : "DBSYNC_POSTGRES_PASSWORD",
"port" : 5432
},
"fakedbsyncconfig" : {
"host" : "postgres-fakedbsync",
"dbname" : "FAKEDBSYNC_POSTGRES_DB",
"user" : "FAKEDBSYNC_POSTGRES_USER",
"password" : "FAKEDBSYNC_POSTGRES_PASSWORD",
"port" : 5432
},
"port" : 9876,
"host" : "0.0.0.0",
"cachedurationseconds": 20,
Expand Down

0 comments on commit f4ce07e

Please sign in to comment.