This is an automated email from the ASF dual-hosted git repository.
raulcd 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 d999c22923 GH-35799: [CI] Set s3 region for sccache (#35801)
d999c22923 is described below
commit d999c22923a8c570340b29841b4af3363f259acc
Author: Jacob Wujciak-Jens <[email protected]>
AuthorDate: Sat May 27 09:25:38 2023 +0200
GH-35799: [CI] Set s3 region for sccache (#35801)
Recent versions of sccache require the region to be set explicitly.
* Closes: #35799
Authored-by: Jacob Wujciak-Jens <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
dev/tasks/macros.jinja | 2 ++
docker-compose.yml | 1 +
2 files changed, 3 insertions(+)
diff --git a/dev/tasks/macros.jinja b/dev/tasks/macros.jinja
index f995042f2b..77c29feb8f 100644
--- a/dev/tasks/macros.jinja
+++ b/dev/tasks/macros.jinja
@@ -354,6 +354,7 @@ on:
"AWS_ACCESS_KEY_ID": '${{ secrets.AWS_ACCESS_KEY_ID }}',
"AWS_SECRET_ACCESS_KEY": '${{ secrets.AWS_SECRET_ACCESS_KEY }}',
"SCCACHE_BUCKET": '${{ secrets.SCCACHE_BUCKET }}',
+ "SCCACHE_REGION": '${{ secrets.SCCACHE_REGION }}',
"SCCACHE_S3_KEY_PREFIX": sccache_key_prefix
}
%}
@@ -367,6 +368,7 @@ on:
"AWS_ACCESS_KEY_ID": '$(AWS_ACCESS_KEY_ID)',
"AWS_SECRET_ACCESS_KEY": '$(AWS_SECRET_ACCESS_KEY)',
"SCCACHE_BUCKET": '$(SCCACHE_BUCKET)',
+ "SCCACHE_REGION": '$(SCCACHE_REGION)',
"SCCACHE_S3_KEY_PREFIX": sccache_key_prefix
}
%}
diff --git a/docker-compose.yml b/docker-compose.yml
index a5ec1f0ad6..a0db964ab0 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -66,6 +66,7 @@ x-sccache: &sccache
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
SCCACHE_BUCKET:
+ SCCACHE_REGION:
SCCACHE_S3_KEY_PREFIX: ${SCCACHE_S3_KEY_PREFIX:-sccache}
# CPU/memory limit presets to pass to Docker.