Giter Club home page Giter Club logo

renku-demo's Introduction

DEPRECATION NOTICE: This project is outdated an unmaintained. Please check out the Renku first steps tutorial for a step-by-step guide on how to manually create a meaningful Renku project. For testing existing deployments check out the current version of the Renku acceptance tests.

Renku demo

This repo includes instructions to create a repeatable demo of the renku platform. The steps you need to execute to set up the live demo are described in script.md. The actual material for the demo is found in the commits subdirectory.

Automated setup

All steps up to Analyze Data described in the script.md are automated. Simply run the run-demo.sh command. The command assumes a local instance of GitLab running under gitlab.renku.build, yet it is configurable to run with different instances of GitLab as a backend through environment variables. The script cleanup.sh will remove everything created by the run-demo.sh script, both locally as well as on the GitLab backend. The details (username, password) of the created users can be found and adapted in users.json.

Running the demo inside a docker container

The recommended way to run the demo script is to use the prepared docker image:

  • docker run --rm --network host renku/renku-demo runs the script.
  • docker run --rm --network host renku/renku-demo /app/cleanup.sh removes the demo project from your gitlab instance. If you want to build your image locally (for example because you want to change the pre-configured users in users.json), run docker build . -t renku/renku-demo

Running the demo against any renku instance

Examples:

  • Running the demo against a local minikube deployment:
    docker run -it --rm --network host \
    -e GITLAB_URL=http://$(minikube ip)/gitlab \
    -e KEYCLOAK_URL=http://$(minikube ip) \
    renku/renku-demo:latest

  • Running the demo against a cloud deployment of renku:
    docker run -it --rm --network host \
    -e GITLAB_URL=https://<some-hostname>/gitlab \
    -e KEYCLOAK_URL=https://<some-hostname. \
    -e KEYCLOAK_ADMIN_USER=admin \
    -e KEYCLOAK_ADMIN_PASSWORD=<get-from-values.yaml> \
    -e GITLAB_SUDO_TOKEN=<get-from-values.yaml> \
    renku/renku-demo:latest

Running the demo as kubernetes pod

Examples:

  • Running the demo against a local minikube deoployment:
    kubectl run renku-demo -it \
    --env="GITLAB_URL=http://$(minikube ip)/gitlab" \
    --env="KEYCLOAK_URL=http://$(minikube ip)" \
    --image=renku/renku-demo:latest \
    --restart=Never;
    kubectl delete pod renku-demo

  • Cleaning up the demo on a local minikube deoployment:
    kubectl run renku-demo -it \
    --env="GITLAB_URL=http://$(minikube ip)/gitlab" \
    --env="KEYCLOAK_URL=http://$(minikube ip)" \
    --image=renku/renku-demo:latest \
    --restart=Never \
    -- /app/cleanup.sh;
    kubectl delete pod renku-demo

renku-demo's People

Contributors

ableuler avatar cramakri avatar leafty avatar rokroskar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.