-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor image build check #56
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,10 @@ | |
global: | ||
useHTTPS: false | ||
|
||
gitlab: | ||
## specify the GitLab instance URL | ||
url: | ||
|
||
replicaCount: 1 | ||
|
||
image: | ||
|
@@ -24,6 +28,12 @@ image: | |
# jupyterhub_base_url: / | ||
# jupyterhub_api_url: http://<host>/hub/api | ||
|
||
## Set the default image registry | ||
# imageRegistry: | ||
|
||
## set the image build timeout | ||
imageBuildTimeout: '600' | ||
|
||
# enable the security context - if using telepresence for development, disable it | ||
securityContext: | ||
enabled: true | ||
|
@@ -89,8 +99,6 @@ jupyterhub: | |
extraEnv: | ||
DEBUG: 1 | ||
JUPYTERHUB_SPAWNER_CLASS: spawners.RenkuKubeSpawner | ||
## timeout for waiting on an image build | ||
# GITLAB_IMAGE_BUILD_TIMEOUT: 600 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to move it instead, no? |
||
## GitLab instance URL | ||
# GITLAB_URL: http://gitlab.com | ||
extraConfig: | | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Build as renku/singleuser | ||
# Run with the DockerSpawner in JupyterHub | ||
|
||
ARG JUPYTERHUB_VERSION=0.9 | ||
ARG JUPYTERHUB_VERSION=0.9.2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. they made There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
ARG BASE_IMAGE=jupyterhub/singleuser:$JUPYTERHUB_VERSION | ||
|
||
FROM $BASE_IMAGE | ||
ARG JUPYTERHUB_VERSION | ||
ARG RENKU_VERSION=0.2.0rc1 | ||
ARG RENKU_VERSION=0.2.0 | ||
MAINTAINER Swiss Data Science Center <info@datascience.ch> | ||
|
||
|
||
|
@@ -33,8 +33,10 @@ RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.d | |
USER $NB_USER | ||
|
||
# install jupyterlab, papermill, git extension and renku-jupyterlab-ts | ||
COPY requirements.txt /tmp/requirements.txt | ||
|
||
RUN python3 -m pip install -U pip && \ | ||
pip install -U jupyterlab papermill && \ | ||
pip install -r /tmp/requirements.txt && \ | ||
jupyter labextension update @jupyterlab/hub-extension --no-build && \ | ||
jupyter labextension install @jupyterlab/git --no-build && \ | ||
jupyter labextension install renku-jupyterlab-ts --no-build && \ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
jupyterlab==0.34.0 | ||
papermill |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍