Skip to content

Add GitHub Actions for Building and Testing shinyproxy-operator #7

Description

@jaredlander

Build a GitHub action that will build the jar for this repository, then build the docker image from https://github.com/openanalytics/shinyproxy-docker.

The following build instructions come from https://github.com/openanalytics/shinyproxy-docker?tab=readme-ov-file#locally-building-a-development-release-1

You don't need to follow them exactly, but it is roughly as follows

Step 1: build the Operator

git clone -b develop https://github.com/openanalytics/shinyproxy-operator/ shinyproxy-operator
cd shinyproxy-operator
mvn package install -DskipTests

Step 2: copy the JAR to the location of the shinyproxy docker container registry

git clone https://github.com/openanalytics/shinyproxy-docker/ docker
cd docker/Operator
cp ../../shinyproxy-operator/target/shinyproxy-operator-jar-with-dependencies.jar .

Step 3: build the docker image

docker build -t shinyproxy-operator-dev --build-arg JAR_LOCATION=shinyproxy-operator-jar-with-dependencies.jar .

Then push the image to landeranalytics.azurecr.io/shinyproxy-operator with the appropriate tag.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions