Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vpavlin/jsp-wrapper


https://github.com/vpavlin/jsp-wrapper

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

        

# jsp-wrapper

This repo serves as a build wrapper for https://github.com/opendatahub-io/jupyterhub-singleuser-profiles to speed up the development.

Both methods described below require every change to be pushed to your fork of jupyterhub-singleuser-profiles repo so that the [Dockerfile](/Dockerfile) can install from there.

## Build locally

```
make
```

The above command will

1. Update the ImageStream in the cluster to point to your custom image on Quay.io
2. Build using podman
3. Tag and push the result to `quay.io/$USER/jupyterhub-img:test-jsp`
4. Import the new image in your cluster
5. Start a rollout of new version

## Build remotely

```
make remote
```

The above command will

1. Create a new BuildConfig for your build
2. Kick off the build with log watch
3. Start a rollout of new version

## Build with specific jupyterhub-odh branch

```
make remote-odh
```

The above command will

1. Create two BuildConfigs (one for adding JH-ODH to the base image, second for adding JSP)
2. Kick off each build in succession
3. Start rollout of the new version

### Variables

* `JH_ODH_REPO` - Name of the jupyterhub-odh repo
* `JH_ODH_REF` - Git branch of jupyterhub-odh

## Configuration

You can change these options

* `USER` - a system user is used by default, will be used for GH user and Quay.io user
* `NAMESPACE` - the OpenShift namespace where ODH is deployed
* `GIT_REF` - Git reference where your code lives (only needed for remote builds)