forked from vulcanize/vulcanizedb
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging -> master (will be v0.0.13-rc1) (#56)
* (VDB-1164) Get node name from web3_clientVersion Use IPC path as node ID * 1189 new move transformer interfaces (#48) * Move storage Transformer interface to storage pkg * Handle new storage transformer interface in plugin writer * Add additional storage value loader logging * Move event transformer interface to factories/event pkg * Handle new event transformer interface location in plugin writer * Memoize an transformer's keccakedAddress * Update resetHeaderCheckCount docker setup (#50) * 1189 fix (#52) * Update ITransformer.GetStorageKeysLookup to return a KeysLookup * Update custom-transformers.md with new transformer paths * TO-879:docker ci (#40) * dockerhub via travis * add extract-diffs * add reset-header-check * (VDB-1207) Remove non-essential smart comments (#53) - configure via postgraphile.tags.json5 instead * Update postgres version in travis build (#54) * Update postgres version in travis build to 11.6 this is the most recent posgres version available in RDS at the moment * update travis secrets (#55) Co-authored-by: Gabe Laughlin <gabe@bistrotech.net> Co-authored-by: daimesava <56128157+daimesava@users.noreply.github.com> Co-authored-by: Rob Mulholand <rmulholand@8thlight.com>
- Loading branch information
1 parent
b6b676e
commit 426d44b
Showing
42 changed files
with
284 additions
and
326 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#! /usr/bin/env bash | ||
|
||
set -e | ||
|
||
function message() { | ||
echo | ||
echo ----------------------------------- | ||
echo "$@" | ||
echo ----------------------------------- | ||
echo | ||
} | ||
|
||
ENVIRONMENT=$1 | ||
if [ "$ENVIRONMENT" == "prod" ]; then | ||
TAG=latest | ||
elif [ "$ENVIRONMENT" == "staging" ]; then | ||
TAG=staging | ||
else | ||
message UNKNOWN ENVIRONMENT | ||
fi | ||
|
||
if [ -z "$ENVIRONMENT" ]; then | ||
echo 'You must specifiy an envionrment (bash deploy.sh <ENVIRONMENT>).' | ||
echo 'Allowed values are "staging" or "prod"' | ||
exit 1 | ||
fi | ||
|
||
message BUILDING HEADER-SYNC | ||
docker build -f dockerfiles/header_sync/Dockerfile . -t makerdao/vdb-headersync:$TAG | ||
|
||
message BUILDING EXTRACT-DIFFS | ||
docker build -f dockerfiles/extract_diffs/Dockerfile . -t makerdao/vdb-extract-diffs:$TAG | ||
|
||
message BUILDING RESET-HEADER-CHECK | ||
docker build -f dockerfiles/reset_header_check_count/Dockerfile . -t makerdao/vdb-reset-header-check:$TAG | ||
|
||
message LOGGING INTO DOCKERHUB | ||
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USER" --password-stdin | ||
|
||
message PUSHING HEADER-SYNC | ||
docker push makerdao/vdb-headersync:$TAG | ||
|
||
message PUSHING EXTRACT-DIFFS | ||
docker push makerdao/vdb-extract-diffs:$TAG | ||
|
||
message PUSHING RESET-HEADER-CHECK | ||
docker push makerdao/vdb-reset-header-check:$TAG | ||
|
||
# message DEPLOYING SERVICE |
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
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
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
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
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
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
Oops, something went wrong.