Skip to content

Commit 2306378

Browse files
committed
Merge remote-tracking branch 'origin/6.0/stage' into 6.0/release
2 parents 1e8f77c + 7e76424 commit 2306378

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

packages/adoptopenjdk/config.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Copyright 2018, 2020 Delphix
3+
# Copyright 2018, 2022 Delphix
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -19,8 +19,8 @@
1919
DEFAULT_PACKAGE_GIT_URL=none
2020
PACKAGE_DEPENDENCIES="make-jpkg"
2121

22-
_tarfile="OpenJDK8U-jdk_x64_linux_hotspot_8u302b08.tar.gz"
23-
_tarfile_sha256="cc13f274becf9dd5517b6be583632819dfd4dd81e524b5c1b4f406bdaf0e063a"
22+
_tarfile="OpenJDK8U-jdk_x64_linux_hotspot_8u332b09.tar.gz"
23+
_tarfile_sha256="adc13a0a0540d77f0a3481b48f10d61eb203e5ad4914507d489c2de3bd3d83da"
2424
_jdk_path="/usr/lib/jvm/adoptopenjdk-java8-jdk-amd64"
2525

2626
function prepare() {

packages/zfs/config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/zfs.git"
2020
PACKAGE_DEPENDENCIES="@linux-kernel delphix-rust"
2121

22-
UPSTREAM_GIT_URL="https://github.com/zfsonlinux/zfs.git"
22+
UPSTREAM_GIT_URL="https://github.com/openzfs/zfs.git"
2323
UPSTREAM_GIT_BRANCH="master"
2424

2525
function prepare() {

push-merge.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,14 @@ set -o pipefail
7676
echo "Running: git rev-parse refs/heads/repo-HEAD-saved"
7777
saved_ref=$(git rev-parse refs/heads/repo-HEAD-saved) ||
7878
die "Failed to read local ref refs/heads/repo-HEAD-saved"
79+
80+
git_url="$DEFAULT_PACKAGE_GIT_URL"
81+
if [[ -n "$FETCH_GIT_TOKEN" ]] && [[ "$git_url" == https://github.com/* ]]; then
82+
git_url="${git_url/https:\/\//https:\/\/${FETCH_GIT_TOKEN}@}"
83+
fi
84+
7985
echo "Running: git ls-remote $DEFAULT_PACKAGE_GIT_URL refs/heads/$DEFAULT_GIT_BRANCH"
80-
remote_ref=$(git ls-remote "$DEFAULT_PACKAGE_GIT_URL" "refs/heads/$DEFAULT_GIT_BRANCH" |
86+
remote_ref=$(git ls-remote "$git_url" "refs/heads/$DEFAULT_GIT_BRANCH" |
8187
awk '{print $1}') ||
8288
die "Failed to read remote ref refs/heads/$DEFAULT_GIT_BRANCH"
8389
set +o pipefail

0 commit comments

Comments
 (0)