Skip to content

tecarter94/jvm-build-service

 
 

Repository files navigation

HACBS JVM Build Service

Build Status Badge

This repository contains components used to deploy the HACBS JVM build service.

See each component’s directory for specific documentation. There is further documentation available within the docs directory.

Requirements

This is currently using OpenShift Pipelines 1.15

Installation

The following environment variables are configurable and may be set by the user prior to deploying this depending upon which features are to be enabled.

GIT_DEPLOY_IDENTITY

Username/organisation name for the Git service

GIT_DEPLOY_TOKEN

Authentication token

GIT_DEPLOY_URL

The URL for the Git service (GitHub/GitLab are supported) to archive the sources

GIT_DISABLE_SSL_VERIFICATION

Whether to disable SSL verification for Git archival service communication

JBS_QUAY_IMAGE_CONTROLLER

The name for the operator image repository. Defaults to hacbs-jvm-controller.

JBS_QUAY_IMAGE_TAG

The tag for the images (defaults to dev)

JBS_QUAY_ORG

JBS images are pulled by default from the QUAY_USERNAME organization. This may be overridden by changing this

JBS_BUILD_IMAGE_SECRET

Secret for accessing Quay.io (See below)

JBS_GIT_CREDENTIALS

Support for private repositories (See below)

JBS_MAX_MEMORY

Maximum additional memory allowed

JBS_RECIPE_DATABASE

Recipe database to use (defaults to https://github.com/redhat-appstudio/jvm-build-data)

JBS_WORKER_NAMESPACE

Worker namespace (default: test-jvm-namespace) may be customised by setting this

MAVEN_PASSWORD

Password for the Maven repository

MAVEN_REPOSITORY

The URL for the external Maven repository to deploy to

MAVEN_USERNAME

Username for the Maven repository

QUAY_USERNAME

Quay.io registry to use

The $HOME/.docker/config.json must contain a suitable authentication token to Quay.io. In the Account section of Quay you should see an options to generate an encrypted CLI password. Select this option and create a ~/ .docker/config.json by following the prompts. It is recommended to configure this secret as:

export JBS_BUILD_IMAGE_SECRET=$(cat $HOME/.docker/config.json | base64 -w 0)

To support private repositories set:

export JBS_GIT_CREDENTIALS='https://$GITHUB_E2E_ORGANIZATION:[email protected]'

Documentation

About

System for rebuilding Java dependencies from source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 59.9%
  • Go 24.7%
  • TypeScript 11.6%
  • Shell 2.0%
  • JavaScript 0.8%
  • HTML 0.7%
  • Other 0.3%