diff --git a/0.3.0/.gitignore b/0.3.0/.gitignore new file mode 100644 index 0000000..f8a7114 --- /dev/null +++ b/0.3.0/.gitignore @@ -0,0 +1,274 @@ + +# Created by https://www.gitignore.io/api/macos,python,R,linux,vim,emacs + +### Emacs ### +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +### Linux ### + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ + +### Python Patch ### +.venv/ + +### Python.VirtualEnv Stack ### +# Virtualenv +# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/ +[Bb]in +[Ii]nclude +[Ll]ib +[Ll]ib64 +[Ll]ocal +[Ss]cripts +pyvenv.cfg +pip-selfcheck.json + +### R ### +# History files +.Rhistory +.Rapp.history + +# Session Data files +.RData + +# Example code in package build process +*-Ex.R + +# Output files from R CMD build +/*.tar.gz + +# Output files from R CMD check +/*.Rcheck/ + +# RStudio files +.Rproj.user/ + +# produced vignettes +vignettes/*.html +vignettes/*.pdf + +# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 +.httr-oauth + +# knitr and R markdown default cache directories +/*_cache/ +/cache/ + +# Temporary files created by R markdown +*.utf8.md +*.knit.md + +# Shiny token, see https://shiny.rstudio.com/articles/shinyapps.html +rsconnect/ + +### R.Bookdown Stack ### +# R package: bookdown caching files +/*_files/ + +### Vim ### +# Swap +[._]*.s[a-v][a-z] +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim + +# Temporary +.netrwhist +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + + +# End of https://www.gitignore.io/api/macos,python,R,linux,vim,emacs diff --git a/0.3.0/.gitlab-ci.yml b/0.3.0/.gitlab-ci.yml new file mode 100644 index 0000000..1cc3144 --- /dev/null +++ b/0.3.0/.gitlab-ci.yml @@ -0,0 +1,33 @@ +variables: + GIT_STRATEGY: fetch + GIT_SSL_NO_VERIFY: "true" + GIT_SUBMODULE_STRATEGY: recursive + GIT_LFS_SKIP_SMUDGE: 1 + +stages: + - build + +image_build: + stage: build + image: docker:stable + before_script: + - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN http://$CI_REGISTRY + script: + - docker pull renku/singleuser:0.3.2 + - CI_COMMIT_SHA_7=$(echo $CI_COMMIT_SHA | cut -c1-7) + - docker build --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA_7 . + - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA_7 + tags: + - image-build + +dot: + stage: build + image: renku/renku-python:v0.3.2 + script: + - renku log --format dot $(git ls-files --no-empty-directory --recurse-submodules) > graph.dot + artifacts: + paths: + - graph.dot + environment: + name: dot/$CI_COMMIT_REF_NAME + url: $CI_PROJECT_URL/-/jobs/artifacts/$CI_COMMIT_REF_NAME/raw/graph.dot?job=$CI_JOB_NAME diff --git a/0.3.0/.renku/metadata.yml b/0.3.0/.renku/metadata.yml new file mode 100644 index 0000000..728a608 --- /dev/null +++ b/0.3.0/.renku/metadata.yml @@ -0,0 +1,11 @@ +'@context': + created: http://schema.org/dateCreated + foaf: http://xmlns.com/foaf/0.1/ + name: foaf:name + updated: http://schema.org/dateUpdated + version: http://schema.org/schemaVersion +'@type': foaf:Project +created: {{ date-created }} +name: {{ name }} +updated: {{ date-updated }} +version: '1' diff --git a/0.3.0/Dockerfile b/0.3.0/Dockerfile new file mode 100644 index 0000000..4280a9f --- /dev/null +++ b/0.3.0/Dockerfile @@ -0,0 +1,11 @@ +FROM renku/singleuser:0.3.2 + +# Uncomment and adapt if code is to be included in the image +# COPY src /code/src + +# install the python dependencies +COPY requirements.txt environment.yml /tmp/ +RUN conda env update -q -f /tmp/environment.yml && \ + /opt/conda/bin/pip install -r /tmp/requirements.txt && \ + conda clean -y --all && \ + conda env export -n "root" diff --git a/0.3.0/README.md b/0.3.0/README.md new file mode 100644 index 0000000..704363d --- /dev/null +++ b/0.3.0/README.md @@ -0,0 +1,2 @@ +# {{ name }} +A Renku project. diff --git a/0.3.0/data/.gitkeep b/0.3.0/data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/0.3.0/environment.yml b/0.3.0/environment.yml new file mode 100644 index 0000000..1236311 --- /dev/null +++ b/0.3.0/environment.yml @@ -0,0 +1,7 @@ +name: "{{ name }}" +channels: + - defaults +dependencies: + - jupyter + - jupyterlab +prefix: "/opt/conda" diff --git a/0.3.0/notebooks/.gitkeep b/0.3.0/notebooks/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/0.3.0/requirements.txt b/0.3.0/requirements.txt new file mode 100644 index 0000000..e69de29