Skip to content

Commit f3b376f

Browse files
committed
resolve conflicts with master
2 parents dc23aa1 + 4a14940 commit f3b376f

File tree

162 files changed

+3005
-1122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+3005
-1122
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# These are supported funding model platforms
22

3-
github: [medvedev1088]
3+
custom: https://gitcoin.co/grants/233/ethereumetl
44

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish DockerHub
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Publish to DockerHub
14+
if: startsWith(github.event.ref, 'refs/tags/v')
15+
uses: elgohr/Publish-Docker-Github-Action@master
16+
with:
17+
name: blockchainetl/ethereum-etl
18+
username: ${{ secrets.DOCKER_USERNAME }}
19+
password: ${{ secrets.DOCKER_PASSWORD }}
20+
tag_semver: true
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish to PyPI and TestPyPI
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build-n-publish:
10+
name: Build and publish to PyPI and TestPyPI
11+
runs-on: ubuntu-18.04
12+
steps:
13+
- uses: actions/checkout@master
14+
- name: Set up Python 3.7
15+
uses: actions/setup-python@v1
16+
with:
17+
python-version: 3.7
18+
- name: Build a binary wheel and a source tarball
19+
run: python setup.py sdist
20+
- name: Publish distribution to Test PyPI
21+
if: startsWith(github.event.ref, 'refs/tags/v')
22+
uses: pypa/gh-action-pypi-publish@master
23+
with:
24+
password: ${{ secrets.test_pypi_password }}
25+
repository_url: https://test.pypi.org/legacy/
26+
- name: Publish distribution to PyPI
27+
if: startsWith(github.event.ref, 'refs/tags/v')
28+
uses: pypa/gh-action-pypi-publish@master
29+
with:
30+
password: ${{ secrets.pypi_password }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@ ENV/
5151
last_synced_block.txt
5252
pyrightconfig.json
5353
pyrightconfig.json
54+
55+
# etl
56+
/last_synced_block.txt

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ language: python
22
dist: xenial
33
matrix:
44
include:
5-
- python: "3.5"
6-
env: TOX_POSARGS="-e py35"
7-
- python: "3.6"
8-
env: TOX_POSARGS="-e py36"
9-
- python: "3.7"
5+
- python: "3.7.2"
106
env: TOX_POSARGS="-e py37"
7+
- python: "3.8"
8+
env: TOX_POSARGS="-e py38"
9+
- python: "3.9"
10+
env: TOX_POSARGS="-e py39"
1111
install:
1212
- travis_retry pip install tox
1313
script:
14-
- tox $TOX_POSARGS
14+
- travis_wait tox $TOX_POSARGS

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM python:3.6-alpine
2-
MAINTAINER Eric Lim <elim0322@gmail.com>
1+
FROM python:3.7
2+
MAINTAINER Evgeny Medvedev <evge.medvedev@gmail.com>
33
ENV PROJECT_DIR=ethereum-etl
44

55
RUN mkdir /$PROJECT_DIR
66
WORKDIR /$PROJECT_DIR
77
COPY . .
88
RUN apk add --no-cache gcc musl-dev #for C libraries: <limits.h> <stdio.h>
9-
RUN pip install --upgrade pip && pip install -e /$PROJECT_DIR/
9+
RUN pip install --upgrade pip && pip install -e /$PROJECT_DIR/[streaming]
1010
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates curl gnupg && \
1111
curl -sLf --retry 3 --tlsv1.2 --proto "=https" 'https://packages.doppler.com/public/cli/gpg.DE2A7741A397C129.key' | apt-key add - && \
1212
echo "deb https://packages.doppler.com/public/cli/deb/debian any-version main" | tee /etc/apt/sources.list.d/doppler-cli.list && \

0 commit comments

Comments
 (0)