Skip to content

Commit

Permalink
apacheGH-38424: [CI][C++] Use Fedora 38 instead of 35
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 23, 2023
1 parent be175de commit ab34fb0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ULIMIT_CORE=-1
ALMALINUX=8
ALPINE_LINUX=3.16
DEBIAN=11
FEDORA=35
FEDORA=38
UBUNTU=20.04

# Default versions for various dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

ARG arch
FROM ${arch}/fedora:35
FROM ${arch}/fedora:38
ARG arch

# install dependencies
Expand Down Expand Up @@ -48,11 +48,11 @@ RUN dnf update -y && \
json-devel \
libzstd-devel \
llvm-devel \
llvm-static \
lz4-devel \
make \
ninja-build \
openssl-devel \
orc-devel \
protobuf-devel \
python \
python-devel \
Expand All @@ -64,6 +64,7 @@ RUN dnf update -y && \
utf8proc-devel \
wget \
which \
xsimd-devel \
zlib-devel

COPY ci/scripts/install_minio.sh /arrow/ci/scripts/
Expand Down Expand Up @@ -100,8 +101,6 @@ ENV absl_SOURCE=BUNDLED \
CC=gcc \
CXX=g++ \
google_cloud_cpp_storage_SOURCE=BUNDLED \
ORC_SOURCE=BUNDLED \
PARQUET_BUILD_EXAMPLES=ON \
PARQUET_BUILD_EXECUTABLES=ON \
PATH=/usr/lib/ccache/:$PATH \
xsimd_SOURCE=BUNDLED
PATH=/usr/lib/ccache/:$PATH
8 changes: 4 additions & 4 deletions dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1185,12 +1185,12 @@ tasks:
image: debian-cpp
{% endfor %}

test-fedora-35-cpp:
test-fedora-38-cpp:
ci: github
template: docker-tests/github.linux.yml
params:
env:
FEDORA: 35
FEDORA: 38
image: fedora-cpp

{% for cpp_standard in [20] %}
Expand Down Expand Up @@ -1298,12 +1298,12 @@ tasks:
UBUNTU: 22.04
image: ubuntu-python

test-fedora-35-python-3:
test-fedora-38-python-3:
ci: azure
template: docker-tests/azure.linux.yml
params:
env:
FEDORA: 35
FEDORA: 38
image: fedora-python

test-r-linux-valgrind:
Expand Down
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ services:
# docker-compose run --rm fedora-cpp
# Parameters:
# ARCH: amd64, arm64v8, ...
# FEDORA: 33
# FEDORA: 38
image: ${REPO}:${ARCH}-fedora-${FEDORA}-cpp
build:
context: .
Expand All @@ -671,7 +671,6 @@ services:
<<: [*common, *ccache, *sccache, *cpp]
ARROW_ENABLE_TIMING_TESTS: # inherit
ARROW_MIMALLOC: "ON"
Protobuf_SOURCE: "BUNDLED" # Need Protobuf >= 3.15
volumes: &fedora-volumes
- .:/arrow:delegated
- ${DOCKER_VOLUME_PREFIX}fedora-ccache:/ccache:delegated
Expand Down Expand Up @@ -957,7 +956,7 @@ services:
# docker-compose run --rm fedora-python
# Parameters:
# ARCH: amd64, arm64v8, ...
# FEDORA: 33
# FEDORA: 38
image: ${REPO}:${ARCH}-fedora-${FEDORA}-python-3
build:
context: .
Expand All @@ -969,7 +968,6 @@ services:
shm_size: *shm-size
environment:
<<: [*common, *ccache]
Protobuf_SOURCE: "BUNDLED" # Need Protobuf >= 3.15
volumes: *fedora-volumes
command: *python-command

Expand Down

0 comments on commit ab34fb0

Please sign in to comment.