You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by ji...@apache.org on 2026/03/04 18:57:01 UTC

(texera) branch main updated: feat(ci): set TEXERA_SERVICE_LOG_LEVEL to ERROR for docker compose tarball in release candidate CI (#4256)

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

jiadongb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/main by this push:
     new 98cf478c0a feat(ci): set TEXERA_SERVICE_LOG_LEVEL to ERROR for docker compose tarball in release candidate CI (#4256)
98cf478c0a is described below

commit 98cf478c0a5ec46e6bc51b4f026d13241fdf6690
Author: Jiadong Bai <43...@users.noreply.github.com>
AuthorDate: Wed Mar 4 10:56:57 2026 -0800

    feat(ci): set TEXERA_SERVICE_LOG_LEVEL to ERROR for docker compose tarball in release candidate CI (#4256)
    
    ### What changes were proposed in this PR?
    
    This PR updates the `create-release-candidate` CI workflow to pin
    `TEXERA_SERVICE_LOG_LEVEL=ERROR` in the `.env` file bundled with Docker
    Compose release artifacts.
    
    This ensures that release candidate deployments use the `ERROR` log
    level by default, reducing log noise for the docker compose deployment.
    
    ### Any related issues, documentation, discussions?
    N/A
    
    ### How was this PR tested?
    Ran the CI on my own fork.
    
    ### Was this PR authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Code (claude-opus-4-6)
    
    Co-authored-by: Claude <no...@anthropic.com>
---
 .github/workflows/create-release-candidate.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/create-release-candidate.yml b/.github/workflows/create-release-candidate.yml
index 407b461db9..4b0ff4bb3a 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -175,6 +175,11 @@ jobs:
           else
             echo "IMAGE_TAG=${COMMIT_SHORT}" >> "$BUNDLE_DIR/.env"
           fi
+          if grep -q '^TEXERA_SERVICE_LOG_LEVEL=' "$BUNDLE_DIR/.env"; then
+            sed -i "s|^TEXERA_SERVICE_LOG_LEVEL=.*|TEXERA_SERVICE_LOG_LEVEL=ERROR|" "$BUNDLE_DIR/.env"
+          else
+            echo "TEXERA_SERVICE_LOG_LEVEL=ERROR" >> "$BUNDLE_DIR/.env"
+          fi
 
           # Include the README from the repo
           cp "$TEMP_DIR/_raw/bin/single-node/README.md" "$BUNDLE_DIR/"