Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce integrations to local #13

Merged
merged 4 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/actions/e2e_template_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ runs:
if: ${{ inputs.ref-zenml != '' }}
shell: bash
run: |
pip install "git+https://github.com/zenml-io/zenml.git@${{ inputs.ref-zenml }}" "zenml[server]@git+https://github.com/zenml-io/zenml.git@${{ inputs.ref-zenml }}"
pip install "zenml[dev, server, templates]@git+https://github.com/zenml-io/zenml.git@${{ inputs.ref-zenml }}"

- name: Install ZenML
if: ${{ inputs.ref-zenml == '' }}
shell: bash
run: |
pip install zenml "zenml[server]"
pip install "zenml[dev, server, templates]"

- name: Concatenate requirements
shell: bash
run: |
zenml integration export-requirements -o ./local_checkout/integration-requirements.txt sklearn mlflow s3 kubernetes kubeflow slack evidently
cat ./local_checkout/requirements.txt ./local_checkout/test-requirements.txt ./local_checkout/integration-requirements.txt >> ./local_checkout/all-requirements.txt
zenml integration export-requirements -o ./local_checkout/integration-requirements.txt sklearn mlflow s3 slack evidently
cat ./local_checkout/test-requirements.txt ./local_checkout/integration-requirements.txt >> ./local_checkout/all-requirements.txt

- name: Install requirements
shell: bash
Expand All @@ -83,3 +83,8 @@ runs:
ZENML_STACK_NAME: ${{ inputs.stack-name }}
run: |
pytest ./local_checkout/tests

- name: Clean-up
shell: bash
run: |
rm -rf ./local_checkout
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
with:
stack-name: ${{ matrix.stack-name }}
python-version: ${{ matrix.python-version }}
ref-zenml: feature/OSS-2300-model-watch-tower-v0.1
ref-zenml: develop
2 changes: 1 addition & 1 deletion template/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ setup: remote-login
setup:
{%- endif %}
pip install -r requirements.txt
zenml integration install sklearn mlflow s3 kubernetes kubeflow slack evidently -y
zenml integration install sklearn mlflow slack evidently -y

install-stack:
@echo "Specify stack name [$(stack_name)]: " && read input && [ -n "$$input" ] && stack_name="$$input" || stack_name="$(stack_name)" && \
Expand Down
Loading