Skip to content

Commit 3da5fc3

Browse files
Merge pull request #351 from delphix/dlpx/pr/vimleshmishra/182d76b6-b3e0-4ffa-bc19-47d009b15c95
CP-12402 linux-pkg Changes: Build Connector using Linux Package Framework
2 parents d9e4a3f + 6739359 commit 3da5fc3

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

package-lists/build/main.pkgs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ savedump
3030
sdb
3131
targetcli-fb
3232
virtualization
33+
windows-connector
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2025 Delphix
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# shellcheck disable=SC2034
18+
19+
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/dlpx-app-gate.git"
20+
SKIP_COPYRIGHTS_CHECK=true
21+
22+
function build() {
23+
CONNECTOR_DIR="${WORKDIR}/repo/appliance/server/connector"
24+
INSTALLER_DIR="${WORKDIR}/repo/appliance/host/windows"
25+
logmust cd "$CONNECTOR_DIR"
26+
logmust sudo ../../gradlew build
27+
logmust cd "$INSTALLER_DIR"
28+
logmust sudo ../../gradlew createDebPackage
29+
logmust sudo mv ./build/distributions/*deb "$WORKDIR/artifacts/"
30+
}

0 commit comments

Comments
 (0)