Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Oct 25, 2024
1 parent eb58fe7 commit d29a3a7
Show file tree
Hide file tree
Showing 10 changed files with 2,050 additions and 106 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16c4513e
3187b28e
41 changes: 38 additions & 3 deletions admins/cicd-github-actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
"search-label": "Search"
}
}</script>
<script src="../site_libs/quarto-diagram/mermaid.min.js"></script>
<script src="../site_libs/quarto-diagram/mermaid-init.js"></script>
<link href="../site_libs/quarto-diagram/mermaid.css" rel="stylesheet">


</head>
Expand Down Expand Up @@ -403,10 +406,10 @@ <h2 class="anchored" data-anchor-id="overview">Overview</h2>
<p>These workflows are stored in the DataHub repo in the <a href="https://github.com/berkeley-dsep-infra/datahub/tree/staging/.github/workflows">.github/workflows/</a> directory.</p>
<p>The basic order of operations is as follows:</p>
<ol type="1">
<li>PR is created in the datahub repo.</li>
<li>A pull request is created in the datahub repo.</li>
<li>The labeler workflow applies labels based on the <a href="https://github.com/berkeley-dsep-infra/datahub/blob/staging/.github/labeler.yml">file type and/or location</a>.</li>
<li>On PR merge to staging, if the labels match any hub, support or node placeholder deployments those specific systems are deployed.</li>
<li>On PR merge to prod, only hubs are deployed (again based on labels).</li>
<li>When the pull request is merged to <code>staging</code>, if the labels match any hub, support or node placeholder deployments those specific systems are deployed.</li>
<li>When the pull request is merged to prod, only the hubs that have been modified are deployed (again based on labels).</li>
</ol>
<p>The hubs are deployed via <a href="https://github.com/berkeley-dsep-infra/hubploy">hubploy</a>, which is our custom wrapper for <code>gcloud</code>, <code>sops</code> and <code>helm</code>.</p>
</section>
Expand Down Expand Up @@ -514,6 +517,38 @@ <h4 class="anchored" data-anchor-id="single-user-server-image-tag-updates">Singl
<p>When a pull request is opened to update one or more image tags for deployments, the <a href="https://github.com/berkeley-dsep-infra/datahub/blob/staging/.github/labeler.yml">labeler</a> will apply the <code>hub: &lt;hubname&gt;</code> label upon creation. When this pull request is merged, the <a href="https://github.com/berkeley-dsep-infra/datahub/blob/staging/.github/workflows/deploy-hubs.yaml">deploy-hubs workflow</a> is triggered.</p>
<p>This workflow will then grab the labels from the merged pull request, see if any hubs need to be deployed and if so, execute a <a href="https://github.com/berkeley-dsep-infra/datahub/blob/staging/.github/scripts/determine-hub-deployments.py">python script</a> that checks the environment variables within that workflow for hubs, and emits a list of what’s to be deployed.</p>
<p>That list is iterated over, and <a href="https://github.com/berkeley-dsep-infra/hubploy">hubploy</a> is used to deploy only the flagged hubs.</p>
<div class="cell" data-layout-align="default">
<div class="cell-output-display">
<div>
<p></p><figure class="figure"><p></p>
<div>
<pre class="mermaid mermaid-js">%% State diagram documentation at
%% https://mermaid.js.org/syntax/stateDiagram.html

stateDiagram-v2
image_repo: github.com/berkeley-dsep-infra/hubname-user-image
forked_repo: github.com/github username/hubname-user-image
image_test_build: Image is built and tested
image_push_build: Image is built and pushed to registry
pr_created: A pull request is automatically&lt;br/&gt;created in the Datahub repo
deploy_to_staging: Hub is deployed to staging
contributor_tests: The contributor logs into the&lt;br/&gt;staging hub and tests the image.
deploy_to_prod: Hub is deployed to prod

image_repo --&gt; forked_repo: Contributor forks the image repo.
forked_repo --&gt; image_repo: Contributor creates a PR.
image_repo --&gt; image_test_build
image_test_build --&gt; image_push_build: Test build passes and Datahub staff merge pull request
image_push_build --&gt; pr_created
pr_created --&gt; deploy_to_staging: Datahub staff review and merge to staging
deploy_to_staging --&gt; contributor_tests
contributor_tests --&gt; deploy_to_prod: Datahub staff create a PR to merge to prod
</pre>
</div>
<p></p></figure><p></p>
</div>
</div>
</div>
</section>
<section id="support-and-node-placeholder-charts" class="level4">
<h4 class="anchored" data-anchor-id="support-and-node-placeholder-charts">Support and node-placeholder charts</h4>
Expand Down
12 changes: 6 additions & 6 deletions admins/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ <h1 class="title">Architecture and Contribution Overview</h1>

<div class="quarto-listing quarto-listing-container-default" id="listing-listing">
<div class="list quarto-listing-default">
<div class="quarto-post image-right" data-index="0" data-listing-file-modified-sort="1729890553687" data-listing-reading-time-sort="2" data-listing-word-count-sort="262">
<div class="quarto-post image-right" data-index="0" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="2" data-listing-word-count-sort="262">
<div class="thumbnail">
<p><a href="../admins/pre-reqs.html" class="no-external"></a></p><a href="../admins/pre-reqs.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand All @@ -469,7 +469,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="1" data-listing-file-modified-sort="1729890553687" data-listing-reading-time-sort="2" data-listing-word-count-sort="313">
<div class="quarto-post image-right" data-index="1" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="2" data-listing-word-count-sort="313">
<div class="thumbnail">
<p><a href="../admins/structure.html" class="no-external"></a></p><a href="../admins/structure.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand All @@ -491,7 +491,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="2" data-listing-file-modified-sort="1729890553687" data-listing-reading-time-sort="4" data-listing-word-count-sort="681">
<div class="quarto-post image-right" data-index="2" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="5" data-listing-word-count-sort="857">
<div class="thumbnail">
<p><a href="../admins/cicd-github-actions.html" class="no-external"></a></p><a href="../admins/cicd-github-actions.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand All @@ -513,7 +513,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="3" data-listing-file-modified-sort="1729890553687" data-listing-reading-time-sort="6" data-listing-word-count-sort="1134">
<div class="quarto-post image-right" data-index="3" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="6" data-listing-word-count-sort="1134">
<div class="thumbnail">
<p><a href="../admins/cluster-config.html" class="no-external"></a></p><a href="../admins/cluster-config.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand All @@ -535,7 +535,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="4" data-listing-file-modified-sort="1729890553687" data-listing-reading-time-sort="1" data-listing-word-count-sort="134">
<div class="quarto-post image-right" data-index="4" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="1" data-listing-word-count-sort="134">
<div class="thumbnail">
<p><a href="../admins/credentials.html" class="no-external"></a></p><a href="../admins/credentials.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand All @@ -557,7 +557,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="5" data-listing-file-modified-sort="1729890553687" data-listing-reading-time-sort="4" data-listing-word-count-sort="605">
<div class="quarto-post image-right" data-index="5" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="4" data-listing-word-count-sort="605">
<div class="thumbnail">
<p><a href="../admins/storage.html" class="no-external"></a></p><a href="../admins/storage.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down
18 changes: 9 additions & 9 deletions hubs.html
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ <h1 class="title">JupyterHub Deployments</h1>

<div class="quarto-listing quarto-listing-container-default" id="listing-listing">
<div class="list quarto-listing-default">
<div class="quarto-post image-right" data-index="0" data-categories="course,jupyterlab,otter-grader,shared-folders" data-listing-file-modified-sort="1729890553687" data-listing-reading-time-sort="1" data-listing-word-count-sort="72">
<div class="quarto-post image-right" data-index="0" data-categories="course,jupyterlab,otter-grader,shared-folders" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="1" data-listing-word-count-sort="72">
<div class="thumbnail">
<p><a href="./hubs/data100.html" class="no-external"></a></p><a href="./hubs/data100.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down Expand Up @@ -485,7 +485,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="1" data-categories="course,jupyterlab,otter-grader,shared-folders" data-listing-file-modified-sort="1729890553687" data-listing-reading-time-sort="1" data-listing-word-count-sort="30">
<div class="quarto-post image-right" data-index="1" data-categories="course,jupyterlab,otter-grader,shared-folders" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="1" data-listing-word-count-sort="30">
<div class="thumbnail">
<p><a href="./hubs/data102.html" class="no-external"></a></p><a href="./hubs/data102.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down Expand Up @@ -521,7 +521,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="2" data-categories="jupyterlab,ltiauthenticator" data-listing-file-modified-sort="1729890553691" data-listing-reading-time-sort="1" data-listing-word-count-sort="42">
<div class="quarto-post image-right" data-index="2" data-categories="jupyterlab,ltiauthenticator" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="1" data-listing-word-count-sort="42">
<div class="thumbnail">
<p><a href="./hubs/edx.html" class="no-external"></a></p><a href="./hubs/edx.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down Expand Up @@ -551,7 +551,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="3" data-categories="jupyterlab,r,vscode" data-listing-file-modified-sort="1729890553687" data-listing-reading-time-sort="1" data-listing-word-count-sort="53">
<div class="quarto-post image-right" data-index="3" data-categories="jupyterlab,r,vscode" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="1" data-listing-word-count-sort="53">
<div class="thumbnail">
<p><a href="./hubs/datahub.html" class="no-external"></a></p><a href="./hubs/datahub.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down Expand Up @@ -584,7 +584,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="4" data-categories="course,jupyterlab,vscode" data-listing-file-modified-sort="1729890553691" data-listing-reading-time-sort="1" data-listing-word-count-sort="44">
<div class="quarto-post image-right" data-index="4" data-categories="course,jupyterlab,vscode" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="1" data-listing-word-count-sort="44">
<div class="thumbnail">
<p><a href="./hubs/prob140.html" class="no-external"></a></p><a href="./hubs/prob140.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down Expand Up @@ -617,7 +617,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="5" data-categories="jupyterlab,r,rstudio,vscode" data-listing-file-modified-sort="1729890553691" data-listing-reading-time-sort="1" data-listing-word-count-sort="34">
<div class="quarto-post image-right" data-index="5" data-categories="jupyterlab,r,rstudio,vscode" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="1" data-listing-word-count-sort="34">
<div class="thumbnail">
<p><a href="./hubs/r.html" class="no-external"></a></p><a href="./hubs/r.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down Expand Up @@ -653,7 +653,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="6" data-categories="r,rstudio,shiny" data-listing-file-modified-sort="1729890553691" data-listing-reading-time-sort="1" data-listing-word-count-sort="16">
<div class="quarto-post image-right" data-index="6" data-categories="r,rstudio,shiny" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="1" data-listing-word-count-sort="16">
<div class="thumbnail">
<p><a href="./hubs/shiny.html" class="no-external"></a></p><a href="./hubs/shiny.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down Expand Up @@ -686,7 +686,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="7" data-categories="course,jupyterlab,rtc,shared-folders,vscode" data-listing-file-modified-sort="1729890553691" data-listing-reading-time-sort="2" data-listing-word-count-sort="318">
<div class="quarto-post image-right" data-index="7" data-categories="course,jupyterlab,rtc,shared-folders,vscode" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="2" data-listing-word-count-sort="318">
<div class="thumbnail">
<p><a href="./hubs/stat159.html" class="no-external"></a></p><a href="./hubs/stat159.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down Expand Up @@ -725,7 +725,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="8" data-categories="course,jupyterlab,quarto,rstudio,shared-folders,shiny" data-listing-file-modified-sort="1729890553691" data-listing-reading-time-sort="1" data-listing-word-count-sort="33">
<div class="quarto-post image-right" data-index="8" data-categories="course,jupyterlab,quarto,rstudio,shared-folders,shiny" data-listing-file-modified-sort="1729899508207" data-listing-reading-time-sort="1" data-listing-word-count-sort="33">
<div class="thumbnail">
<p><a href="./hubs/stat20.html" class="no-external"></a></p><a href="./hubs/stat20.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down
Loading

0 comments on commit d29a3a7

Please sign in to comment.