Skip to content

Commit

Permalink
feat(monodocs): Add auto generate conda lock file to Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Chi-Sheng Liu <[email protected]>
  • Loading branch information
MortalHappiness committed Feb 29, 2024
1 parent 0f1fb69 commit a073a8e
Show file tree
Hide file tree
Showing 2 changed files with 1,905 additions and 1,453 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,12 @@ helm_upgrade: ## Upgrade helm charts
docs:
make -C docs clean html SPHINXOPTS=-W

monodocs-environment.lock.yaml: monodocs-environment.yaml
conda-lock lock --file monodocs-environment.yaml --lockfile monodocs-environment.lock.yaml --channel conda-forge

# Used in local development
.PHONY: build-dev-docs-image
build-dev-docs-image:
build-dev-docs-image: monodocs-environment.lock.yaml
docker buildx build -t flyte-dev-docs:latest -f Dockerfile.docs .

# Build docs in docker container for local development
Expand Down
Loading

0 comments on commit a073a8e

Please sign in to comment.