Skip to content

Commit

Permalink
Merge branch 'master' into use-arm-runners
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Oct 10, 2024
2 parents e903329 + a7d6714 commit 1028b76
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 50 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-future.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
arch: amd64
tag: ${{ inputs.tag-prefix }}future-amd64
protocol_version_default: 21
xdr_ref: v21.1.0
core_ref: v21.2.0
horizon_ref: horizon-v2.31.0
soroban_rpc_ref: v21.2.0
xdr_ref: v22.0.0-rc.1.1
core_ref: v22.0.0rc2
horizon_ref: horizon-v2.32.0
soroban_rpc_ref: v21.5.1
friendbot_ref: 31fc8f4236388f12fc609228b7a7f5494867a1f9
test_matrix: |
{
Expand All @@ -56,10 +56,10 @@ jobs:
arch: arm64
tag: ${{ inputs.tag-prefix }}future-arm64
protocol_version_default: 21
xdr_ref: v21.1.0
core_ref: v21.2.0
horizon_ref: horizon-v2.31.0
soroban_rpc_ref: v21.2.0
xdr_ref: v22.0.0-rc.1.1
core_ref: v22.0.0rc2
horizon_ref: horizon-v2.32.0
soroban_rpc_ref: v21.5.1
friendbot_ref: 31fc8f4236388f12fc609228b7a7f5494867a1f9
test_matrix: |
{
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
sha: ${{ inputs.sha }}
arch: amd64
tag: ${{ inputs.tag-prefix }}latest-amd64
protocol_version_default: 20
protocol_version_default: 21
xdr_ref: v21.1.0
core_ref: v21.2.0
horizon_ref: horizon-v2.31.0
soroban_rpc_ref: v21.2.0
core_ref: v21.3.1
horizon_ref: horizon-v2.32.0
soroban_rpc_ref: v21.5.1
friendbot_ref: 31fc8f4236388f12fc609228b7a7f5494867a1f9
test_matrix: |
{
Expand All @@ -56,11 +56,11 @@ jobs:
sha: ${{ inputs.sha }}
arch: arm64
tag: ${{ inputs.tag-prefix }}latest-arm64
protocol_version_default: 20
protocol_version_default: 21
xdr_ref: v21.1.0
core_ref: v21.2.0
horizon_ref: horizon-v2.31.0
soroban_rpc_ref: v21.2.0
core_ref: v21.3.1
horizon_ref: horizon-v2.32.0
soroban_rpc_ref: v21.5.1
friendbot_ref: 31fc8f4236388f12fc609228b7a7f5494867a1f9
test_matrix: |
{
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
arch: amd64
tag: ${{ inputs.tag-prefix }}testing-amd64
protocol_version_default: 21
xdr_ref: v21.1.0
core_ref: v21.2.0
horizon_ref: horizon-v2.31.0
soroban_rpc_ref: v21.2.0
xdr_ref: v22.0.0-rc.1.1
core_ref: v22.0.0rc2
horizon_ref: horizon-v2.32.0
soroban_rpc_ref: v21.5.1
friendbot_ref: 31fc8f4236388f12fc609228b7a7f5494867a1f9
test_matrix: |
{
Expand All @@ -58,10 +58,10 @@ jobs:
arch: arm64
tag: ${{ inputs.tag-prefix }}testing-arm64
protocol_version_default: 21
xdr_ref: v21.1.0
core_ref: v21.2.0
horizon_ref: horizon-v2.31.0
soroban_rpc_ref: v21.2.0
xdr_ref: v22.0.0-rc.1.1
core_ref: v22.0.0rc2
horizon_ref: horizon-v2.32.0
soroban_rpc_ref: v21.5.1
friendbot_ref: 31fc8f4236388f12fc609228b7a7f5494867a1f9
test_matrix: |
{
Expand Down
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,29 @@ console:

build-latest:
$(MAKE) build TAG=latest \
PROTOCOL_VERSION_DEFAULT=20 \
PROTOCOL_VERSION_DEFAULT=21 \
XDR_REF=v21.1.0 \
CORE_REF=v21.2.0 \
HORIZON_REF=horizon-v2.31.0 \
SOROBAN_RPC_REF=v21.2.0 \
CORE_REF=v21.3.1 \
HORIZON_REF=horizon-v2.32.0 \
SOROBAN_RPC_REF=v21.5.1 \
FRIENDBOT_REF=31fc8f4236388f12fc609228b7a7f5494867a1f9

build-testing:
$(MAKE) build TAG=testing \
PROTOCOL_VERSION_DEFAULT=21 \
XDR_REF=v21.1.0 \
CORE_REF=v21.2.0 \
HORIZON_REF=horizon-v2.31.0 \
SOROBAN_RPC_REF=v21.2.0 \
XDR_REF=v22.0.0-rc.1.1 \
CORE_REF=v22.0.0rc2 \
HORIZON_REF=horizon-v2.32.0 \
SOROBAN_RPC_REF=v21.5.1 \
FRIENDBOT_REF=31fc8f4236388f12fc609228b7a7f5494867a1f9

build-future:
$(MAKE) build TAG=future \
PROTOCOL_VERSION_DEFAULT=21 \
XDR_REF=v21.1.0 \
CORE_REF=v21.2.0 \
HORIZON_REF=horizon-v2.31.0 \
SOROBAN_RPC_REF=v21.2.0 \
XDR_REF=v22.0.0-rc.1.1 \
CORE_REF=v22.0.0rc2 \
HORIZON_REF=horizon-v2.32.0 \
SOROBAN_RPC_REF=v21.5.1 \
FRIENDBOT_REF=31fc8f4236388f12fc609228b7a7f5494867a1f9

build:
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Stellar Quickstart Docker Image

This docker image provides a simple way to run stellar-core and horizon locally for development and testing.
This docker image provides a simple way to run all the components of a Stellar network locally or in CI for development and testing.

**Looking for instructions for how to run stellar-core or horizon in production? Take a look at the docs [here](https://developers.stellar.org/docs/run-core-node/).**
> [!IMPORTANT]
> This docker image is intended for use in development, not production. See these docs for how to run Stellar services in production:
> - [How to run Stellar Core in production](https://developers.stellar.org/docs/run-core-node/)
> - [How to run Horizon in production](https://developers.stellar.org/docs/data/horizon/admin-guide/overview)
> - [How to run RPC in production](https://developers.stellar.org/docs/data/rpc/admin-guide)
This image provides a default, non-validating, ephemeral configuration that should work for most developers. By configuring a container using this image with a host-based volume (described below in the "Usage" section) an operator gains access to full configuration customization and persistence of data.

Expand Down
3 changes: 0 additions & 3 deletions futurenet/soroban-rpc/etc/stellar-captive-core.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ DATABASE="__DATABASE__"
ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=__ENABLE_SOROBAN_DIAGNOSTIC_EVENTS__
ENABLE_DIAGNOSTICS_FOR_TX_SUBMISSION=__ENABLE_SOROBAN_DIAGNOSTIC_EVENTS__

EXPERIMENTAL_BUCKETLIST_DB=true
EXPERIMENTAL_BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT=12

FAILURE_SAFETY=0
UNSAFE_QUORUM=true

Expand Down
5 changes: 5 additions & 0 deletions local/nginx/etc/conf.d/history-archive.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
location /archive {
rewrite /archive/(.*) /$1 break;
proxy_pass http://127.0.0.1:1570;
proxy_redirect off;
}
3 changes: 0 additions & 3 deletions local/soroban-rpc/etc/stellar-captive-core.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ ARTIFICIALLY_ACCELERATE_TIME_FOR_TESTING=true
ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=__ENABLE_SOROBAN_DIAGNOSTIC_EVENTS__
ENABLE_DIAGNOSTICS_FOR_TX_SUBMISSION=__ENABLE_SOROBAN_DIAGNOSTIC_EVENTS__

EXPERIMENTAL_BUCKETLIST_DB=true
EXPERIMENTAL_BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT=12

UNSAFE_QUORUM=true
FAILURE_SAFETY=0

Expand Down
3 changes: 0 additions & 3 deletions pubnet/soroban-rpc/etc/stellar-captive-core.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ DATABASE="__DATABASE__"
ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=__ENABLE_SOROBAN_DIAGNOSTIC_EVENTS__
ENABLE_DIAGNOSTICS_FOR_TX_SUBMISSION=__ENABLE_SOROBAN_DIAGNOSTIC_EVENTS__

EXPERIMENTAL_BUCKETLIST_DB=true
EXPERIMENTAL_BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT=12

# TODO: Connect only to the local node after
# https://github.com/stellar/go/pull/5053 is available.
# PREFERRED_PEERS=["127.0.0.1:11625"]
Expand Down
3 changes: 0 additions & 3 deletions testnet/soroban-rpc/etc/stellar-captive-core.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ DATABASE="__DATABASE__"
ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=__ENABLE_SOROBAN_DIAGNOSTIC_EVENTS__
ENABLE_DIAGNOSTICS_FOR_TX_SUBMISSION=__ENABLE_SOROBAN_DIAGNOSTIC_EVENTS__

EXPERIMENTAL_BUCKETLIST_DB=true
EXPERIMENTAL_BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT=12

# TODO: Connect only to the local node after
# https://github.com/stellar/go/pull/5053 is available.
# PREFERRED_PEERS=["127.0.0.1:11625"]
Expand Down

0 comments on commit 1028b76

Please sign in to comment.