Skip to content

Commit

Permalink
soroban-cli: Remove ALL RPC Related Code and Workflows (#1198)
Browse files Browse the repository at this point in the history
* Removed RPC docs

* Remove RPC tests

* Removed RPC related workflows

* Update system-test workflows

* Removed preflight crate

* Don't depend on setup-go for dependency-check workflow

* Update check-dependencies

* Don't explicitly use main branch for RPC git ref in e2e

* Updated README
  • Loading branch information
stellarsaur authored Feb 14, 2024
1 parent 1b43428 commit 4febbe2
Show file tree
Hide file tree
Showing 103 changed files with 16 additions and 17,483 deletions.
55 changes: 0 additions & 55 deletions .github/actions/setup-go/action.yml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/actions/setup-integration-tests/action.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: rustup update
- uses: actions/setup-go@v3
with:
go-version: 1.21
- run: scripts/check-dependencies.bash
validate-rust-git-rev-deps:
runs-on: ubuntu-latest
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
# the gh tag of system-test repo version to run
SYSTEM_TEST_GIT_REF: master

# the soroban tools source code to compile and run from system test
# the soroban CLI & RPC source code to compile and run from system test
# refers to checked out source of current git hub ref context
SYSTEM_TEST_SOROBAN_TOOLS_REF: ${{ github.workspace }}/soroban-tools
SYSTEM_TEST_SOROBAN_CLI_REF: ${{ github.workspace }}/soroban-tools
SYSTEM_TEST_SOROBAN_RPC_REF: https://github.com/stellar/soroban-rpc.git

# core git ref should be latest commit for stable soroban functionality
# the core bin can either be compiled in-line here as part of ci,
Expand Down Expand Up @@ -66,7 +67,13 @@ jobs:
- uses: actions/checkout@v3
name: checkout soroban-tools
with:
repository: stellar/soroban-tools
path: soroban-tools
- uses: actions/checkout@v3
name: checkout soroban-rpc
with:
repository: stellar/soroban-rpc
path: soroban-rpc
- if: ${{ env.SYSTEM_TEST_JS_STELLAR_SDK_GH_REPO != ''}}
name: prepare local js-stellar-sdk
run: |
Expand All @@ -90,8 +97,8 @@ jobs:
CORE_GIT_REF=$SYSTEM_TEST_CORE_GIT_REF \
CORE_COMPILE_CONFIGURE_FLAGS="$SYSTEM_TEST_CORE_COMPILE_CONFIGURE_FLAGS" \
CORE_IMAGE=$SYSTEM_TEST_CORE_IMAGE \
SOROBAN_RPC_GIT_REF=$SYSTEM_TEST_SOROBAN_TOOLS_REF \
SOROBAN_CLI_GIT_REF=$SYSTEM_TEST_SOROBAN_TOOLS_REF \
SOROBAN_RPC_GIT_REF=$SYSTEM_TEST_SOROBAN_RPC_REF \
SOROBAN_CLI_GIT_REF=$SYSTEM_TEST_SOROBAN_CLI_REF \
RUST_TOOLCHAIN_VERSION=$SYSTEM_TEST_RUST_TOOLCHAIN_VERSION \
RS_XDR_GIT_REF=$SYSTEM_TEST_RS_XDR_GIT_REF \
QUICKSTART_GIT_REF=$SYSTEM_TEST_QUICKSTART_GIT_REF \
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/golangci-lint.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- run: cargo clippy --all-targets --target ${{ matrix.target }}
- run: make build-test
- if: startsWith(matrix.target, 'x86_64')
# specify directories explicitly to avoid building the preflight library (otherwise it will fail with missing symbols)
# specify directories explicitly (otherwise it will fail with missing symbols)
run: |
for I in cmd/soroban-cli cmd/crates/* cmd/crates/soroban-test/tests/fixtures/test-wasms/hello_world ; do
cargo test --target ${{ matrix.target }} --manifest-path $I/Cargo.toml
Expand Down
129 changes: 0 additions & 129 deletions .github/workflows/soroban-rpc.yml

This file was deleted.

Loading

0 comments on commit 4febbe2

Please sign in to comment.