This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 785aeea460 [minor](scripts) remove release download scripts (#20940) 785aeea460 is described below commit 785aeea4606035c184321d9daf28ad372960e223 Author: Mingyu Chen <morning...@163.com> AuthorDate: Sun Jun 18 19:42:20 2023 +0800 [minor](scripts) remove release download scripts (#20940) --- dist/download_scripts/1.2.3/download_arm_apache.sh | 36 --------- dist/download_scripts/1.2.3/download_x64_apache.sh | 36 --------- .../1.2.3/download_x64_noavx2_apache.sh | 36 --------- .../1.2.4.1/download_arm_apache.sh | 36 --------- .../1.2.4.1/download_arm_tsinghua.sh | 36 --------- .../1.2.4.1/download_x64_apache.sh | 36 --------- .../1.2.4.1/download_x64_noavx2_apache.sh | 36 --------- .../1.2.4.1/download_x64_noavx2_tsinghua.sh | 36 --------- .../1.2.4.1/download_x64_tsinghua.sh | 36 --------- .../2.0.0-alpha1/download_x64_apache.sh | 36 --------- .../2.0.0-alpha1/download_x64_tsinghua.sh | 36 --------- dist/download_scripts/README | 36 --------- dist/download_scripts/download_base.sh | 85 ---------------------- 13 files changed, 517 deletions(-) diff --git a/dist/download_scripts/1.2.3/download_arm_apache.sh b/dist/download_scripts/1.2.3/download_arm_apache.sh deleted file mode 100755 index 45fde07fa5..0000000000 --- a/dist/download_scripts/1.2.3/download_arm_apache.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-1.2.3-bin-arm" -BE="apache-doris-be-1.2.3-bin-arm" -DEPS="apache-doris-dependencies-1.2.3-bin-arm" -DOWNLOAD_LINK_PREFIX="https://archive.apache.org/dist/doris/1.2/1.2.3-rc02/" -DOWNLOAD_DIR="apache-doris-1.2.3-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/1.2.3/download_x64_apache.sh b/dist/download_scripts/1.2.3/download_x64_apache.sh deleted file mode 100755 index 57521610b2..0000000000 --- a/dist/download_scripts/1.2.3/download_x64_apache.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-1.2.3-bin-x86_64" -BE="apache-doris-be-1.2.3-bin-x86_64" -DEPS="apache-doris-dependencies-1.2.3-bin-x86_64" -DOWNLOAD_LINK_PREFIX="https://archive.apache.org/dist/doris/1.2/1.2.3-rc02/" -DOWNLOAD_DIR="apache-doris-1.2.3-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/1.2.3/download_x64_noavx2_apache.sh b/dist/download_scripts/1.2.3/download_x64_noavx2_apache.sh deleted file mode 100755 index b9aadf9134..0000000000 --- a/dist/download_scripts/1.2.3/download_x64_noavx2_apache.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-1.2.3-bin-x86_64" -BE="apache-doris-be-1.2.3-bin-x86_64-noavx2" -DEPS="apache-doris-dependencies-1.2.3-bin-x86_64" -DOWNLOAD_LINK_PREFIX="https://archive.apache.org/dist/doris/1.2/1.2.3-rc02/" -DOWNLOAD_DIR="apache-doris-1.2.3-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/1.2.4.1/download_arm_apache.sh b/dist/download_scripts/1.2.4.1/download_arm_apache.sh deleted file mode 100755 index 4c4bdc02f3..0000000000 --- a/dist/download_scripts/1.2.4.1/download_arm_apache.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-1.2.4.1-bin-arm" -BE="apache-doris-be-1.2.4.1-bin-arm" -DEPS="apache-doris-dependencies-1.2.4.1-bin-arm" -DOWNLOAD_LINK_PREFIX="https://dlcdn.apache.org/doris/1.2/1.2.4.1-rc01/" -DOWNLOAD_DIR="apache-doris-1.2.4.1-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/1.2.4.1/download_arm_tsinghua.sh b/dist/download_scripts/1.2.4.1/download_arm_tsinghua.sh deleted file mode 100755 index 260c1572e6..0000000000 --- a/dist/download_scripts/1.2.4.1/download_arm_tsinghua.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-1.2.4.1-bin-arm" -BE="apache-doris-be-1.2.4.1-bin-arm" -DEPS="apache-doris-dependencies-1.2.4.1-bin-arm" -DOWNLOAD_LINK_PREFIX="https://mirrors.tuna.tsinghua.edu.cn/apache/doris/1.2/1.2.4.1-rc01/" -DOWNLOAD_DIR="apache-doris-1.2.4.1-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/1.2.4.1/download_x64_apache.sh b/dist/download_scripts/1.2.4.1/download_x64_apache.sh deleted file mode 100755 index 654a8eaf34..0000000000 --- a/dist/download_scripts/1.2.4.1/download_x64_apache.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-1.2.4.1-bin-x86_64" -BE="apache-doris-be-1.2.4.1-bin-x86_64" -DEPS="apache-doris-dependencies-1.2.4.1-bin-x86_64" -DOWNLOAD_LINK_PREFIX="https://dlcdn.apache.org/doris/1.2/1.2.4.1-rc01/" -DOWNLOAD_DIR="apache-doris-1.2.4.1-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/1.2.4.1/download_x64_noavx2_apache.sh b/dist/download_scripts/1.2.4.1/download_x64_noavx2_apache.sh deleted file mode 100755 index a19c2086e4..0000000000 --- a/dist/download_scripts/1.2.4.1/download_x64_noavx2_apache.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-1.2.4.1-bin-x86_64" -BE="apache-doris-be-1.2.4.1-bin-x86_64-noavx2" -DEPS="apache-doris-dependencies-1.2.4.1-bin-x86_64" -DOWNLOAD_LINK_PREFIX="https://dlcdn.apache.org/doris/1.2/1.2.4.1-rc01/" -DOWNLOAD_DIR="apache-doris-1.2.4.1-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/1.2.4.1/download_x64_noavx2_tsinghua.sh b/dist/download_scripts/1.2.4.1/download_x64_noavx2_tsinghua.sh deleted file mode 100755 index 68ec6d9864..0000000000 --- a/dist/download_scripts/1.2.4.1/download_x64_noavx2_tsinghua.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-1.2.4.1-bin-x86_64" -BE="apache-doris-be-1.2.4.1-bin-x86_64-noavx2" -DEPS="apache-doris-dependencies-1.2.4.1-bin-x86_64" -DOWNLOAD_LINK_PREFIX="https://mirrors.tuna.tsinghua.edu.cn/apache/doris/1.2/1.2.4.1-rc01/" -DOWNLOAD_DIR="apache-doris-1.2.4.1-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/1.2.4.1/download_x64_tsinghua.sh b/dist/download_scripts/1.2.4.1/download_x64_tsinghua.sh deleted file mode 100755 index cb0fe36a63..0000000000 --- a/dist/download_scripts/1.2.4.1/download_x64_tsinghua.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-1.2.4.1-bin-x86_64" -BE="apache-doris-be-1.2.4.1-bin-x86_64" -DEPS="apache-doris-dependencies-1.2.4.1-bin-x86_64" -DOWNLOAD_LINK_PREFIX="https://mirrors.tuna.tsinghua.edu.cn/apache/doris/1.2/1.2.4.1-rc01/" -DOWNLOAD_DIR="apache-doris-1.2.4.1-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/2.0.0-alpha1/download_x64_apache.sh b/dist/download_scripts/2.0.0-alpha1/download_x64_apache.sh deleted file mode 100755 index 66cf709d6c..0000000000 --- a/dist/download_scripts/2.0.0-alpha1/download_x64_apache.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-2.0.0-alpha1-bin-x86_64" -BE="apache-doris-be-2.0.0-alpha1-bin-x86_64" -DEPS="apache-doris-dependencies-2.0.0-alpha1-bin-x86_64" -DOWNLOAD_LINK_PREFIX="https://dlcdn.apache.org/doris/2.0/2.0.0-alpha1/" -DOWNLOAD_DIR="apache-doris-2.0.0-alpha1-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/2.0.0-alpha1/download_x64_tsinghua.sh b/dist/download_scripts/2.0.0-alpha1/download_x64_tsinghua.sh deleted file mode 100755 index 0914da322b..0000000000 --- a/dist/download_scripts/2.0.0-alpha1/download_x64_tsinghua.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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 -eo pipefail - -FE="apache-doris-fe-2.0.0-alpha1-bin-x86_64" -BE="apache-doris-be-2.0.0-alpha1-bin-x86_64" -DEPS="apache-doris-dependencies-2.0.0-alpha1-bin-x86_64" -DOWNLOAD_LINK_PREFIX="https://mirrors.tuna.tsinghua.edu.cn/apache/doris/2.0/2.0.0-alpha1/" -DOWNLOAD_DIR="apache-doris-2.0.0-alpha1-bin" - -# Check and download download_base.sh -DOWNLOAD_BASE_SCRIPTS="download_base.sh" - -if [[ ! -f "${DOWNLOAD_BASE_SCRIPTS}" ]]; then - curl -O https://raw.githubusercontent.com/apache/doris/master/dist/download_scripts/download_base.sh && - chmod a+x "${DOWNLOAD_BASE_SCRIPTS}" -fi - -# Begin to download -./"${DOWNLOAD_BASE_SCRIPTS}" "${FE}" "${BE}" "${DEPS}" "${DOWNLOAD_LINK_PREFIX}" "${DOWNLOAD_DIR}" diff --git a/dist/download_scripts/README b/dist/download_scripts/README deleted file mode 100644 index 77cf673790..0000000000 --- a/dist/download_scripts/README +++ /dev/null @@ -1,36 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. - -This download scripts are used to download release bianries of Apache Doris. - -The offical release bianries of Apache Doris has 3 packages for FE, BE and dependencies. - -These scripts help download all packages of sepcified release, and do some reorgnization to make the package deploy ready. - -- `download_bash.sh` - - This is the base script. It receive parameter of which release to download to do the rest. - -- Subdirectories - - Each subdirectory is for a certain release, for 1.2.3, as an example: - - It will provide serveral scripts for different platform and different CPU type. - - For each new release, the release manager should create a new subdirectory here for that release, - - and prepare the download scirpts, which contains the pacakges that need to be downloaded. diff --git a/dist/download_scripts/download_base.sh b/dist/download_scripts/download_base.sh deleted file mode 100755 index 27cdc0cdd5..0000000000 --- a/dist/download_scripts/download_base.sh +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/env bash -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you 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. - -############################################################################### -# This script is used to download Apache Doris release binaries -# This is the base script of all download scripts. -# For certain release, it should create a script and wrap -# this script, eg: -# sh download_1.2.3.sh \ -# apache-doris-fe-1.2.3-bin-x86_64 \ -# apache-doris-be-1.2.3-bin-x86_64 \ -# apache-doris-dependencies-1.2.3-bin-x86_64 \ -# https://mirrors.tuna.tsinghua.edu.cn/apache/doris/1.2/1.2.3-rc02/ \ -# apache-doris-1.2.3-bin -############################################################################### - -set -eo pipefail - -FE="$1" -BE="$2" -DEPS="$3" -DOWNLOAD_LINK_PREFIX="$4" -DOWNLOAD_DIR="$5" -FILE_SUFFIX=".tar.xz" - -# Check if curl cmd exists -if [[ -n $(command -v curl >/dev/null 2>&1) ]]; then - echo "curl command not found on the system" - exit 1 -fi - -# Check download dir -if [[ -f "${DOWNLOAD_DIR}" || -d "${DOWNLOAD_DIR}" ]]; then - read -r -p "Download dir ${DOWNLOAD_DIR} already exists. Overwrite? [y/n] " resp - if [[ "${resp}" = "y" || "${resp}" = "Y" ]]; then - rm -rf "${DOWNLOAD_DIR}" - echo "Origin ${DOWNLOAD_DIR} has been removed and created a new one". - else - echo "Please remove the ${DOWNLOAD_DIR} before downloading." - exit 0 - fi -fi - -mkdir "${DOWNLOAD_DIR}" - -download() { - MODULE="$1" - LINK=""${DOWNLOAD_LINK_PREFIX}${2}${FILE_SUFFIX}"" - DIR="$3" - echo "Begin to download '${MODULE}' from \"${LINK}\" to \"${DIR}/\" ..." - total_size=$(curl -sI "${LINK}" | grep -i Content-Length | awk '{print $2}' | tr -d '\r') - echo "Total size: ${total_size} Bytes" - echo "curl -# ${LINK} | tar xJ -C ${DIR}/" - curl -# "${LINK}" | tar xJ -C "${DIR}/" - mv "${DIR}/${2}" "${DIR}/${MODULE}" -} - -# Begin to download -download "fe" "${FE}" "${DOWNLOAD_DIR}" -download "be" "${BE}" "${DOWNLOAD_DIR}" -download "dependencies" "${DEPS}" "${DOWNLOAD_DIR}" - -# Assemble -echo "Begin to assemble the binaries ..." - -echo "Move java-udf-jar-with-dependencies.jar to be/lib/ ..." -mv "${DOWNLOAD_DIR}/dependencies/java-udf-jar-with-dependencies.jar" "${DOWNLOAD_DIR}/be/lib" - -echo "Download complete!" -echo "You can now deploy Apache Doris from ${DOWNLOAD_DIR}/" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org