Skip to content

Commit

Permalink
Merge pull request #9 from helxplatform/merge-from-jupyter-docker-sta…
Browse files Browse the repository at this point in the history
…cks-main-20241010

Merge from jupyter docker stacks main 20241010
  • Loading branch information
joshua-seals authored Oct 11, 2024
2 parents 0676a91 + 2553966 commit 2069517
Show file tree
Hide file tree
Showing 212 changed files with 4,338 additions and 1,821 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[flake8]
max-line-length = 88
select = C,E,F,W,B,B950
select = C, E, F, W, B, B950
extend-ignore = E203, E501, W503
24 changes: 17 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Bug report
description: Create a report to help us improve
title: "[BUG] - <title>"
labels: ["type:Bug"]

body:
Expand All @@ -10,7 +9,7 @@ body:
Hi! Thanks for using the Jupyter Docker Stacks and taking some time to contribute to this project.
We'd appreciate it if you could check out the [Troubleshooting common problems](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/troubleshooting.html) section in the documentation,
as well as [existing issues](https://github.com/jupyter/docker-stacks/issues) prior to submitting an issue to avoid duplication.
as well as [existing issues](https://github.com/jupyter/docker-stacks/issues?q=is%3Aissue) prior to submitting an issue to avoid duplication.
Please answer the following sections to help us troubleshoot the problem.
Expand All @@ -23,9 +22,11 @@ body:
- all-spark-notebook
- base-notebook
- datascience-notebook
- docker-stacks-foundation
- julia-notebook
- minimal-notebook
- pyspark-notebook
- pytorch-notebook
- r-notebook
- scipy-notebook
- tensorflow-notebook
Expand All @@ -34,10 +35,19 @@ body:

- type: input
attributes:
label: Host OS system and architecture running docker image
label: Host OS system
placeholder: |
Example:
Ubuntu 22.04 / aarch64
Ubuntu 22.04
validations:
required: true

- type: dropdown
attributes:
label: Host architecture
options:
- x86_64
- aarch64
validations:
required: true

Expand All @@ -48,7 +58,7 @@ body:
What complete docker command do you run to launch the container (omitting sensitive values)?
placeholder: |
Example:
`docker run -it --rm -p 8888:8888 jupyter/all-spark-notebook`
`docker run -it --rm -p 8888:8888 quay.io/jupyter/base-notebook`
validations:
required: true

Expand Down Expand Up @@ -96,7 +106,7 @@ body:
description: |
A clear and concise description of what the bug is.
placeholder: |
Example: No output is visible in the notebook and the notebook server log contains messages about ...
Example: No output is visible in the notebook and the Server log contains messages about ...
validations:
required: true

Expand All @@ -115,5 +125,5 @@ body:
label: Latest Docker version
description: You should try to use the latest Docker version
options:
- label: I've updated my Docker version to the latest available, and the issue still persists
- label: I've updated my Docker version to the latest available, and the issue persists
required: true
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Feature request
description: Suggest a new feature for this project
title: "[ENH] - <title>"
labels: ["type:Enhancement"]

body:
Expand All @@ -21,9 +20,11 @@ body:
- all-spark-notebook
- base-notebook
- datascience-notebook
- docker-stacks-foundation
- julia-notebook
- minimal-notebook
- pyspark-notebook
- pytorch-notebook
- r-notebook
- scipy-notebook
- tensorflow-notebook
Expand All @@ -33,7 +34,7 @@ body:

- type: textarea
attributes:
label: What changes are you proposing?
label: What change(s) are you proposing?
description: |
Be concise and feel free to add supporting links or references.
placeholder: |
Expand All @@ -52,7 +53,7 @@ body:
Example:
- Altair is a declarative statistical visualization library for Python, based on Vega and Vega-Lite, and the source is available on GitHub.
- With Altair, you can spend more time understanding your data and its meaning.
- Altair's API is simple, friendly and consistent and built on top of the powerful Vega-Lite visualization grammar.
- Altair's API is simple, friendly, and consistent and built on top of the powerful Vega-Lite visualization grammar.
- This elegant simplicity produces beautiful and effective visualizations with a minimal amount of code.
validations:
required: true
Expand Down
20 changes: 20 additions & 0 deletions .github/actions/create-dev-env/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build environment
description: Create a build environment

runs:
using: composite
steps:
# actions/setup-python doesn't support Linux aarch64 runners
# See: https://github.com/actions/setup-python/issues/108
# python3 is manually preinstalled in the aarch64 VM self-hosted runner
- name: Set Up Python 🐍
uses: actions/setup-python@v5
with:
python-version: 3.x
if: runner.arch == 'X64'

- name: Install Dev Dependencies 📦
run: |
pip install --upgrade pip
pip install --upgrade -r requirements-dev.txt
shell: bash
27 changes: 27 additions & 0 deletions .github/actions/load-image/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Load Docker image
description: Download the image tar and load it to Docker

inputs:
image:
description: Image name
required: true
platform:
description: Image platform
required: true
variant:
description: Variant tag prefix
required: true

runs:
using: composite
steps:
- name: Download built image 📥
uses: actions/download-artifact@v4
with:
name: ${{ inputs.image }}-${{ inputs.platform }}-${{ inputs.variant }}
path: /tmp/jupyter/images/
- name: Load downloaded image to docker 📥
run: |
zstd --uncompress --stdout --rm /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}-${{ inputs.variant }}.tar.zst | docker load
docker image ls --all
shell: bash
10 changes: 9 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: github-actions
directory: .github/actions/create-dev-env/
schedule:
interval: weekly
- package-ecosystem: github-actions
directory: .github/actions/load-image/
schedule:
interval: weekly
Loading

0 comments on commit 2069517

Please sign in to comment.