Skip to content

Commit 02e3870

Browse files
committed
Merge remote-tracking branch 'origin/develop' into release
2 parents 07ef96e + 6c9422d commit 02e3870

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed

.github/scripts/verify-query-packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ test "$(TARGET_KERNEL_FLAVORS=generic ./query-packages.sh list linux-kernel)" ==
7272
# Check that when a package has multiple dependencies they are printed in the
7373
# expected format.
7474
test "$(TARGET_KERNEL_FLAVORS="generic aws" ./query-packages.sh single -o dependencies zfs)" == \
75-
"linux-kernel-generic,linux-kernel-aws,delphix-rust,dwarves"
75+
"linux-kernel-generic,linux-kernel-aws,delphix-rust,delphix-go,dwarves"
7676

7777
# Check that the output from the appliance list contains zfs and
7878
# delphix-platform packages. Note, we explicitly do not use grep -q here as it

package-lists/build/main.pkgs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ challenge-response
99
cloud-init
1010
crash-python
1111
crypt-blowfish
12+
delphix-go
1213
delphix-platform
1314
delphix-rust
1415
delphix-sso-app

packages/delphix-go/config.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2021 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/delphix-go.git"
20+
21+
function build() {
22+
logmust mkdir -p "$WORKDIR/repo"
23+
logmust dpkg_buildpackage_default
24+
}

packages/zfs/config.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# shellcheck disable=SC2034
1818

1919
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/zfs.git"
20-
PACKAGE_DEPENDENCIES="@linux-kernel delphix-rust dwarves"
20+
PACKAGE_DEPENDENCIES="@linux-kernel delphix-rust delphix-go dwarves"
2121

2222
UPSTREAM_GIT_URL="https://github.com/openzfs/zfs.git"
2323
UPSTREAM_GIT_BRANCH="master"
@@ -56,6 +56,7 @@ function prepare() {
5656
zlib1g-dev
5757
logmust install_kernel_headers
5858
logmust install_pkgs "$DEPDIR"/delphix-rust/*.deb
59+
logmust install_pkgs "$DEPDIR"/delphix-go/*.deb
5960
logmust install_pkgs "$DEPDIR"/dwarves/*.deb
6061
}
6162

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function configure_apt_sources() {
3333
if [[ -z "$primary_url" ]] || [[ -z "$secondary_url" ]]; then
3434
local latest_url="http://linux-package-mirror.delphix.com/"
3535
if is_release_branch; then
36-
package_mirror_url="${latest_url}${DEFAULT_GIT_BRANCH}"
36+
package_mirror_url="${latest_url}releases/${DELPHIX_RELEASE_VERSION}"
3737
else
3838
latest_url+="${DEFAULT_GIT_BRANCH}/latest/"
3939
package_mirror_url=$(curl -LfSs -o /dev/null -w '%{url_effective}' \

0 commit comments

Comments
 (0)