This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 1a3112c  fedora44: update OpenTelemetry and WAMR (#448)
1a3112c is described below

commit 1a3112cd60a8bcf3f65bd1d528a0d2c9485578af
Author: Brian Neradt <[email protected]>
AuthorDate: Thu Jul 23 10:22:57 2026 -0500

    fedora44: update OpenTelemetry and WAMR (#448)
    
    * fedora44: update OpenTelemetry and WAMR
    
    ATS requires OpenTelemetry 1.19.0 to build the otel_tracer plugin and
    documents WAMR 2.1.1 for the wasm plugin.
    
    Update the Fedora 44 image to those versions and use the OpenTelemetry
    build options expected by ATS.
    
    * fedora44: install which
    
    Install the which utility in both the build and runtime stages so CI
    jobs can locate commands consistently.
---
 docker/fedora44/Dockerfile | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/docker/fedora44/Dockerfile b/docker/fedora44/Dockerfile
index fcd5051..7ef6536 100644
--- a/docker/fedora44/Dockerfile
+++ b/docker/fedora44/Dockerfile
@@ -21,7 +21,7 @@ RUN <<EOF
 
   # Various other tools
   dnf -y install \
-    sudo git rpm-build distcc-server file wget openssl hwloc \
+    sudo git rpm-build distcc-server file wget which openssl hwloc \
     nghttp2 libnghttp2-devel fmt fmt-devel pcre2-devel
 
   # Devel packages that ATS needs
@@ -158,12 +158,12 @@ RUN <<EOF
 
   mkdir opentelemetry-cpp
   cd opentelemetry-cpp
-  wget 
https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.3.0.tar.gz
-  tar zxf v1.3.0.tar.gz
-  cd opentelemetry-cpp-1.3.0
-  cmake -B build -G Ninja -DBUILD_TESTING=OFF -DWITH_EXAMPLES=OFF 
-DWITH_JAEGER=OFF -DWITH_OTLP=ON -DWITH_OTLP_GRPC=OFF -DWITH_OTLP_HTTP=ON 
-DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_POLICY_VERSION_MINIMUM=3.5 
-DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_STANDARD_REQUIRED=ON 
-Dnlohmann_json_ROOT=/opt/ -DCMAKE_INSTALL_PREFIX=/opt
-  cmake --build build --target all
-  cmake --install build --config Debug
+  wget 
https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.19.0.tar.gz
+  tar zxf v1.19.0.tar.gz
+  cd opentelemetry-cpp-1.19.0
+  cmake -B build -G Ninja -DBUILD_TESTING=OFF -DWITH_EXAMPLES=OFF 
-DBUILD_SHARED_LIBS=OFF -DWITH_OTLP_GRPC=OFF -DWITH_OTLP_HTTP=ON 
-DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_CXX_STANDARD=17 
-DCMAKE_CXX_STANDARD_REQUIRED=ON -DWITH_ABSEIL=OFF
+  cmake --build build --config Release --verbose
+  cmake --install build --prefix /opt
   cd /root
   rm -rf opentelemetry-cpp
 EOF
@@ -179,11 +179,11 @@ RUN <<EOF
   # Get the WAMR source.
   mkdir ${build_dir}
   cd ${build_dir}
-  wget 
https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-1.2.1.tar.gz
-  tar zxvf WAMR-1.2.1.tar.gz
+  wget 
https://github.com/bytecodealliance/wasm-micro-runtime/archive/refs/tags/WAMR-2.1.1.tar.gz
+  tar zxvf WAMR-2.1.1.tar.gz
 
   # Build WAMR.
-  cd wasm-micro-runtime-WAMR-1.2.1
+  cd wasm-micro-runtime-WAMR-2.1.1
   cp core/iwasm/include/* ${BASE}/include/
   cd product-mini/platforms/linux
   cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=${BASE} -DWAMR_BUILD_INTERP=1 
-DWAMR_BUILD_FAST_INTERP=1 -DWAMR_BUILD_JIT=0 -DWAMR_BUILD_AOT=0 
-DWAMR_BUILD_SIMD=0 -DWAMR_BUILD_MULTI_MODULE=1 -DWAMR_BUILD_LIBC_WASI=0 
-DWAMR_BUILD_TAIL_CALL=1 -DWAMR_DISABLE_HW_BOUND_CHECK=1 
-DWAMR_BUILD_BULK_MEMORY=1 -DWAMR_BUILD_WASM_CACHE=0
@@ -226,7 +226,7 @@ RUN <<EOF
 
   # Various other tools
   dnf -y install \
-    sudo git rpm-build distcc-server file wget openssl hwloc \
+    sudo git rpm-build distcc-server file wget which openssl hwloc \
     fmt fmt-devel pcre2-devel
 
   # Devel packages that ATS needs

Reply via email to