Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: disable API, GRPC, and GRPC web by default (backport #2761) #2768

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 25, 2023

This is an automatic backport of pull request #2761 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

Closes #2758

## Testing
```
./scripts/single-node.sh
cat ~/.celestia-app/config/app.toml
```

Verified that

```toml
[api]

# Enable defines if the API server should be enabled.
enable = false
```

```toml
[grpc]

# Enable defines if the gRPC server should be enabled.
enable = false
```

```toml
[grpc-web]

# GRPCWebEnable defines if the gRPC-web should be enabled.
# NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op.
enable = false
```

(cherry picked from commit b786b08)
@github-actions github-actions bot added the bot item was created by a bot label Oct 25, 2023
@celestia-bot celestia-bot requested a review from a team October 25, 2023 16:58
@codecov-commenter
Copy link

Codecov Report

Merging #2768 (bf9179d) into v1.x (1d303d2) will increase coverage by 0.07%.
Report is 1 commits behind head on v1.x.
The diff coverage is 37.50%.

@@            Coverage Diff             @@
##             v1.x    #2768      +/-   ##
==========================================
+ Coverage   20.12%   20.20%   +0.07%     
==========================================
  Files         139      139              
  Lines       16231    16237       +6     
==========================================
+ Hits         3266     3280      +14     
+ Misses      12657    12649       -8     
  Partials      308      308              
Files Coverage Δ
app/default_overrides.go 27.45% <37.50%> (+8.40%) ⬆️

@evan-forbes evan-forbes enabled auto-merge (rebase) October 25, 2023 17:15
@evan-forbes evan-forbes merged commit ada7750 into v1.x Oct 25, 2023
24 of 25 checks passed
@evan-forbes evan-forbes deleted the mergify/bp/v1.x/pr-2761 branch October 25, 2023 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot item was created by a bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants