disable token auth
This commit is contained in:
parent
5ffb14c5bb
commit
aea64c6661
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
image: docker:stable
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
variables:
|
||||||
|
IMAGE_NAME: registry.gitlab.com/jupyter-scipy-database-extension
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
tags:
|
||||||
|
- hottis
|
||||||
|
- linux
|
||||||
|
- docker
|
||||||
|
script:
|
||||||
|
- VERSION=`cat VERSION`
|
||||||
|
- docker build --tag $IMAGE_NAME:$VERSION .
|
||||||
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
|
- docker push $IMAGE_NAME:$VERSION
|
||||||
|
|
@ -1,8 +1,13 @@
|
|||||||
FROM jupyter/scipy-notebook
|
FROM jupyter/scipy-notebook
|
||||||
|
|
||||||
|
LABEL Maintainer="Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
|
||||||
|
LABEL ImageName="registry.gitlab.com/wolutator/registry.gitlab.com/wolutator/"
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
pip install influxdb && \
|
pip install influxdb && \
|
||||||
pip install pymongo && \
|
pip install pymongo && \
|
||||||
fix-permissions $CONDA_DIR && \
|
fix-permissions $CONDA_DIR && \
|
||||||
fix-permissions /home/$NB_USER
|
fix-permissions /home/$NB_USER
|
||||||
|
|
||||||
|
CMD ["start-notebook.sh", "--NotebookApp.token=''"]
|
||||||
|
|
||||||
|
2
build.sh
2
build.sh
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
docker build --tag registry.gitlab.com/wolutator/jupyter-scipy-database-extension:latest --tag registry.gitlab.com/wolutator/jupyter-scipy-database-extension:1.0 .
|
docker build --tag registry.gitlab.com/wolutator/jupyter-scipy-database-extension:latest --tag registry.gitlab.com/wolutator/jupyter-scipy-database-extension:1.1 .
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user