Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
874c193
Automatically set the year in footer & fix links to main site (#696)
nrichers Apr 25, 2025
6758f5b
Merge remote-tracking branch 'origin/main' into staging
github-actions[bot] Apr 25, 2025
fec543e
Merge pull request #700 from validmind/update-staging-14664668507
github-actions[bot] Apr 25, 2025
b0d63d6
fix: [sc-9632] Add missing "Export ongoing monitoring document" secti…
nrichers Apr 25, 2025
0985723
Merge remote-tracking branch 'origin/main' into staging
github-actions[bot] Apr 25, 2025
d192adf
Merge pull request #701 from validmind/update-staging-14671244241
github-actions[bot] Apr 25, 2025
cf19414
fix: remove helm repo path from s3 sync commands
eggshell Apr 28, 2025
fb5ded5
Also update Makefile with the --exclude option
nrichers Apr 29, 2025
24e2258
Merge branch 'main' into cullen/sc-7711/helm-merge-fixes
nibalizer Apr 29, 2025
da8acd4
chore: undoing bad merge commit
nibalizer Apr 29, 2025
e2d4b07
Merge pull request #703 from validmind/cullen/sc-7711/helm-merge-fixes
nibalizer Apr 29, 2025
b911f47
Merge remote-tracking branch 'origin/main' into staging
github-actions[bot] Apr 29, 2025
9546a45
Merge pull request #705 from validmind/update-staging-14740782567
github-actions[bot] Apr 29, 2025
775fc53
Updated Developer Fundamentals training (#681)
validbeck Apr 30, 2025
02f0913
Merge remote-tracking branch 'origin/main' into staging
github-actions[bot] Apr 30, 2025
473868f
Merge pull request #706 from validmind/update-staging-14763716877
github-actions[bot] Apr 30, 2025
2ef4426
Docs: Updated content block features (#707)
validbeck May 6, 2025
c8465ea
Merge remote-tracking branch 'origin/main' into staging
github-actions[bot] May 6, 2025
275ccd2
Merge pull request #709 from validmind/update-staging-14869842386
github-actions[bot] May 6, 2025
31006f6
hotfix: -`include-after-body` in execution profiles (#714)
validbeck May 12, 2025
5c1706a
Merge remote-tracking branch 'origin/main' into staging
github-actions[bot] May 12, 2025
8cf8093
Merge pull request #715 from validmind/update-staging-14983165395
github-actions[bot] May 12, 2025
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/demo-notebook/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Execute demo notebook
name: Execute demo notebooks
description: Installs python3, validmind, checks dependencies then executes ONLY the Intro for Model Developers notebook with development heap tracking

inputs:
Expand All @@ -24,6 +24,11 @@ runs:
pip install shap==0.44.1
pip install anywidget

- name: Register validmind kernel
shell: bash
run: |
python -m ipykernel install --user --name validmind --display-name "ValidMind Library"

- name: Ensure .env file is available
shell: bash
id: find_env
Expand All @@ -33,14 +38,14 @@ runs:
exit 1
fi

- name: Execute ONLY the Intro for Model Developers notebook with heap development
- name: Execute ONLY the ValidMind for model development series with heap development
shell: bash
if: ${{ steps.find_env.outcome == 'success' }}
run: |
cd site
source ../${{ inputs.env_file }}
quarto render --profile exe-demo notebooks/tutorials/intro_for_model_developers_EXECUTED.ipynb &> render_errors.log || {
echo "Execute for intro_for_model_developers_EXECUTED.ipynb failed";
quarto render --profile exe-demo notebooks/EXECUTED/model_development &> render_errors.log || {
echo "Execute for ValidMind for model development series failed";
cat render_errors.log;
exit 1;
}
13 changes: 9 additions & 4 deletions .github/actions/prod-notebook/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Execute prod notebook
name: Execute prod notebooks
description: Installs python3, validmind, checks dependencies then executes ONLY the Intro for Model Developers notebook with production heap tracking

inputs:
Expand All @@ -24,6 +24,11 @@ runs:
pip install shap==0.44.1
pip install anywidget

- name: Register validmind kernel
shell: bash
run: |
python -m ipykernel install --user --name validmind --display-name "ValidMind Library"

- name: Ensure .env file is available
shell: bash
id: find_env
Expand All @@ -33,14 +38,14 @@ runs:
exit 1
fi

- name: Execute ONLY the Intro for Model Developers notebook with heap production
- name: Execute ONLY the ValidMind for model development series with heap production
shell: bash
if: ${{ steps.find_env.outcome == 'success' }}
run: |
cd site
source ../${{ inputs.env_file }}
quarto render --profile exe-prod notebooks/tutorials/intro_for_model_developers_EXECUTED.ipynb &> render_errors.log || {
echo "Execute for intro_for_model_developers_EXECUTED.ipynb failed";
quarto render --profile exe-prod notebooks/EXECUTED/model_development &> render_errors.log || {
echo "Execute for ValidMind for model development series failed";
cat render_errors.log;
exit 1;
}
13 changes: 9 additions & 4 deletions .github/actions/staging-notebook/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Execute staging notebook
name: Execute staging notebooks
description: Installs python3, validmind, checks dependencies then executes ONLY the Intro for Model Developers notebook with staging heap tracking

inputs:
Expand All @@ -24,6 +24,11 @@ runs:
pip install shap==0.44.1
pip install anywidget

- name: Register validmind kernel
shell: bash
run: |
python -m ipykernel install --user --name validmind --display-name "ValidMind Library"

- name: Ensure .env file is available
shell: bash
id: find_env
Expand All @@ -33,14 +38,14 @@ runs:
exit 1
fi

- name: Execute ONLY the Intro for Model Developers notebook with heap staging
- name: Execute ONLY the ValidMind for model development series with heap staging
shell: bash
if: ${{ steps.find_env.outcome == 'success' }}
run: |
cd site
source ../${{ inputs.env_file }}
quarto render --profile exe-staging notebooks/tutorials/intro_for_model_developers_EXECUTED.ipynb &> render_errors.log || {
echo "Execute for intro_for_model_developers_EXECUTED.ipynb failed";
quarto render --profile exe-staging notebooks/EXECUTED/model_development &> render_errors.log || {
echo "Execute for iValidMind for model development series failed";
cat render_errors.log;
exit 1;
}
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cat .env

# Only execute the prod notebook if .env file is created
- name: Execute prod Intro for Model Developers notebook
- name: Execute prod ValidMind for model development series
if: ${{ steps.create_env.outcome == 'success' }}
uses: ./.github/actions/prod-notebook
id: execute-prod-notebook
Expand All @@ -71,4 +71,4 @@ jobs:
run: aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }} && aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} && aws configure set default.region us-east-1

- name: Deploy docs prod site
run: aws s3 sync site/_site s3://docs-ci-cd-prod/site --delete && aws cloudfront create-invalidation --distribution-id E2I9R40IH01NW3 --paths "/*" --no-cli-pager
run: aws s3 sync site/_site s3://docs-ci-cd-prod/site --delete --exclude "site/installation/helm-repo/*" && aws cloudfront create-invalidation --distribution-id E2I9R40IH01NW3 --paths "/*" --no-cli-pager
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
cat .env

# Only execute the staging notebook if .env file is created
- name: Execute staging Intro for Model Developers notebook
- name: Execute staging ValidMind for model development series
if: ${{ steps.create_env.outcome == 'success' }}
uses: ./.github/actions/staging-notebook
id: execute-staging-notebook
Expand All @@ -61,4 +61,4 @@ jobs:
run: aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID_STAGING }} && aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY_STAGING }} && aws configure set default.region us-west-2

- name: Deploy docs staging site
run: aws s3 sync site/_site s3://docs-ci-cd-staging/site --delete && aws cloudfront create-invalidation --distribution-id E2FB73KGY63MV6 --paths "/*" --no-cli-pager
run: aws s3 sync site/_site s3://docs-ci-cd-staging/site --delete --exclude "site/installation/helm-repo/*" && aws cloudfront create-invalidation --distribution-id E2FB73KGY63MV6 --paths "/*" --no-cli-pager
4 changes: 2 additions & 2 deletions .github/workflows/validate-docs-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
cat .env

# Only execute the demo notebook if .env file is created
- name: Execute demo Intro for Model Developers notebook
if: ${{ env.ENABLE_DEMO_NOTEBOOK == 'true' && steps.create_env.outcome == 'success' }}
- name: Execute demo ValidMind for model development series
if: ${{ vars.ENABLE_DEMO_NOTEBOOK == 'true' && steps.create_env.outcome == 'success' }}
uses: ./.github/actions/demo-notebook
id: execute-demo-notebook
with:
Expand Down
22 changes: 8 additions & 14 deletions site/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DEST_DIR_NB := notebooks
DEST_DIR_PYTHON := validmind
DEST_DIR_TESTS := tests
FILE_PATH := notebooks/tutorials/intro_for_model_developers_EXECUTED.ipynb
FILE_PATH := notebooks/EXECUTED/model_development
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
INSTALLATION_BRANCH := main
LIBRARY_BRANCH ?= $(or $(BRANCH),main)
Expand Down Expand Up @@ -43,6 +43,7 @@ clean:
@echo "\nDeleting copies of files sourced from other repos ..."
rm -rf $(SRC_DIR)
rm -rf $(SRC_ROOT)
rm -rf notebooks/EXECUTED/model_development/

# Prompt for a branch or release tag and clone the repository
clone:
Expand Down Expand Up @@ -86,7 +87,7 @@ deploy-prod:
else \
echo "\nDeploying prod site ..."; \
cp -r $(SRC_ROOT)/installation/site/installation installation
quarto render --profile production && aws s3 sync ./_site s3://docs-ci-cd-prod/site/ --delete && aws cloudfront create-invalidation --distribution-id E2I9R40IH01NW3 --paths "/*" --no-cli-pager > /dev/null; \
quarto render --profile production && aws s3 sync ./_site s3://docs-ci-cd-prod/site/ --delete --exclude "site/installation/helm-repo/*" && aws cloudfront create-invalidation --distribution-id E2I9R40IH01NW3 --paths "/*" --no-cli-pager > /dev/null; \
fi

# Deployment to https://docs-staging.validmind.ai/
Expand All @@ -96,7 +97,7 @@ deploy-staging:
else \
echo "\nDeploying staging site ..."; \
cp -r $(SRC_ROOT)/installation/site/installation installation
quarto render --profile staging && aws s3 sync ./_site s3://docs-ci-cd-staging/site/ --delete && aws cloudfront create-invalidation --distribution-id E2FB73KGY63MV6 --paths "/*" --no-cli-pager > /dev/null; \
quarto render --profile staging && aws s3 sync ./_site s3://docs-ci-cd-staging/site/ --delete --exclude "site/installation/helm-repo/*" && aws cloudfront create-invalidation --distribution-id E2FB73KGY63MV6 --paths "/*" --no-cli-pager > /dev/null; \
fi

docker-build: docker-site-lite
Expand All @@ -122,7 +123,7 @@ docs-site: get-source
quarto render --profile production
@$(MAKE) execute PROFILE=exe-prod

# Will default to `exe-demo` profile & the `notebooks/tutorials/intro_for_model_developers_EXECUTED.ipynb` if no input provided
# Will default to `exe-demo` profile & the `notebooks/EXECUTED/model_development` if no input provided
execute:
quarto render --profile $(PROFILE) $(FILE_PATH)

Expand All @@ -135,8 +136,9 @@ notebooks:
@rm -f notebooks.zip
@rm -rf $(DEST_DIR_NB)/ && mkdir -p $(DEST_DIR_NB)
@cp -r $(SRC_DIR)/notebooks/. $(DEST_DIR_NB)/
@echo "Duplicating notebooks/tutorials/intro_for_model_developers.ipynb for execution"
@cp notebooks/tutorials/intro_for_model_developers.ipynb notebooks/tutorials/intro_for_model_developers_EXECUTED.ipynb
@echo "Duplicating all files from notebooks/tutorials/model_development/ for execution"
@mkdir -p notebooks/EXECUTED/model_development/
@cp -r notebooks/tutorials/model_development/* notebooks/EXECUTED/model_development/
@echo "Copying LICENSE into notebooks ..."
@cp -r $(SRC_DIR)/LICENSE $(DEST_DIR_NB)/
@rm -rf $(DEST_DIR_NB)/code_sharing
Expand Down Expand Up @@ -184,11 +186,3 @@ yearly-releases:
cd ../
git status | grep -v 'release-scripts/'
quarto preview








8 changes: 8 additions & 0 deletions site/_extensions/gadenbuie/now/_extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
title: Now
author: Garrick Aden-Buie
version: 1.0.0
quarto-required: ">=1.4.0"
contributes:
shortcodes:
- now.lua

Loading