Skip to content

Commit

Permalink
Merge branch 'main' into rokroskar-patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar authored May 14, 2024
2 parents be7ece5 + ede0798 commit 9538265
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/build-and-push-to-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,21 @@ jobs:
strategy:
fail-fast: true
matrix:
BASE_PYTHON_VERSION:
- "3.10"
- "3.9"
- "3.8"
include:
- BASE_PYTHON_VERSION: "3.11"
REGISTRY: quay.io
- BASE_PYTHON_VERSION: "3.10"
REGISTRY: docker.io
- BASE_PYTHON_VERSION: "3.9"
REGISTRY: docker.io
- BASE_PYTHON_VERSION: "3.8"
REGISTRY: docker.io
steps:
- name: Docker Login
uses: Azure/docker-login@v1
with:
username: ${{ secrets.RENKU_DOCKER_USERNAME }}
password: ${{ secrets.RENKU_DOCKER_PASSWORD }}

- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/[email protected]
Expand Down Expand Up @@ -348,10 +352,13 @@ jobs:
strategy:
fail-fast: true
matrix:
EXTENSION:
- vnc
- batch

include:
- EXTENSION: vnc
PYTHON_VERSION: "3.10"
- EXTENSION: vnc
PYTHON_VERSION: "3.11"
- EXTENSION: batch
PYTHON_VERSION: "3.10"
steps:
- name: Docker Login
uses: Azure/docker-login@v1
Expand Down Expand Up @@ -390,7 +397,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
provenance: false

build-vnc-ext:
needs: build-py-ext
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions docker/py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ RUN python3 -m pip install --no-cache-dir -U pip && \
rm -rf "/home/${NB_USER}/.cache"

# jupyter sets channel priority to strict which often causes very long error messages
RUN mamba config --system --set channel_priority flexible && \
mamba clean --all -f -y
RUN conda config --system --set channel_priority flexible && \
conda clean --all -f -y

COPY renku-requirements/requirements.txt /tmp/renku-requirements.txt

Expand Down
2 changes: 1 addition & 1 deletion docker/py/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jupyter-server-proxy==4.1.2
jupyterlab-git==0.50.0
jupyterlab-system-monitor~=0.8.0
mistune>=2.0.1 # not directly required, pinned by Snyk to avoid a vulnerability
papermill~=2.5.0
papermill~=2.6.0
requests>=2.20.0
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
virtualenv>=20.7.2
Expand Down

0 comments on commit 9538265

Please sign in to comment.