Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vpavlin/jsp-wrapper
https://github.com/vpavlin/jsp-wrapper
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vpavlin/jsp-wrapper
- Owner: vpavlin
- License: gpl-3.0
- Created: 2021-03-30T18:34:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-04T15:23:11.000Z (about 3 years ago)
- Last Synced: 2024-04-04T11:53:35.306Z (7 months ago)
- Language: Makefile
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)