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

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


The following commit(s) were added to refs/heads/main by this push:
     new 0cf7e391a6 GH-35752: [CI][GLib][Ruby] Pass GITHUB_ACTIONS environment 
variable to Docker containers (#35753)
0cf7e391a6 is described below

commit 0cf7e391a61e052dc846adb724c9832cda007ec3
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu May 25 10:50:32 2023 +0900

    GH-35752: [CI][GLib][Ruby] Pass GITHUB_ACTIONS environment variable to 
Docker containers (#35753)
    
    ### Rationale for this change
    
    It's for choosing GitHub Actions suitable output automatically.
    
    test-unit gem checks `GITHUB_ACTIONS=true` and the environment variable is 
set by GitHub Actions automatically.
    
    ### What changes are included in this PR?
    
    Add `GITHUB_ACTIONS:` to `environment:`.
    
    `c_glib/README.md` is updated to run CI jobs.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    No.
    * Closes: #35752
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Jacob Wujciak-Jens <[email protected]>
---
 c_glib/README.md   | 6 +++---
 docker-compose.yml | 4 ++++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/c_glib/README.md b/c_glib/README.md
index ea227d9023..23e3bd91b8 100644
--- a/c_glib/README.md
+++ b/c_glib/README.md
@@ -67,9 +67,9 @@ GLib (replace the version number in the following commands 
with the
 one you use):
 
 ```console
-% wget https://downloads.apache.org/arrow/arrow-3.0.0/apache-arrow-3.0.0.tar.gz
-% tar xf apache-arrow-3.0.0.tar.gz
-% cd apache-arrow-3.0.0
+$ wget 
'https://www.apache.org/dyn/closer.lua?action=download&filename=arrow/arrow-12.0.0/apache-arrow-12.0.0.tar.gz'
+$ tar xf apache-arrow-12.0.0.tar.gz
+$ cd apache-arrow-12.0.0
 ```
 
 You need to build and install Arrow C++ before you build and install
diff --git a/docker-compose.yml b/docker-compose.yml
index 2f5513f0f5..a5ec1f0ad6 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -712,6 +712,7 @@ services:
     environment:
       <<: *ccache
       BUILD_DOCS_C_GLIB: "ON"
+      GITHUB_ACTIONS:
     volumes: *debian-volumes
     command: &c-glib-command >
       /bin/bash -c "
@@ -739,6 +740,7 @@ services:
     ulimits: *ulimits
     environment:
       <<: *ccache
+      GITHUB_ACTIONS:
     volumes: *ubuntu-volumes
     command: *c-glib-command
 
@@ -770,6 +772,7 @@ services:
     environment:
       <<: *ccache
       BUILD_DOCS_C_GLIB: "ON"
+      GITHUB_ACTIONS:
     volumes: *debian-volumes
     command: &ruby-command >
       /bin/bash -c "
@@ -799,6 +802,7 @@ services:
     ulimits: *ulimits
     environment:
       <<: *ccache
+      GITHUB_ACTIONS:
     volumes: *ubuntu-volumes
     command: *ruby-command
 

Reply via email to