Skip to content

Commit

Permalink
apacheGH-36941: [CI][Docs] Use system Protobuf (apache#36943)
Browse files Browse the repository at this point in the history
### Rationale for this change

We can reduce disk usage by using system Protobuf and gRPC.

### What changes are included in this PR?

Use system Protobuf.

We can use Protobuf 3.12.0 or later by apache#35962.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#36941

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kou authored and loicalleyne committed Nov 13, 2023
1 parent da24a77 commit 64c5bfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 6 additions & 2 deletions dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ groups:
- r-binary-packages
- ubuntu-*
- wheel-*
- test-ubuntu-default-docs
- test-ubuntu-*-docs

{############################# Testing tasks #################################}

Expand Down Expand Up @@ -1498,10 +1498,12 @@ tasks:
image: debian-go
{% endfor %}

test-ubuntu-default-docs:
test-ubuntu-22.04-docs:
ci: github
template: docs/github.linux.yml
params:
env:
UBUNTU: 22.04
pr_number: Unset
flags: "-v $PWD/build/:/build/"
image: ubuntu-docs
Expand Down Expand Up @@ -1625,6 +1627,8 @@ tasks:
ci: github
template: docs/github.linux.yml
params:
env:
UBUNTU: 22.04
pr_number: Unset
flags: "-v $PWD/build/:/build/"
image: ubuntu-docs
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,6 @@ services:
BUILD_DOCS_JS: "ON"
BUILD_DOCS_PYTHON: "ON"
BUILD_DOCS_R: "ON"
Protobuf_SOURCE: "BUNDLED" # Need Protobuf >= 3.15
volumes: *ubuntu-volumes
command: &docs-command >
/bin/bash -c "
Expand Down

0 comments on commit 64c5bfe

Please sign in to comment.