delphix / linux-pkg

Framework to build custom packages for the Delphix Appliance
Apache License 2.0
4 stars 31 forks source link

DLPX-91307 Install packages from dms-core-gate build-dependencies #317

Closed pjang-dlpx closed 4 months ago

pjang-dlpx commented 4 months ago

Problem

The masking engine is upgrading to Java 17, which is not currently installed in the appliance. See the CP [here](https://delphix.atlassian.net/browse/CP-11471) for more context.

Solution

We are adding a build-dependencies file to dms-core-gate, similar to [dlpx-app-gate](https://github.com/delphix/dlpx-app-gate/blob/develop/appliance/packaging/build-dependencies) through https://github.com/delphix/dms-core-gate/pull/1289, where we are also specifying openjdk-17. This change references this file and installs packages listed.

Testing Done

Verified that build-package for the delphix-masking package pulls openjdk-17-jdk from build-dependencies file in dms-core-gate's repo and successfully installs it as a build dependency: http://selfservice.jenkins.delphix.com/job/linux-pkg/job/develop/job/build-package/job/masking/job/pre-push/113/

Notes to Reviewers

Throughout the learning process of this change, I also noticed that the README was slightly out of date. This change also includes some README changes, with the help of @prakashsurya.