disable token auth

This commit is contained in:
Wolfgang Hottgenroth 2019-10-23 22:37:56 +02:00
parent 5ffb14c5bb
commit aea64c6661
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F
4 changed files with 27 additions and 1 deletions

20
.gitlab-ci.yml Normal file
View 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

View File

@ -1,8 +1,13 @@
FROM jupyter/scipy-notebook
LABEL Maintainer="Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
LABEL ImageName="registry.gitlab.com/wolutator/registry.gitlab.com/wolutator/"
RUN \
pip install influxdb && \
pip install pymongo && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
CMD ["start-notebook.sh", "--NotebookApp.token=''"]

1
VERSION Normal file
View File

@ -0,0 +1 @@
1.2

View File

@ -1,4 +1,4 @@
#!/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 .