From f67953146ed0975234752b565130a399ed107846 Mon Sep 17 00:00:00 2001 From: Dmitri Tsumak Date: Mon, 30 May 2022 02:09:16 +0300 Subject: [PATCH] Fix bucket name for harbour mainnet (#91) --- deploy/gnosis/docker-compose.yml | 4 ++-- deploy/goerli/docker-compose.yml | 4 ++-- deploy/harbour_goerli/docker-compose.yml | 4 ++-- deploy/harbour_mainnet/docker-compose.yml | 4 ++-- deploy/mainnet/docker-compose.yml | 4 ++-- oracle/networks.py | 3 ++- pyproject.toml | 2 +- 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/deploy/gnosis/docker-compose.yml b/deploy/gnosis/docker-compose.yml index f7593db..f772339 100644 --- a/deploy/gnosis/docker-compose.yml +++ b/deploy/gnosis/docker-compose.yml @@ -24,7 +24,7 @@ networks: services: oracle: container_name: oracle_gnosis - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/oracle/main.py"] @@ -34,7 +34,7 @@ services: keeper: container_name: keeper_gnosis - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/keeper/main.py"] diff --git a/deploy/goerli/docker-compose.yml b/deploy/goerli/docker-compose.yml index a205bdf..3fdb9a5 100644 --- a/deploy/goerli/docker-compose.yml +++ b/deploy/goerli/docker-compose.yml @@ -26,7 +26,7 @@ networks: services: oracle: container_name: oracle_goerli - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/oracle/main.py"] @@ -36,7 +36,7 @@ services: keeper: container_name: keeper_goerli - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/keeper/main.py"] diff --git a/deploy/harbour_goerli/docker-compose.yml b/deploy/harbour_goerli/docker-compose.yml index cba4d0b..9c16527 100644 --- a/deploy/harbour_goerli/docker-compose.yml +++ b/deploy/harbour_goerli/docker-compose.yml @@ -26,7 +26,7 @@ networks: services: oracle: container_name: oracle_harbour_goerli - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/oracle/main.py"] @@ -36,7 +36,7 @@ services: keeper: container_name: keeper_harbour_goerli - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/keeper/main.py"] diff --git a/deploy/harbour_mainnet/docker-compose.yml b/deploy/harbour_mainnet/docker-compose.yml index c6eb836..8fdf8ef 100644 --- a/deploy/harbour_mainnet/docker-compose.yml +++ b/deploy/harbour_mainnet/docker-compose.yml @@ -26,7 +26,7 @@ networks: services: oracle: container_name: oracle_harbour_mainnet - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/oracle/main.py"] @@ -36,7 +36,7 @@ services: keeper: container_name: keeper_harbour_mainnet - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/keeper/main.py"] diff --git a/deploy/mainnet/docker-compose.yml b/deploy/mainnet/docker-compose.yml index cadf81f..ec62356 100644 --- a/deploy/mainnet/docker-compose.yml +++ b/deploy/mainnet/docker-compose.yml @@ -26,7 +26,7 @@ networks: services: oracle: container_name: oracle_mainnet - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/oracle/main.py"] @@ -36,7 +36,7 @@ services: keeper: container_name: keeper_mainnet - image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.2 + image: europe-west4-docker.pkg.dev/stakewiselabs/public/oracle:v2.5.3 restart: always entrypoint: ["python"] command: ["oracle/keeper/main.py"] diff --git a/oracle/networks.py b/oracle/networks.py index f683e57..4d097ac 100644 --- a/oracle/networks.py +++ b/oracle/networks.py @@ -147,7 +147,8 @@ f"{HARBOUR_MAINNET_UPPER}_ORACLE_PRIVATE_KEY", default="" ), AWS_BUCKET_NAME=config( - f"{HARBOUR_MAINNET_UPPER}_AWS_BUCKET_NAME", default="oracle-votes-mainnet" + f"{HARBOUR_MAINNET_UPPER}_AWS_BUCKET_NAME", + default="oracle-votes-harbour-mainnet", ), AWS_REGION=config(f"{HARBOUR_MAINNET_UPPER}_AWS_REGION", default="us-east-1"), AWS_ACCESS_KEY_ID=config( diff --git a/pyproject.toml b/pyproject.toml index ffba1d3..97b90ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "oracle" -version = "2.5.2" +version = "2.5.3" description = "StakeWise Oracles are responsible for submitting off-chain data." authors = ["Dmitri Tsumak "] license = "AGPL-3.0-only"