Skip to content

Commit

Permalink
everything_is_done_0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zedong-peng committed Dec 22, 2023
1 parent 757e0fc commit c929e68
Show file tree
Hide file tree
Showing 8 changed files with 273 additions and 42 deletions.
295 changes: 259 additions & 36 deletions .github/workflows/velox_be.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tools/gluten-te/centos/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ BUILD_BACKEND_TYPE=${BUILD_BACKEND_TYPE:-$DEFAULT_BUILD_BACKEND_TYPE}
# Build will result in this image
DOCKER_TARGET_IMAGE_BUILD=${DOCKER_TARGET_IMAGE_BUILD:-$DEFAULT_DOCKER_TARGET_IMAGE_BUILD}

DOCKER_TARGET_IMAGE_BUILD_WITH_OS_IMAGE="$DOCKER_TARGET_IMAGE_BUILD-$OS_IMAGE"
DOCKER_TARGET_IMAGE_BUILD_WITH_OS_IMAGE="$DOCKER_TARGET_IMAGE_BUILD-$OS_IMAGE:$OS_VERSION"

##

Expand Down
2 changes: 1 addition & 1 deletion tools/gluten-te/centos/buildenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ BUILDENV_DOCKER_BUILD_ARGS=
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --ulimit nofile=8192:8192"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg BUILDKIT_INLINE_CACHE=1"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg TIMEZONE=$TIMEZONE"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg OS_IMAGE=$OS_IMAGE"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg OS_IMAGE=$OS_IMAGE --build-arg OS_VERSION=$OS_VERSION"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg MAVEN_MIRROR_URL=$MAVEN_MIRROR_URL"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg HTTP_PROXY_HOST=$HTTP_PROXY_HOST"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg HTTP_PROXY_PORT=$HTTP_PROXY_PORT"
Expand Down
2 changes: 2 additions & 0 deletions tools/gluten-te/centos/defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ DEFAULT_HTTP_PROXY_PORT=913
DEFAULT_USE_ALI_MAVEN_MIRROR=ON

# Base operator system image used in build scripts.
# DEFAULT_OS_IMAGE=ubuntu or centos
DEFAULT_OS_IMAGE=

# Version ID of os image
# DEFAULT_OS_VERSION=20.04 or 8
DEFAULT_OS_VERSION=

# Set timezone name
Expand Down
3 changes: 1 addition & 2 deletions tools/gluten-te/github_action/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# 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 -ex

Expand Down Expand Up @@ -45,7 +44,7 @@ else
GLUTEN_DEBUG_BUILD=OFF
fi

# The branches used to prepare dependencies
# The branches used to prepare dependencies
CACHE_GLUTEN_REPO=${CACHE_GLUTEN_REPO:-$DEFAULT_GLUTEN_REPO}
CACHE_GLUTEN_BRANCH=${CACHE_GLUTEN_BRANCH:-$DEFAULT_GLUTEN_BRANCH}

Expand Down
2 changes: 1 addition & 1 deletion tools/gluten-te/github_action/buildenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg OS_IMAGE=$OS
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg MAVEN_MIRROR_URL=$MAVEN_MIRROR_URL"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg HTTP_PROXY_HOST=$HTTP_PROXY_HOST"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --build-arg HTTP_PROXY_PORT=$HTTP_PROXY_PORT"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS -f $BASEDIR/dockerfile-buildenv-$OS_IMAGE"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS -f $BASEDIR/dockerfile-buildenv"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS --target gluten-buildenv"
BUILDENV_DOCKER_BUILD_ARGS="$BUILDENV_DOCKER_BUILD_ARGS -t $DOCKER_TARGET_IMAGE_BUILDENV_WITH_OS_IMAGE"

Expand Down
3 changes: 2 additions & 1 deletion tools/gluten-te/github_action/defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ DEFAULT_HTTP_PROXY_PORT=913
DEFAULT_USE_ALI_MAVEN_MIRROR=ON

# Base operator system image used in build scripts.
# DEFAULT_OS_IMAGE=ubuntu:20.04
# DEFAULT_OS_IMAGE=ubuntu or centos
DEFAULT_OS_IMAGE=

# Version ID of os image
# DEFAULT_OS_VERSION=20.04 or 8
DEFAULT_OS_VERSION=

# Set timezone name
Expand Down
6 changes: 6 additions & 0 deletions tools/gluten-te/ubuntu/defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ DEFAULT_HTTP_PROXY_PORT=913
DEFAULT_USE_ALI_MAVEN_MIRROR=ON

# Base operator system image used in build scripts.
# DEFAULT_OS_IMAGE=ubuntu or centos
DEFAULT_OS_IMAGE=

# Version ID of os image
# DEFAULT_OS_VERSION=20.04 or 8
DEFAULT_OS_VERSION=


# Set timezone name
DEFAULT_TIMEZONE=Asia/Shanghai

Expand Down

0 comments on commit c929e68

Please sign in to comment.