Skip to content

Commit

Permalink
Merge branch 'alpha' into slimming-container
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBenson authored Sep 2, 2023
2 parents 11c3b57 + 63f9d77 commit 236b479
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/Build/dbsync.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ Updating dbsync can have different tasks depending on the versions involved. We

- Shutdown dbsync (eg: `sudo systemctl stop cnode-dbsync`)
- Update binaries (either download pre-compiled binaries via [guild-deploy.sh](../basics.md#pre-requisites) or using build instructions above)
- Go to your git folder, pull and checkout to latest version as in example below (if you were to switch to `13.1.0.2`):
- Go to your git folder, pull and checkout to latest version as in example below (if you were to switch to `13.1.1.3`):

``` bash
cd ~/git/cardano-db-sync
git pull
git checkout 13.1.0.2
git checkout 13.1.1.3
```

- If going through major version update (eg: 13.x.x.x to 14.x.x.x), you might need to [rebuild and resync db from scratch](#prepare-db-for-sync), you may still follow the section to restore using snapshot to save some time (as long as you use a compatible snapshot).
Expand Down
2 changes: 1 addition & 1 deletion scripts/cnode-helper-scripts/guild-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ download_cnodebins() {
[[ -f cardano-address ]] || err_exit " cardano-address archive downloaded but binary (bin/cardano-address) not found after extracting package!"
if [[ "${SKIP_DBSYNC_DOWNLOAD}" == "N" ]]; then
echo -e "\n Downloading Cardano DB Sync archive created from IO CI Builds.."
curl -m 200 -sfL https://update-cardano-mainnet.iohk.io/cardano-db-sync/cardano-db-sync-13.1.0.2-linux.tar.gz -o cnodedbsync.tar.gz || err_exit " Could not download cardano-db-sync's latest release archive from IO CI builds at hydra.iohk.io!"
curl -m 200 -sfL https://github.com/input-output-hk/cardano-db-sync/releases/download/13.1.1.3/cardano-db-sync-13.1.1.3-linux.tar.gz -o cnodedbsync.tar.gz || err_exit " Could not download cardano-db-sync's latest release archive from IO CI builds at hydra.iohk.io!"
tar zxf cnodedbsync.tar.gz ./cardano-db-sync &>/dev/null
[[ -f cardano-db-sync ]] || err_exit " cardano-db-sync archive downloaded but binary (cardano-db-sync) not found after extracting package!"
rm -f cnodedbsync.tar.gz
Expand Down

0 comments on commit 236b479

Please sign in to comment.