Skip to content

Commit

Permalink
docs: include github packages instructions (redhat-developer#234)
Browse files Browse the repository at this point in the history
* docs: include github packages instructions

* Update build_docs/building.adoc

Co-authored-by: Wojciech Trocki <[email protected]>

Co-authored-by: Wojciech Trocki <[email protected]>
  • Loading branch information
secondsun and wtrocki authored Jun 17, 2021
1 parent 668a242 commit fad50fa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build_docs/building.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
- mvn
- OpenShift Client (or kubernetes)

= Building and Devloping
= GitHub Packages Setup

This project uses GitHub packages for of its dependencies. Before you can build this project using `mvn install` you must configure Maven to authenticate to GitHub with a Personal Access Token that has packages:read permission. Please refer to [link:https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry[GitHub's documentation] fordetailed instructions.

= Building and Developing

The operator is written in Java as a multi module Maven project. The easiest way to build and run the operator locally is

Expand All @@ -24,4 +28,4 @@ link:https://github.com/bf2fc6cc711aee1a0c2a/operator/tree/main/olm/olm-template

== Operator Container Build

The Operator container is built by link:https://quarkus.io/guides/container-image[Quarkus JIB]. The configuration is provided by link:https://github.com/bf2fc6cc711aee1a0c2a/operator/blob/main/source/rhoas/src/main/resources/application.properties[application.properties]. The link:https://github.com/bf2fc6cc711aee1a0c2a/operator/blob/main/.github/workflows/release.yml#L32[GitHub action release workflow] contains an example of these values being overidden to release the operator.
The Operator container is built by link:https://quarkus.io/guides/container-image[Quarkus JIB]. The configuration is provided by link:https://github.com/bf2fc6cc711aee1a0c2a/operator/blob/main/source/rhoas/src/main/resources/application.properties[application.properties]. The link:https://github.com/bf2fc6cc711aee1a0c2a/operator/blob/main/.github/workflows/release.yml#L32[GitHub action release workflow] contains an example of these values being overidden to release the operator.

0 comments on commit fad50fa

Please sign in to comment.