From f46fe3c2dfff159523307a927f1a81add316dd27 Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 17 Jul 2024 15:27:45 +0800 Subject: [PATCH 1/5] ci: use correct repository name for the restriction --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 17cc728e68bd17..2c4a6464567ab7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -69,7 +69,7 @@ jobs: needs: - check if: > - github.repository == 'solana-labs/solana' && + github.repository == 'anza-xyz/agave' && needs.check.outputs.continue == 1 # the name is used by .mergify.yml as well name: build & deploy docs From a8c76ac98034c59e5243fced8b7e9f93d6552edb Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 17 Jul 2024 15:31:32 +0800 Subject: [PATCH 2/5] ci: don't publish docs temporarily --- docs/build.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/build.sh b/docs/build.sh index 6269eabdbb78b0..45282bdb4150c7 100755 --- a/docs/build.sh +++ b/docs/build.sh @@ -25,14 +25,3 @@ fi # Build from /src into /build npm run build echo $? - -# Publish only from merge commits and beta release tags -if [[ -n $CI ]]; then - if [[ -z $CI_PULL_REQUEST ]]; then - if [[ -n $CI_TAG ]] && [[ $CI_TAG != $BETA_CHANNEL* ]]; then - echo "not a beta tag" - exit 0 - fi - ./publish-docs.sh - fi -fi From 99d7d0eaaa045e5bfae8a503b57c195d7a3c9511 Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 17 Jul 2024 15:32:43 +0800 Subject: [PATCH 3/5] ci: remove crowdin --- docs/build.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docs/build.sh b/docs/build.sh index 45282bdb4150c7..4a122678a19b09 100755 --- a/docs/build.sh +++ b/docs/build.sh @@ -12,16 +12,6 @@ source ../ci/rust-version.sh ../ci/docker-run-default-image.sh docs/convert-ascii-to-svg.sh ./set-solana-release-tag.sh -# Get current channel -eval "$(../ci/channel-info.sh)" - -# Synchronize translations with Crowdin only on stable channel -if [ "$CHANNEL" = stable ]; then - echo "Downloading & updating translations..." - npm run crowdin:download - npm run crowdin:upload -fi - # Build from /src into /build npm run build echo $? From 8422cb054427c0cb106c84bc2b463abceb74fcda Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 17 Jul 2024 16:14:54 +0800 Subject: [PATCH 4/5] relace
with
--- docs/src/operations/requirements.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/operations/requirements.md b/docs/src/operations/requirements.md index d70e9924217a12..2810c0e749bf5a 100644 --- a/docs/src/operations/requirements.md +++ b/docs/src/operations/requirements.md @@ -20,12 +20,12 @@ The hardware recommendations below are provided as a guide. Operators are encou | Component | Validator Requirements | Additional RPC Node Requirements | |-----------|------------------------|----------------------------------| -| **CPU** | - 2.8GHz base clock speed, or faster
- SHA extensions instruction support
- AMD Gen 3 or newer
- Intel Ice Lake or newer
- Higher clock speed is preferable over more cores
- AVX2 instruction support (to use official release binaries, self-compile otherwise)
- Support for AVX512f is helpful
|| +| **CPU** | - 2.8GHz base clock speed, or faster
- SHA extensions instruction support
- AMD Gen 3 or newer
- Intel Ice Lake or newer
- Higher clock speed is preferable over more cores
- AVX2 instruction support (to use official release binaries, self-compile otherwise)
- Support for AVX512f is helpful
|| | | 12 cores / 24 threads, or more | 16 cores / 32 threads, or more | -| **RAM** | Error Correction Code (ECC) memory is suggested
Motherboard with 512GB capacity suggested || +| **RAM** | Error Correction Code (ECC) memory is suggested
Motherboard with 512GB capacity suggested || | | 256GB or more| 512 GB or more for **all [account indexes](https://docs.solanalabs.com/operations/setup-an-rpc-node#account-indexing)** | -| **Disk** | PCIe Gen3 x4 NVME SSD, or better, on each of:
- **Accounts**: 500GB, or larger. High TBW (Total Bytes Written)
- **Ledger**: 1TB or larger. High TBW suggested
- **Snapshots**: 250GB or larger. High TBW suggested
- **OS**: (Optional) 500GB, or larger. SATA OK

The OS may be installed on the ledger disk, though testing has shown better performance with the ledger on its own disk

Accounts and ledger *can* be stored on the same disk, however due to high IOPS, this is not recommended

The Samsung 970 and 980 Pro series SSDs are popular with the validator community | Consider a larger ledger disk if longer transaction history is required

Accounts and ledger **should not** be stored on the same disk | -| **GPUs** | Not necessary at this time
Operators in the validator community do not use GPUs currently | | +| **Disk** | PCIe Gen3 x4 NVME SSD, or better, on each of:
- **Accounts**: 500GB, or larger. High TBW (Total Bytes Written)
- **Ledger**: 1TB or larger. High TBW suggested
- **Snapshots**: 250GB or larger. High TBW suggested
- **OS**: (Optional) 500GB, or larger. SATA OK

The OS may be installed on the ledger disk, though testing has shown better performance with the ledger on its own disk

Accounts and ledger *can* be stored on the same disk, however due to high IOPS, this is not recommended

The Samsung 970 and 980 Pro series SSDs are popular with the validator community | Consider a larger ledger disk if longer transaction history is required

Accounts and ledger **should not** be stored on the same disk | +| **GPUs** | Not necessary at this time
Operators in the validator community do not use GPUs currently | | ## Virtual machines on Cloud Platforms From 572070f2ad3c4e805768cdc4220b8eab9c3f4333 Mon Sep 17 00:00:00 2001 From: yihau Date: Wed, 17 Jul 2024 16:15:54 +0800 Subject: [PATCH 5/5] ci: bumping version --- .github/workflows/docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2c4a6464567ab7..c348d69acbe4ea 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -79,9 +79,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 22 - name: Build working-directory: docs