Merge branch 'master' into bvander/deploy-to-k8s-dev
This commit is contained in:
commit
79d29689f9
@ -10,9 +10,10 @@ COPY requirements.txt .
|
|||||||
|
|
||||||
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
|
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
|
||||||
ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple"
|
ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple"
|
||||||
|
ARG EXTRA_PIP_ARGS=""
|
||||||
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
|
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
|
||||||
pip install --index-url https://pypi.org/simple \
|
pip install --index-url https://pypi.org/simple \
|
||||||
--extra-index-url $GITLAB_PYTHON_REGISTRY --extra-index-url $EXTRA_INDEX_URL \
|
--extra-index-url $GITLAB_PYTHON_REGISTRY --extra-index-url $EXTRA_INDEX_URL $EXTRA_PIP_ARGS \
|
||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@ -10,8 +10,9 @@ COPY requirements.txt .
|
|||||||
|
|
||||||
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
|
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
|
||||||
ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple"
|
ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple"
|
||||||
|
ARG EXTRA_PIP_ARGS=""
|
||||||
RUN pip install --index-url https://pypi.org/simple \
|
RUN pip install --index-url https://pypi.org/simple \
|
||||||
--extra-index-url $GITLAB_PYTHON_REGISTRY --extra-index-url $EXTRA_INDEX_URL \
|
--extra-index-url $GITLAB_PYTHON_REGISTRY --extra-index-url $EXTRA_INDEX_URL $EXTRA_PIP_ARGS \
|
||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@ -10,6 +10,6 @@ celery==4.4.7
|
|||||||
redis==3.5.3
|
redis==3.5.3
|
||||||
chainsyncer[sql]>=0.0.6a1,<0.1.0
|
chainsyncer[sql]>=0.0.6a1,<0.1.0
|
||||||
erc20-faucet>=0.3.2a1, <0.4.0
|
erc20-faucet>=0.3.2a1, <0.4.0
|
||||||
chainlib-eth==0.0.9a2
|
chainlib-eth>=0.0.9a3,<0.1.0
|
||||||
chainlib==0.0.9a2
|
chainlib>=0.0.9a2,<0.1.0
|
||||||
eth-address-index>=0.2.3a1,<0.3.0
|
eth-address-index>=0.2.3a1,<0.3.0
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
SQLAlchemy==1.3.20
|
SQLAlchemy==1.3.20
|
||||||
cic-eth-registry>=0.6.1a1,<0.7.0
|
cic-eth-registry>=0.6.1a2,<0.7.0
|
||||||
hexathon~=0.0.1a8
|
hexathon~=0.0.1a8
|
||||||
chainqueue>=0.0.3a2,<0.1.0
|
chainqueue>=0.0.3a2,<0.1.0
|
||||||
eth-erc20>=0.1.2a1,<0.2.0
|
eth-erc20>=0.1.2a2,<0.2.0
|
||||||
|
@ -10,7 +10,7 @@ version = (
|
|||||||
0,
|
0,
|
||||||
12,
|
12,
|
||||||
4,
|
4,
|
||||||
'alpha.3',
|
'alpha.4',
|
||||||
)
|
)
|
||||||
|
|
||||||
version_object = semver.VersionInfo(
|
version_object = semver.VersionInfo(
|
||||||
|
@ -8,6 +8,7 @@ FROM registry.gitlab.com/grassrootseconomics/cic-base-images:python-3.8.6-dev-55
|
|||||||
|
|
||||||
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
|
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
|
||||||
ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple"
|
ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple"
|
||||||
|
ARG EXTRA_PIP_ARGS=""
|
||||||
#RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
|
#RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
|
||||||
# pip install --index-url https://pypi.org/simple \
|
# pip install --index-url https://pypi.org/simple \
|
||||||
# --force-reinstall \
|
# --force-reinstall \
|
||||||
@ -18,6 +19,7 @@ RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
|
|||||||
pip install --index-url https://pypi.org/simple \
|
pip install --index-url https://pypi.org/simple \
|
||||||
--extra-index-url $GITLAB_PYTHON_REGISTRY \
|
--extra-index-url $GITLAB_PYTHON_REGISTRY \
|
||||||
--extra-index-url $EXTRA_INDEX_URL \
|
--extra-index-url $EXTRA_INDEX_URL \
|
||||||
|
$EXTRA_PIP_ARGS \
|
||||||
-r requirements.txt \
|
-r requirements.txt \
|
||||||
-r services_requirements.txt \
|
-r services_requirements.txt \
|
||||||
-r admin_requirements.txt
|
-r admin_requirements.txt
|
||||||
@ -31,6 +33,7 @@ RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
|
|||||||
pip install --index-url https://pypi.org/simple \
|
pip install --index-url https://pypi.org/simple \
|
||||||
--extra-index-url $GITLAB_PYTHON_REGISTRY \
|
--extra-index-url $GITLAB_PYTHON_REGISTRY \
|
||||||
--extra-index-url $EXTRA_INDEX_URL \
|
--extra-index-url $EXTRA_INDEX_URL \
|
||||||
|
$EXTRA_PIP_ARGS \
|
||||||
cic-eth-aux-erc20-demurrage-token~=0.0.2a6
|
cic-eth-aux-erc20-demurrage-token~=0.0.2a6
|
||||||
|
|
||||||
COPY docker/entrypoints/* ./
|
COPY docker/entrypoints/* ./
|
||||||
|
@ -9,6 +9,7 @@ WORKDIR /usr/src/cic-eth
|
|||||||
|
|
||||||
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
|
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
|
||||||
ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple"
|
ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple"
|
||||||
|
ARG EXTRA_PIP_ARGS=""
|
||||||
#RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
|
#RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
|
||||||
# pip install --index-url https://pypi.org/simple \
|
# pip install --index-url https://pypi.org/simple \
|
||||||
# --force-reinstall \
|
# --force-reinstall \
|
||||||
@ -18,6 +19,7 @@ COPY *requirements.txt .
|
|||||||
RUN pip install --index-url https://pypi.org/simple \
|
RUN pip install --index-url https://pypi.org/simple \
|
||||||
--extra-index-url $GITLAB_PYTHON_REGISTRY \
|
--extra-index-url $GITLAB_PYTHON_REGISTRY \
|
||||||
--extra-index-url $EXTRA_INDEX_URL \
|
--extra-index-url $EXTRA_INDEX_URL \
|
||||||
|
$EXTRA_PIP_ARGS \
|
||||||
-r requirements.txt \
|
-r requirements.txt \
|
||||||
-r services_requirements.txt \
|
-r services_requirements.txt \
|
||||||
-r admin_requirements.txt
|
-r admin_requirements.txt
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
celery==4.4.7
|
celery==4.4.7
|
||||||
chainlib-eth>=0.0.9a2,<0.1.0
|
chainlib-eth>=0.0.9a3,<0.1.0
|
||||||
semver==2.13.0
|
semver==2.13.0
|
||||||
|
@ -6,10 +6,10 @@ redis==3.5.3
|
|||||||
hexathon~=0.0.1a8
|
hexathon~=0.0.1a8
|
||||||
pycryptodome==3.10.1
|
pycryptodome==3.10.1
|
||||||
liveness~=0.0.1a7
|
liveness~=0.0.1a7
|
||||||
eth-address-index>=0.2.3a1,<0.3.0
|
eth-address-index>=0.2.3a4,<0.3.0
|
||||||
eth-accounts-index>=0.1.2a1,<0.2.0
|
eth-accounts-index>=0.1.2a3,<0.2.0
|
||||||
cic-eth-registry>=0.6.1a1,<0.7.0
|
cic-eth-registry>=0.6.1a2,<0.7.0
|
||||||
erc20-faucet>=0.3.2a1,<0.4.0
|
erc20-faucet>=0.3.2a2,<0.4.0
|
||||||
erc20-transfer-authorization>=0.3.5a1,<0.4.0
|
erc20-transfer-authorization>=0.3.5a2,<0.4.0
|
||||||
sarafu-faucet>=0.0.7a1,<0.1.0
|
sarafu-faucet>=0.0.7a2,<0.1.0
|
||||||
moolb~=0.1.1b2
|
moolb~=0.1.1b2
|
||||||
|
@ -6,4 +6,4 @@ pytest-redis==2.0.0
|
|||||||
redis==3.5.3
|
redis==3.5.3
|
||||||
eth-tester==0.5.0b3
|
eth-tester==0.5.0b3
|
||||||
py-evm==0.3.0a20
|
py-evm==0.3.0a20
|
||||||
eth-erc20~=0.1.2a1
|
eth-erc20~=0.1.2a2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
crypto-dev-signer>=0.4.15a1,<=0.4.15
|
crypto-dev-signer>=0.4.15a1,<=0.4.15
|
||||||
chainqueue>=0.0.3a1,<0.1.0
|
chainqueue>=0.0.3a1,<0.1.0
|
||||||
cic-eth-registry>=0.6.1a1,<0.7.0
|
cic-eth-registry>=0.6.1a2,<0.7.0
|
||||||
redis==3.5.3
|
redis==3.5.3
|
||||||
hexathon~=0.0.1a8
|
hexathon~=0.0.1a8
|
||||||
pycryptodome==3.10.1
|
pycryptodome==3.10.1
|
||||||
|
@ -14,7 +14,6 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2A518C819BE37D2C20
|
|||||||
RUN mkdir -vp /usr/local/etc/cic
|
RUN mkdir -vp /usr/local/etc/cic
|
||||||
|
|
||||||
ENV CONFINI_DIR /usr/local/etc/cic/
|
ENV CONFINI_DIR /usr/local/etc/cic/
|
||||||
#RUN mkdir -vp $CONFINI_DIR
|
|
||||||
|
|
||||||
|
|
||||||
COPY config_template/ /usr/local/etc/cic/
|
COPY config_template/ /usr/local/etc/cic/
|
||||||
|
@ -14,7 +14,6 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2A518C819BE37D2C20
|
|||||||
RUN mkdir -vp /usr/local/etc/cic
|
RUN mkdir -vp /usr/local/etc/cic
|
||||||
|
|
||||||
ENV CONFINI_DIR /usr/local/etc/cic/
|
ENV CONFINI_DIR /usr/local/etc/cic/
|
||||||
RUN mkdir -vp $CONFINI_DIR
|
|
||||||
|
|
||||||
|
|
||||||
COPY config_template/ /usr/local/etc/cic/
|
COPY config_template/ /usr/local/etc/cic/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
eth-contract-registry==0.6.3a2
|
#eth-contract-registry==0.6.3a2
|
||||||
#erc20-demurrage-token==0.0.2a3
|
#erc20-demurrage-token==0.0.2a3
|
||||||
#eth-address-index==0.1.1a12
|
#eth-address-index==0.1.1a12
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
cic-eth[tools]==0.12.4a3
|
cic-eth[tools]==0.12.4a4
|
||||||
chainlib-eth>=0.0.9a2,<0.1.0
|
chainlib-eth>=0.0.9a3,<0.1.0
|
||||||
eth-erc20>=0.1.2a1,<0.2.0
|
eth-erc20>=0.1.2a2,<0.2.0
|
||||||
erc20-demurrage-token>=0.0.5a1,<0.1.0
|
erc20-demurrage-token>=0.0.5a2,<0.1.0
|
||||||
eth-accounts-index>=0.1.2a1,<0.2.0
|
eth-accounts-index>=0.1.2a2,<0.2.0
|
||||||
eth-address-index>=0.2.3a3,<0.3.0
|
eth-address-index>=0.2.3a4,<0.3.0
|
||||||
cic-eth-registry>=0.6.1a1,<0.7.0
|
cic-eth-registry>=0.6.1a2,<0.7.0
|
||||||
erc20-faucet>=0.3.2a1,<0.4.0
|
erc20-transfer-authorization>=0.3.5a2,<0.4.0
|
||||||
erc20-transfer-authorization>=0.3.5a1,<0.4.0
|
erc20-faucet>=0.3.2a2,<0.4.0
|
||||||
sarafu-faucet>=0.0.7a1,<0.1.0
|
sarafu-faucet>=0.0.7a2,<0.1.0
|
||||||
|
@ -38,7 +38,7 @@ from crypto_dev_signer.eth.signer import ReferenceSigner as EIP155Signer
|
|||||||
from crypto_dev_signer.keystore.dict import DictKeystore
|
from crypto_dev_signer.keystore.dict import DictKeystore
|
||||||
from cic_types.models.person import Person
|
from cic_types.models.person import Person
|
||||||
from eth_erc20 import ERC20
|
from eth_erc20 import ERC20
|
||||||
from cic_base.eth.syncer import chain_interface
|
from cic_eth.cli.chain import chain_interface
|
||||||
from eth_accounts_index import AccountsIndex
|
from eth_accounts_index import AccountsIndex
|
||||||
from eth_contract_registry import Registry
|
from eth_contract_registry import Registry
|
||||||
from eth_token_index import TokenUniqueSymbolIndex
|
from eth_token_index import TokenUniqueSymbolIndex
|
||||||
@ -216,8 +216,6 @@ def main():
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
logg.info('found token address {}'.format(token_address))
|
logg.info('found token address {}'.format(token_address))
|
||||||
|
|
||||||
sys.exit(0)
|
|
||||||
|
|
||||||
syncer_backend = MemBackend(chain_str, 0)
|
syncer_backend = MemBackend(chain_str, 0)
|
||||||
|
|
||||||
if block_offset == -1:
|
if block_offset == -1:
|
||||||
@ -248,7 +246,7 @@ def main():
|
|||||||
|
|
||||||
syncer_backend.set(block_offset, 0)
|
syncer_backend.set(block_offset, 0)
|
||||||
syncer = HeadSyncer(syncer_backend, chain_interface, block_callback=progress_callback)
|
syncer = HeadSyncer(syncer_backend, chain_interface, block_callback=progress_callback)
|
||||||
handler = Handler(conn, chain_spec, user_dir, balances, sarafu_token_address, signer, gas_oracle, nonce_oracle)
|
handler = Handler(conn, chain_spec, user_dir, balances, token_address, signer, gas_oracle, nonce_oracle)
|
||||||
syncer.add_filter(handler)
|
syncer.add_filter(handler)
|
||||||
syncer.loop(1, conn)
|
syncer.loop(1, conn)
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@ from crypto_dev_signer.eth.signer import ReferenceSigner as EIP155Signer
|
|||||||
from crypto_dev_signer.keystore.dict import DictKeystore
|
from crypto_dev_signer.keystore.dict import DictKeystore
|
||||||
from cic_types.models.person import Person
|
from cic_types.models.person import Person
|
||||||
from eth_erc20 import ERC20
|
from eth_erc20 import ERC20
|
||||||
#from cic_base.eth.syncer import chain_interface
|
|
||||||
from cic_eth.cli.chain import chain_interface
|
from cic_eth.cli.chain import chain_interface
|
||||||
from eth_accounts_index import AccountsIndex
|
from eth_accounts_index import AccountsIndex
|
||||||
from eth_contract_registry import Registry
|
from eth_contract_registry import Registry
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
sarafu-faucet~=0.0.7a1
|
sarafu-faucet~=0.0.7a1
|
||||||
cic-eth[tools]~=0.12.4a2
|
cic-eth[tools]~=0.12.4a4
|
||||||
cic-types~=0.1.0a14
|
cic-types~=0.1.0a14
|
||||||
crypto-dev-signer>=0.4.15a1,<=0.4.15
|
crypto-dev-signer>=0.4.15a1,<=0.4.15
|
||||||
faker==4.17.1
|
faker==4.17.1
|
||||||
chainsyncer~=0.0.6a1
|
chainsyncer~=0.0.6a1
|
||||||
chainlib-eth~=0.0.9a2
|
chainlib-eth~=0.0.9a3
|
||||||
eth-address-index~=0.2.3a1
|
eth-address-index~=0.2.3a4
|
||||||
eth-contract-registry~=0.6.3a1
|
eth-contract-registry~=0.6.3a3
|
||||||
eth-accounts-index~=0.1.2a1
|
eth-accounts-index~=0.1.2a2
|
||||||
eth-erc20~=0.1.2a1
|
eth-erc20~=0.1.2a2
|
||||||
erc20-faucet~=0.3.2a1
|
erc20-faucet~=0.3.2a2
|
||||||
psycopg2==2.8.6
|
psycopg2==2.8.6
|
||||||
|
Loading…
Reference in New Issue
Block a user