Skip to content

Commit

Permalink
GH-36941: [CI][Docs] Use system Protobuf (#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 #35962.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #36941

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
kou authored Jul 31, 2023
1 parent eddb2b9 commit a06b261
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 a06b261

Please sign in to comment.