Skip to content

Commit

Permalink
feat(app): bump version (#91)
Browse files Browse the repository at this point in the history
* feat(app): bump version

Signed-off-by: Jose Ramon Mañes <jose@celestia.org>

* feat(app): bump version

Signed-off-by: Jose Ramon Mañes <jose@celestia.org>

* feat(app): bump version

Signed-off-by: Jose Ramon Mañes <jose@celestia.org>

---------

Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
  • Loading branch information
tty47 authored Dec 17, 2024
1 parent ba1ad13 commit 4cdbe29
Show file tree
Hide file tree
Showing 6 changed files with 837 additions and 14 deletions.
4 changes: 2 additions & 2 deletions charts/celestia-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ annotations:
category: celestia
licenses: Apache-2.0
apiVersion: v2
appVersion: v3.0.2
appVersion: v3.1.0
dependencies:
- name: common-celestia-app
version: 0.1.1
Expand All @@ -24,4 +24,4 @@ maintainers:
name: celestia-app
sources:
- https://github.com/celestiaorg/celestia-app
version: 0.0.2
version: 0.0.3
41 changes: 30 additions & 11 deletions charts/celestia-app/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# celestia-app

![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![AppVersion: v3.0.2](https://img.shields.io/badge/AppVersion-v3.0.2-informational?style=flat-square)
![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![AppVersion: v3.1.0](https://img.shields.io/badge/AppVersion-v3.1.0-informational?style=flat-square)

Celestia App

Expand Down Expand Up @@ -76,11 +76,11 @@ Celestia App
| app.extraVolumeMounts | list | `[]` | |
| app.extraVolumes | list | `[]` | |
| app.hostAliases | list | `[]` | |
| app.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-app","tag":"v3.0.2"}` | image parameters for the image |
| app.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-app","tag":"v3.1.0"}` | image parameters for the image |
| app.image.pullPolicy | string | `"IfNotPresent"` | pull policy for the image, IfNotPresent by default |
| app.image.registry | string | `"ghcr.io"` | registry for the image, GitHub Container Registry by default |
| app.image.repository | string | `"celestiaorg/celestia-app"` | repository for the image, celestiaorg/celestia-app by default |
| app.image.tag | string | `"v3.0.2"` | tag for the image, v3.0.0 by default |
| app.image.tag | string | `"v3.1.0"` | tag for the image, v3.0.0 by default |
| app.initContainers | list | `[]` | |
| app.lifecycleHooks | object | `{}` | |
| app.livenessProbe | object | `{"enabled":false,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | liveness probe for the app |
Expand Down Expand Up @@ -108,8 +108,35 @@ Celestia App
| app.nodeAffinityPreset.type | string | `""` | |
| app.nodeAffinityPreset.values | list | `[]` | |
| app.nodeSelector | object | `{}` | |
| app.otelAgent.config.exporters.otlphttp.endpoint | string | `"https://otel.arabica.celestia.dev"` | |
| app.otelAgent.config.exporters.prometheus.endpoint | string | `"0.0.0.0:9191"` | |
| app.otelAgent.config.processors.batch | string | `nil` | |
| app.otelAgent.config.processors.memory_limiter.check_interval | string | `"5s"` | |
| app.otelAgent.config.processors.memory_limiter.limit_mib | int | `400` | |
| app.otelAgent.config.processors.memory_limiter.spike_limit_mib | int | `100` | |
| app.otelAgent.config.receivers.otlp.protocols.http.endpoint | string | `"localhost:4318"` | |
| app.otelAgent.config.receivers.prometheus.config.scrape_configs[0].job_name | string | `"$CONTAINER_NAME-$POD_NAMESPACE"` | |
| app.otelAgent.config.receivers.prometheus.config.scrape_configs[0].scrape_interval | string | `"10s"` | |
| app.otelAgent.config.receivers.prometheus.config.scrape_configs[0].static_configs[0].targets[0] | string | `"localhost:26660"` | |
| app.otelAgent.config.service.pipelines.metrics.exporters[0] | string | `"otlphttp"` | |
| app.otelAgent.config.service.pipelines.metrics.exporters[1] | string | `"prometheus"` | |
| app.otelAgent.config.service.pipelines.metrics.receivers[0] | string | `"otlp"` | |
| app.otelAgent.config.service.pipelines.metrics.receivers[1] | string | `"prometheus"` | |
| app.otelAgent.config.service.pipelines.traces.exporters[0] | string | `"otlphttp"` | |
| app.otelAgent.config.service.pipelines.traces.processors[0] | string | `"memory_limiter"` | |
| app.otelAgent.config.service.pipelines.traces.processors[1] | string | `"batch"` | |
| app.otelAgent.config.service.pipelines.traces.receivers[0] | string | `"otlp"` | |
| app.otelAgent.config.service.telemetry.metrics.address | string | `"0.0.0.0:8888"` | |
| app.otelAgent.config.service.telemetry.metrics.level | string | `"basic"` | |
| app.otelAgent.enabled | bool | `false` | enable otel agent for the app, false by default |
| app.otelAgent.image | object | `{"digest":"","pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib","tag":"0.102.0"}` | image for the otel agent, ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.102.0 by default |
| app.otelAgent.resources | object | `{"grafanaOtelSecret":{"name":"SET_IT"},"limits":{},"requests":{"cpu":2,"memory":"4Gi"}}` | resources for the app |
| app.otelAgent.resources.grafanaOtelSecret | object | `{"name":"SET_IT"}` | grafana otel secret |
| app.otelAgent.resources.grafanaOtelSecret.name | string | `"SET_IT"` | name of the grafana otel secret, it must be set |
| app.otelAgent.resources.limits | object | `{}` | limits for the node |
| app.otelAgent.resources.requests | object | `{"cpu":2,"memory":"4Gi"}` | requests for the app |
| app.otelAgent.resources.requests.cpu | int | `2` | cpu requests for the node, 6 by default |
| app.otelAgent.resources.requests.memory | string | `"4Gi"` | memory requests for the node, 8Gi by default |
| app.otelAgent.resourcesPreset | string | `"micro"` | |
| app.pdb.create | bool | `false` | |
| app.pdb.maxUnavailable | string | `""` | |
Expand Down Expand Up @@ -141,14 +168,6 @@ Celestia App
| app.readinessProbe.successThreshold | int | `1` | success threshold for readinessProbe, 1 by default |
| app.readinessProbe.timeoutSeconds | int | `1` | timeout seconds for readinessProbe, 1 by default |
| app.replicaCount | int | `1` | number of app replicas to deploy, 1 by default |
| app.resources | object | `{"config":{"exporters":{"otlphttp":{"endpoint":"https://otel.arabica.celestia.dev"},"prometheus":{"endpoint":"0.0.0.0:9191"}},"processors":{"batch":null,"memory_limiter":{"check_interval":"5s","limit_mib":400,"spike_limit_mib":100}},"receivers":{"otlp":{"protocols":{"http":{"endpoint":"localhost:4318"}}},"prometheus":{"config":{"scrape_configs":[{"job_name":"$CONTAINER_NAME-$POD_NAMESPACE","scrape_interval":"10s","static_configs":[{"targets":["localhost:26660"]}]}]}}},"service":{"pipelines":{"metrics":{"exporters":["otlphttp","prometheus"],"receivers":["otlp","prometheus"]},"traces":{"exporters":["otlphttp"],"processors":["memory_limiter","batch"],"receivers":["otlp"]}},"telemetry":{"metrics":{"address":"0.0.0.0:8888","level":"basic"}}}},"grafanaOtelSecret":{"name":"SET_IT"},"limits":{},"requests":{"cpu":2,"memory":"4Gi"}}` | resources for the app |
| app.resources.config | object | `{"exporters":{"otlphttp":{"endpoint":"https://otel.arabica.celestia.dev"},"prometheus":{"endpoint":"0.0.0.0:9191"}},"processors":{"batch":null,"memory_limiter":{"check_interval":"5s","limit_mib":400,"spike_limit_mib":100}},"receivers":{"otlp":{"protocols":{"http":{"endpoint":"localhost:4318"}}},"prometheus":{"config":{"scrape_configs":[{"job_name":"$CONTAINER_NAME-$POD_NAMESPACE","scrape_interval":"10s","static_configs":[{"targets":["localhost:26660"]}]}]}}},"service":{"pipelines":{"metrics":{"exporters":["otlphttp","prometheus"],"receivers":["otlp","prometheus"]},"traces":{"exporters":["otlphttp"],"processors":["memory_limiter","batch"],"receivers":["otlp"]}},"telemetry":{"metrics":{"address":"0.0.0.0:8888","level":"basic"}}}}` | config for the otel agent (See: https://opentelemetry.io/docs/collector/configuration/) |
| app.resources.grafanaOtelSecret | object | `{"name":"SET_IT"}` | grafana otel secret |
| app.resources.grafanaOtelSecret.name | string | `"SET_IT"` | name of the grafana otel secret, it must be set |
| app.resources.limits | object | `{}` | limits for the node |
| app.resources.requests | object | `{"cpu":2,"memory":"4Gi"}` | requests for the app |
| app.resources.requests.cpu | int | `2` | cpu requests for the node, 6 by default |
| app.resources.requests.memory | string | `"4Gi"` | memory requests for the node, 8Gi by default |
| app.resourcesPreset | string | `"nano"` | more information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15 |
| app.schedulerName | string | `""` | |
| app.service | object | `{"external":{"annotations":{},"enabled":true,"externalDNS":{"enabled":true,"hostname":"validator-1.celestia-arabica-11.com"},"externalTrafficPolicy":"Cluster","extraPorts":[],"loadBalancerIP":"","loadBalancerSourceRanges":[],"nodePorts":{"api":"","grpc":"","p2p":"","prometheus":"","rpc":"","tracing":""},"ports":{"api":1317,"grpc":9090,"p2p":26656,"rpc":26657},"sessionAffinity":"None","sessionAffinityConfig":{},"type":"LoadBalancer"},"internal":{"annotations":{},"clusterIP":"","ports":{"api":1317,"grpc":9090,"p2p":26656,"prometheus":26660,"rpc":26657,"tracing":26661},"sessionAffinity":"None","sessionAffinityConfig":{},"type":"ClusterIP"}}` | service parameters |
Expand Down
2 changes: 1 addition & 1 deletion charts/celestia-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ app:
# -- repository for the image, celestiaorg/celestia-app by default
repository: celestiaorg/celestia-app
# -- tag for the image, v3.0.0 by default
tag: v3.0.2
tag: v3.1.0
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down
252 changes: 252 additions & 0 deletions scripts/config/app/v3.1.0-arabica/app.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,252 @@
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml

###############################################################################
### Base Configuration ###
###############################################################################

# The minimum gas prices a validator is willing to accept for processing a
# transaction. A transaction's fees must meet the minimum of any denomination
# specified in this config (e.g. 0.25token1;0.0001token2).
minimum-gas-prices = "0.002utia"

# default: the last 362880 states are kept, pruning at 10 block intervals
# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
# everything: 2 latest states will be kept; pruning at 10 block intervals.
# custom: allow pruning options to be manually specified through 'pruning-keep-recent', and 'pruning-interval'
pruning = "default"

# These are applied if and only if the pruning strategy is custom.
pruning-keep-recent = "0"
pruning-interval = "0"

# HaltHeight contains a non-zero block height at which a node will gracefully
# halt and shutdown that can be used to assist upgrades and testing.
#
# Note: Commitment of state will be attempted on the corresponding block.
halt-height = 0

# HaltTime contains a non-zero minimum block time (in Unix seconds) at which
# a node will gracefully halt and shutdown that can be used to assist upgrades
# and testing.
#
# Note: Commitment of state will be attempted on the corresponding block.
halt-time = 0

# MinRetainBlocks defines the minimum block height offset from the current
# block being committed, such that all blocks past this offset are pruned
# from Tendermint. It is used as part of the process of determining the
# ResponseCommit.RetainHeight value during ABCI Commit. A value of 0 indicates
# that no blocks should be pruned.
#
# This configuration value is only responsible for pruning Tendermint blocks.
# It has no bearing on application state pruning which is determined by the
# "pruning-*" configurations.
#
# Note: Tendermint block pruning is dependant on this parameter in conunction
# with the unbonding (safety threshold) period, state pruning and state sync
# snapshot parameters to determine the correct minimum value of
# ResponseCommit.RetainHeight.
min-retain-blocks = 0

# InterBlockCache enables inter-block caching.
inter-block-cache = true

# IndexEvents defines the set of events in the form {eventType}.{attributeKey},
# which informs Tendermint what to index. If empty, all events will be indexed.
#
# Example:
# ["message.sender", "message.recipient"]
index-events = []

# IavlCacheSize set the size of the iavl tree cache.
# Default cache size is 50mb.
iavl-cache-size = 781250

# IavlDisableFastNode enables or disables the fast node feature of IAVL.
# Default is false.
iavl-disable-fastnode = false

# EXPERIMENTAL: IAVLLazyLoading enable/disable the lazy loading of iavl store.
# Default is false.
iavl-lazy-loading = false

# AppDBBackend defines the database backend type to use for the application and snapshots DBs.
# An empty string indicates that a fallback will be used.
# First fallback is the deprecated compile-time types.DBBackend value.
# Second fallback (if the types.DBBackend also isn't set), is the db-backend value set in Tendermint's config.toml.
app-db-backend = ""

###############################################################################
### Telemetry Configuration ###
###############################################################################

[telemetry]

# Prefixed with keys to separate services.
service-name = ""

# Enabled enables the application telemetry functionality. When enabled,
# an in-memory sink is also enabled by default. Operators may also enabled
# other sinks such as Prometheus.
enabled = false

# Enable prefixing gauge values with hostname.
enable-hostname = false

# Enable adding hostname to labels.
enable-hostname-label = false

# Enable adding service to labels.
enable-service-label = false

# PrometheusRetentionTime, when positive, enables a Prometheus metrics sink.
prometheus-retention-time = 0

# GlobalLabels defines a global set of name/value label tuples applied to all
# metrics emitted using the wrapper functions defined in telemetry package.
#
# Example:
# [["chain_id", "cosmoshub-1"]]
global-labels = [
]

###############################################################################
### API Configuration ###
###############################################################################

[api]

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

# Swagger defines if swagger documentation should automatically be registered.
swagger = false

# Address defines the API server to listen on.
address = "tcp://0.0.0.0:1317"

# MaxOpenConnections defines the number of maximum open connections.
max-open-connections = 1000

# RPCReadTimeout defines the Tendermint RPC read timeout (in seconds).
rpc-read-timeout = 10

# RPCWriteTimeout defines the Tendermint RPC write timeout (in seconds).
rpc-write-timeout = 0

# RPCMaxBodyBytes defines the Tendermint maximum response body (in bytes).
rpc-max-body-bytes = 1000000

# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
enabled-unsafe-cors = false

###############################################################################
### Rosetta Configuration ###
###############################################################################

[rosetta]

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

# Address defines the Rosetta API server to listen on.
address = ":8080"

# Network defines the name of the blockchain that will be returned by Rosetta.
blockchain = "app"

# Network defines the name of the network that will be returned by Rosetta.
network = "network"

# Retries defines the number of retries when connecting to the node before failing.
retries = 3

# Offline defines if Rosetta server should run in offline mode.
offline = false

# EnableDefaultSuggestedFee defines if the server should suggest fee by default.
# If 'construction/medata' is called without gas limit and gas price,
# suggested fee based on gas-to-suggest and denom-to-suggest will be given.
enable-fee-suggestion = false

# GasToSuggest defines gas limit when calculating the fee
gas-to-suggest = 210000

# DenomToSuggest defines the defult denom for fee suggestion.
# Price must be in minimum-gas-prices.
denom-to-suggest = "uatom"

###############################################################################
### gRPC Configuration ###
###############################################################################

[grpc]

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

# Address defines the gRPC server address to bind to.
address = "0.0.0.0:9090"

# MaxRecvMsgSize defines the max message size in bytes the server can receive.
# The default value is 10MB.
max-recv-msg-size = "10485760"

# MaxSendMsgSize defines the max message size in bytes the server can send.
# The default value is math.MaxInt32.
max-send-msg-size = "2147483647"

###############################################################################
### gRPC Web Configuration ###
###############################################################################

[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

# Address defines the gRPC-web server address to bind to.
address = "0.0.0.0:9091"

# EnableUnsafeCORS defines if CORS should be enabled (unsafe - use it at your own risk).
enable-unsafe-cors = false

###############################################################################
### State Sync Configuration ###
###############################################################################

# State sync snapshots allow other nodes to rapidly join the network without replaying historical
# blocks, instead downloading and applying a snapshot of the application state at a given height.
[state-sync]

# snapshot-interval specifies the block interval at which local state sync snapshots are
# taken (0 to disable).
snapshot-interval = 1500

# snapshot-keep-recent specifies the number of recent snapshots to keep and serve (0 to keep all).
snapshot-keep-recent = 2

###############################################################################
### Store / State Streaming ###
###############################################################################

[store]
streamers = []

[streamers]
[streamers.file]
keys = ["*", ]
write_dir = ""
prefix = ""

# output-metadata specifies if output the metadata file which includes the abci request/responses
# during processing the block.
output-metadata = "true"

# stop-node-on-error specifies if propagate the file streamer errors to consensus state machine.
stop-node-on-error = "true"

# fsync specifies if call fsync after writing the files.
fsync = "false"
17 changes: 17 additions & 0 deletions scripts/config/app/v3.1.0-arabica/client.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml

###############################################################################
### Client Configuration ###
###############################################################################

# The network chain ID
chain-id = "celestia"
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
keyring-backend = "test"
# CLI output format (text|json)
output = "text"
# <host>:<port> to Tendermint RPC interface for this chain
node = "tcp://localhost:26657"
# Transaction broadcasting mode (sync|async|block)
broadcast-mode = "sync"
Loading

0 comments on commit 4cdbe29

Please sign in to comment.