Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upUse DPP runner instead of API loader #28
Conversation
akariv
added some commits
Mar 11, 2018
akariv
added
the
in progress
label
Mar 12, 2018
akariv
requested a review
from
brew
Mar 12, 2018
| @@ -35,8 +35,7 @@ def upload(): | ||
| abort(400) | ||
| if jwt is None: | ||
| abort(403) | ||
| callback = os_conductor+url_for('.callback') |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
brew
Mar 12, 2018
Member
I think this means you can get rid of the os_conductor variable on L16, and the OS_CONDUCTOR_URL env var completely (and its mention in the README), as it's only there to help define the callback url.
brew
Mar 12, 2018
Member
I think this means you can get rid of the os_conductor variable on L16, and the OS_CONDUCTOR_URL env var completely (and its mention in the README), as it's only there to help define the callback url.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
| os-package-registry>=0.0.13 | ||
| datapackage-pipelines-fiscal>=1.0.7 | ||
| datapackage-pipelines-aws | ||
| datapackage-pipelines[speedup] |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
| postgresql-dev \ | ||
| build-base \ | ||
| bash \ | ||
| curl |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
akariv
added some commits
Mar 20, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@brew fixed CR, tests and Docker. |
akariv
closed this
Mar 20, 2018
akariv
reopened this
Mar 20, 2018
akariv
added
in progress
and removed
in progress
labels
Mar 20, 2018
| @@ -25,6 +25,7 @@ before_install: | ||
| install: | ||
| # Will build local Dockerfile as part of ci-run (docker-compose up) | ||
| - sudo apt-get install libleveldb-dev libleveldb1 |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
brew
Mar 21, 2018
Member
What's this used by? Do we need it in the Dockerfile instead, or is it just for Travis?
brew
Mar 21, 2018
Member
What's this used by? Do we need it in the Dockerfile instead, or is it just for Travis?
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
akariv
Mar 21, 2018
Contributor
It's actually already in the dockerfile - these are native libraries used by the speedup extension for dpp.
akariv
Mar 21, 2018
Contributor
It's actually already in the dockerfile - these are native libraries used by the speedup extension for dpp.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Nice! A joy to get rid of more env vars :D |
| RUN update-ca-certificates | ||
| RUN apk add --update --no-cache libpq postgresql-dev libffi libffi-dev bash curl libstdc++ nodejs | ||
| RUN apk add --update --no-cache --virtual=build-dependencies build-base | ||
| RUN apk --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --update add leveldb leveldb-dev |
akariv commentedMar 12, 2018
•
edited
DPP Runner (https://github.com/akariv/dpp-runner) is a small utility library for running a single pipeline/source spec in a temporary workspace and as a separate thread.
You can submit these specs to it, and it will call a callback function with status updates.
The modifications in this PR:
(there are still a couple of tests failing, will take care of them)