Skip to content

Commit

Permalink
build: setup only remote
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Oct 14, 2024
1 parent 52f1031 commit 76c91fc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions package_linux_reh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ elif [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:focal-devtoolset-ppc64le"
export ELECTRON_SKIP_BINARY_DOWNLOAD=1
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
# export VSCODE_SYSROOT_REPO='VSCodium/vscode-linux-build-agent'
# export VSCODE_SYSROOT_VERSION='20240129-253798'
elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME="vscodium/vscodium-linux-build-agent:focal-devtoolset-riscv64"
export ELECTRON_SKIP_BINARY_DOWNLOAD=1
Expand Down Expand Up @@ -81,11 +79,7 @@ for i in {1..5}; do # try 5 times
echo "Npm install failed $i, trying again..."
done

if [[ "${VSCODE_ARCH}" == "ppc64le" ]]; then
source ./build/azure-pipelines/linux/setup-env.sh
else
./build/azure-pipelines/linux/setup-env.sh --only-remote
fi
./build/azure-pipelines/linux/setup-env.sh --only-remote

for i in {1..5}; do # try 5 times
npm ci && break
Expand Down

0 comments on commit 76c91fc

Please sign in to comment.