Skip to content

glaciation-heu/jena-fuseki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Jena Fuseki

Apache Jena Fuseki docker image and helm chart for deployment to the Kubernetis cluster.

Usage

Prerequisites:

Steps:

  1. Add a repository
helm repo add jena-fuseki-repo https://glaciation-heu.github.io/jena-fuseki/helm-charts/
helm repo update
helm search repo jena-fuseki
  1. Install a Deployment
helm install jena-fuseki jena-fuseki-repo/jena-fuseki

You can add extra attributes. For example:

helm install jena-fuseki jena-fuseki-repo/jena-fuseki --set deployment.replicaCount=3

You can install it as a DaemonSet

helm install jena-fuseki jena-fuseki-repo/jena-fuseki --set deployment.enabled=false --set daemonset.enabled=true
  1. Delete a Deployment/DaemonSet
helm delete jena-fuseki

Development

Prerequisites:

Steps:

  1. Start Minikube:
minikube start
  1. Build a docker image
cd docker
docker build -t my-jena-fuseki:latest .
  1. Run the docker image
docker run -p 3030:3030 my-jena-fuseki:latest

The Apache Jena Fuseki should then be available at http://localhost:3030/. Login and password for web interface will be in logs. More information here.

  1. Upload the docker image to minikube:
minikube image load my-jena-fuseki:latest
  1. Install Helm Chart from source files
cd ..  # Go to the project root
helm upgrade --install my-jena-fuseki ./charts/jena-fuseki --set image.repository=my-jena-fuseki --set image.tag=latest
  1. Delete a Deployment/DaemonSet
helm delete my-jena-fuseki

Release

To create a release, add a tag in GIT with the format a.a.a, where 'a' is an integer.

git tag 0.1.0
git push origin 0.1.0

The release version for branches, pull requests, and other tags will be generated based on the last tag of the form a.a.a.

Helm Chart Versioning

The Helm chart version changed automatically when a new release is created. The version of the Helm chart is equal to the version of the release.

GitHub Actions

GitHub Actions triggers testing and builds for each release.

Initial setup
Create the branch gh-pages and use it as a GitHub page.

After execution

  • The index.yaml file containing the list of Helm Charts will be available at https://glaciation-heu.github.io/jena-fuseki/helm-charts/index.yaml.
  • The Docker image will be available at https://github.com/glaciation-heu/jena-fuseki/pkgs/container/jena-fuseki.

Collaboration guidelines

HIRO uses and requires from its partners GitFlow with Forks

License

Different licenses apply to files added by different directories: