-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yee Hing Tong <[email protected]>
- Loading branch information
1 parent
e3a10ab
commit beec6a7
Showing
250 changed files
with
7,353 additions
and
1,277 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
pull_request: | ||
|
||
env: | ||
FLYTE_SDK_LOGGING_LEVEL: 10 # debug | ||
FLYTE_SDK_LOGGING_LEVEL: 10 # debug | ||
|
||
jobs: | ||
build: | ||
|
@@ -49,11 +49,11 @@ jobs: | |
pip freeze | ||
- name: Test with coverage | ||
run: | | ||
pytest tests/flytekit/unit -m "not sandbox_test" --cov=./ --cov-report=xml | ||
make unit_test_codecov | ||
- name: Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
fail_ci_if_error: true # optional (default = false) | ||
fail_ci_if_error: false | ||
|
||
build-plugins: | ||
runs-on: ubuntu-latest | ||
|
@@ -68,6 +68,7 @@ jobs: | |
- flytekit-aws-sagemaker | ||
- flytekit-bigquery | ||
- flytekit-data-fsspec | ||
- flytekit-dbt | ||
- flytekit-deck-standard | ||
- flytekit-dolt | ||
- flytekit-greatexpectations | ||
|
@@ -87,6 +88,7 @@ jobs: | |
- flytekit-snowflake | ||
- flytekit-spark | ||
- flytekit-sqlalchemy | ||
- flytekit-vaex | ||
- flytekit-whylogs | ||
exclude: | ||
# flytekit-modin depends on ray which does not have a 3.10 wheel yet. | ||
|
@@ -109,8 +111,6 @@ jobs: | |
# Issue tracked: https://github.com/whylabs/whylogs/issues/697 | ||
- python-version: 3.10 | ||
plugin-names: "flytekit-whylogs" | ||
|
||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
|
@@ -136,7 +136,6 @@ jobs: | |
run: | | ||
cd plugins/${{ matrix.plugin-names }} | ||
coverage run -m pytest tests | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -178,4 +177,6 @@ jobs: | |
python -m pip install --upgrade pip==21.2.4 setuptools wheel | ||
pip install -r doc-requirements.txt | ||
- name: Build the documentation | ||
run: make -C docs html | ||
run: | | ||
# TODO: Remove after buf migration is done and packages updated | ||
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python make -C docs html |
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 |
---|---|---|
|
@@ -31,3 +31,4 @@ docs/source/plugins/generated/ | |
htmlcov | ||
*.ipynb | ||
*dat | ||
source/_tags/ |
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,23 @@ | ||
ARG PYTHON_VERSION | ||
FROM python:${PYTHON_VERSION}-slim-buster | ||
|
||
MAINTAINER Flyte Team <[email protected]> | ||
LABEL org.opencontainers.image.source https://github.com/flyteorg/flytekit | ||
|
||
WORKDIR /root | ||
ENV PYTHONPATH /root | ||
|
||
ARG VERSION | ||
ARG DOCKER_IMAGE | ||
|
||
RUN apt-get update && apt-get install build-essential -y | ||
|
||
# Pod tasks should be exposed in the default image | ||
RUN pip install -U flytekit==$VERSION \ | ||
flytekitplugins-pod==$VERSION \ | ||
flytekitplugins-deck-standard==$VERSION \ | ||
flytekitplugins-data-fsspec[aws]==$VERSION \ | ||
flytekitplugins-data-fsspec[gcp]==$VERSION \ | ||
scikit-learn | ||
|
||
ENV FLYTE_INTERNAL_IMAGE "$DOCKER_IMAGE" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.