-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/branch-24.10' into 240513_optimi…
…ze_expand Signed-off-by: Hongbin Ma (Mahone) <[email protected]>
- Loading branch information
Showing
621 changed files
with
16,461 additions
and
13,011 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
.github/workflows/mvn-verify-check/populate-daily-cache.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/bin/bash | ||
|
||
# Copyright (c) 2024, NVIDIA CORPORATION. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
max_retry=3; delay=30; i=1 | ||
if [[ $SCALA_VER == '2.12' ]]; then | ||
pom='pom.xml' | ||
elif [[ $SCALA_VER == '2.13' ]]; then | ||
pom='scala2.13/pom.xml' | ||
fi | ||
while true; do | ||
{ | ||
python build/get_buildvers.py "no_snapshots.buildvers" $pom | tr -d ',' | \ | ||
xargs -n 1 -I {} bash -c \ | ||
"mvn $COMMON_MVN_FLAGS --file $pom -Dbuildver={} de.qaware.maven:go-offline-maven-plugin:resolve-dependencies" | ||
|
||
# compile base versions to cache scala compiler and compiler bridge | ||
mvn $COMMON_MVN_FLAGS --file $pom \ | ||
process-test-resources -pl sql-plugin-api -am | ||
} && break || { | ||
if [[ $i -le $max_retry ]]; then | ||
echo "mvn command failed. Retry $i/$max_retry."; ((i++)); sleep $delay; ((delay=delay*2)) | ||
else | ||
echo "mvn command failed. Exit 1"; exit 1 | ||
fi | ||
} | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.