Example Jupyter notebook App for JARVICE using authentication tokens
This application demonstrates how to use token substitution in a JARVICE Appdef file. JARVICE currently supports:
- %RANDOM16% := 16 bit token
- %RANDOM32% := 32 bit token
- %RANDOM64% := 64 bit token
- %RANDOM128% := 128 bit token
The token is available at /etc/JARVICE/random128.txt
inside a running job. The token can be truncated to match the substitution size. For example:
random16=$(cat /etc/JARVICE/random128.txt | cut -c 1-16)
These instructions will walk through how to create Jupyter notebook app for JARVICE via PushToCompute CICD flow.
What things you need to install the software and how to install them:
- Docker CE: https://docs.docker.com/install/
Accounts:
- Docker repository (e.g. DockerHub)
- PushToCompute enabled JARVICE account: https://www.nimbix.net/contact-us/
- Open the PushToCompute tab on JARVICE
- Create a new JARVICE App
- Log into Docker registry
- Fill in App details
Note: Fill in Docker Repository using your account (e.g. username
/jupyter-demo:xenial)
- Start Build+Pull
-
Click on App card
-
Select
Launch Notebook
- Submit job w/
SUBMIT
button
- Kenneth Hill - Initial work
This project is uses an OpenSource license - see the LICENSE.md file for details