-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade base blockscout version to 5.3.1-beta
- Loading branch information
Showing
8 changed files
with
75 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -14,3 +14,5 @@ artifacts | |
# data generated by execution of tool(s) | ||
tools/*.bytecode | ||
tools/*.address_hash | ||
|
||
postgres-data/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Submodule blockscout-base
updated
549 files
13 changes: 0 additions & 13 deletions
13
blockscout/patches/0003-parse-database-url-password-period.patch
This file was deleted.
Oops, something went wrong.
This file contains 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 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,33 @@ | ||
# UPGRADING_BASE_BLOCKSCOUT_VERSION | ||
|
||
## Building | ||
|
||
Checkout a branch from the current version of this repo, then cd into the blockscout source code dir and checkout the tag you wish to update | ||
|
||
```bash | ||
cd $repo_dir | ||
cd blockscout/blockscout-base/ | ||
git checkout v5.3.1-beta | ||
``` | ||
|
||
Test custom kava patches locally will apply to avoid long dev cycles building production container | ||
|
||
```bash | ||
cd $repo_dir | ||
cd blockscout/blockscout-base/ | ||
git apply ../patches/*.patch | ||
``` | ||
|
||
if all patches apply with no error message, move on, else modify / delete / integrate patches with latest updated blockscout source code as needed | ||
|
||
## Publishing Official Versions | ||
|
||
Update values of `PRODUCTION_IMAGE_TAG`` and`BLOCKSCOUT_VERSION` in `.env` file | ||
|
||
Open a PR | ||
|
||
[Example PR](https://github.com/Kava-Labs/kava-blockscout-build/pull/19) | ||
|
||
Once PR is approved, merge and new containers will be published | ||
|
||
Deploy to production by updating [value for image tag](https://github.com/Kava-Labs/infrastructure/blob/master/terraform/product/production/us-east-1/blockscout-mainnet/service/terragrunt.hcl#L56) and running `terragrunt apply` |