Skip to content

Commit

Permalink
introduce conda-lock file for docs
Browse files Browse the repository at this point in the history
Signed-off-by: Niels Bantilan <[email protected]>
  • Loading branch information
cosmicBboy committed Dec 7, 2023
1 parent c6a7653 commit 3170df7
Show file tree
Hide file tree
Showing 4 changed files with 24,511 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ jobs:
with:
python-version: 3.9
mamba-version: "*"
channels: conda-forge
channel-priority: true
activate-environment: monodocs-env
environment-file: monodocs-environment.yaml
environment-file: monodocs.conda-lock.yaml
- shell: bash -el {0}
run: |
conda info
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ install-piptools: ## Install pip-tools
doc-requirements.txt: doc-requirements.in install-piptools
$(call PIP_COMPILE,doc-requirements.in)

.PHONY: install-conda-lock
install-conda-lock:
pip install conda-lock

.PHONY: conda-lock
conda-lock: install-conda-lock
conda-lock --lockfile monodocs.conda-lock.yaml -f monodocs-environment.yaml --without-cuda

.PHONY: stats
stats:
@generate-dashboard -o deployment/stats/prometheus/flytepropeller-dashboard.json stats/flytepropeller.dashboard.py
Expand Down
5 changes: 5 additions & 0 deletions monodocs-environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,8 @@ dependencies:
- whylabs-client # whylogs
- ray==2.6.3
- duckdb

platforms:
- linux-64
- osx-64
- osx-arm64
Loading

0 comments on commit 3170df7

Please sign in to comment.