Skip to content

Commit

Permalink
Revert "[#181] Implement hotfix for SanchoNet Cardano DB Sync configu…
Browse files Browse the repository at this point in the history
…ration issue"

This reverts commit b55a3a9.

There is a solution made for
IntersectMBO/cardano-db-sync#1629 involving a
new image release.

The new image is ghcr.io/intersectmbo/cardano-db-sync:sancho-4-0-0-fix-config.

We will use the official solution instead of my hotfix, hence this
revert. We also want to document our efforts that's why we do not simply
romowe the reverted commit from the history.
  • Loading branch information
placek authored and pmbinapps committed Feb 16, 2024
1 parent 8b72f84 commit df07dc2
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 167 deletions.
72 changes: 0 additions & 72 deletions scripts/govtool/dbsync/govtool-dbsync

This file was deleted.

81 changes: 0 additions & 81 deletions scripts/govtool/dbsync/govtool-entrypoint

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/govtool/dbsync/govtool-sanchonet

This file was deleted.

4 changes: 0 additions & 4 deletions scripts/govtool/docker-compose.sanchonet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,9 @@ services:
- postgres_password
- postgres_user
- postgres_db
entrypoint:
- /scripts/govtool-entrypoint
volumes:
- db-sync-data:/var/lib/cexplorer
- node-ipc:/node-ipc
- /home/ubuntu/config/cardano-node:/configuration
- /home/ubuntu/config/dbsync-scripts:/scripts
restart: always
logging: *logging

Expand Down
7 changes: 0 additions & 7 deletions scripts/govtool/prepare-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ config_dir="$repo_root_dir/scripts/govtool/config"
target_config_dir="$repo_root_dir/scripts/govtool/config/target"
mkdir -p "$target_config_dir"

# prepare a scripts directory for the DBSync entrypoint
dbsync_scripts_dir="$target_config_dir/dbsync-scripts"
mkdir -p "$dbsync_scripts_dir"
cp "$repo_root_dir/scripts/govtool/dbsync/govtool-entrypoint" "$dbsync_scripts_dir/govtool-entrypoint"
cp "$repo_root_dir/scripts/govtool/dbsync/govtool-sanchonet" "$dbsync_scripts_dir/govtool-sanchonet"
cp "$repo_root_dir/scripts/govtool/dbsync/govtool-dbsync" "$dbsync_scripts_dir/govtool-dbsync"

# cardano node config
cardano_node_config_dir="$target_config_dir/cardano-node"
mkdir -p "$cardano_node_config_dir"
Expand Down

0 comments on commit df07dc2

Please sign in to comment.