url_base=$1
shift
if [ -z $url_base ]; then
- echo "Error: failed to download $name."
+ echo "Error: failed to download $fname."
exit
fi
url=$url_base/$fname
if [ $? != 0 -o ! -e $fname ]; then
echo "Download of $url failed"
elif [ $(sha256sum $fname | awk '{print $1}') != $sha256 ]; then
- echo "Error: failed to download $name: SHA256 mismatch."
+ echo "Error: failed to download $fname: SHA256 mismatch."
else
break
fi
. $TEMP_DIR/bin/activate
NG_CLI_ANALYTICS=false timeout 1h npm ci
echo "Building ceph-dashboard frontend with build:localize script";
- # we need to use "--" because so that "--prod" survives accross all
- # scripts redirections inside package.json
- npm run build:localize -- --prod
+ # we need to use "--" because so that "--configuration production"
+ # survives accross all scripts redirections inside package.json
+ npm run build:localize -- --configuration production
deactivate
cd $CURR_DIR
rm -rf $TEMP_DIR
tar cvf $outfile.version.tar $outfile/src/.git_version $outfile/ceph.spec
# NOTE: If you change this version number make sure the package is available
# at the three URLs referenced below (may involve uploading to download.ceph.com)
-boost_version=1.75.0
-download_boost $boost_version 953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb \
+boost_version=1.79.0
+download_boost $boost_version 475d589d51a7f8b3ba2ba4eda022b170e562ca3b760ee922c146b6c65856ef39 \
https://boostorg.jfrog.io/artifactory/main/release/$boost_version/source \
- https://downloads.sourceforge.net/project/boost/boost/$boost_version \
https://download.ceph.com/qa
download_liburing 0.7 8e2842cfe947f3a443af301bdd6d034455536c38a455c7a700d0c1ad165a7543 \
https://github.com/axboe/liburing/archive \