Skip to content

TOOL-28284 Linux-pkg changes to support Mend Scan (backport to release) #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/containerized-masking/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
source "$PWD/lib/common.sh"

DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dms-core-gate.git"
MEND_SCAN_APPLICABLE="true"
MEND_SCAN_IMAGES="'delphix-masking-proxy', 'delphix-masking-database', 'delphix-masking-app'"

SKIP_COPYRIGHTS_CHECK=true

Expand Down
2 changes: 2 additions & 0 deletions packages/delphix-sso-app/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# shellcheck disable=SC2034

DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/saml-app.git"
MEND_SCAN_APPLICABLE="true"
MEND_SCAN_USING_SUDO="true"

function build() {
local java_home
Expand Down
1 change: 1 addition & 0 deletions packages/masking/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
source "$PWD/lib/common.sh"

DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dms-core-gate.git"
MEND_SCAN_APPLICABLE="true"

function prepare() {
logmust read_list "$WORKDIR/repo/packaging/build-dependencies"
Expand Down
1 change: 1 addition & 0 deletions packages/virtualization/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ source "$PWD/lib/common.sh"

DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dlpx-app-gate.git"
PACKAGE_DEPENDENCIES="crypt-blowfish host-jdks"
MEND_SCAN_APPLICABLE="true"

function prepare() {
logmust read_list "$WORKDIR/repo/appliance/packaging/build-dependencies"
Expand Down
5 changes: 4 additions & 1 deletion query-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ source "$TOP/lib/common.sh"
#
export LOGGING=false

ALL_OUTPUT_FIELDS=(name git-url dependencies can-update)
ALL_OUTPUT_FIELDS=(name git-url dependencies can-update mend-scan mend-scan-images mend-scan-using-sudo)

function usage() {
local output_fields="${ALL_OUTPUT_FIELDS[*]}"
Expand Down Expand Up @@ -70,6 +70,9 @@ function print_package() {
case "$field" in
name) outarray+=("$pkgname") ;;
git-url) outarray+=("${DEFAULT_PACKAGE_GIT_URL:-none}") ;;
mend-scan) outarray+=("${MEND_SCAN_APPLICABLE:-none}") ;;
mend-scan-images) outarray+=("${MEND_SCAN_IMAGES:-none}") ;;
mend-scan-using-sudo) outarray+=("${MEND_SCAN_USING_SUDO:-none}") ;;
dependencies)
for dep in $PACKAGE_DEPENDENCIES; do
check_package_exists "$dep"
Expand Down
Loading