From a4cc856be79267436df67ae515aeb2420db77a3a Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Wed, 17 Sep 2025 20:33:02 +0200 Subject: [PATCH 1/2] chore(workflows): update permissions and commit user details in QA workflow - Adjust permissions for contents, pull-requests, issues, and security-events to 'write' in the QA workflow configuration. - Update commit user details to ensure proper attribution during automated commits. --- .github/workflows/qa.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 97858dc..676ca73 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -33,7 +33,7 @@ jobs: (github.event_name == 'pull_request' && github.event.action != 'closed') || github.event_name == 'pull_request_review' permissions: - contents: read + contents: write pull-requests: write issues: write security-events: write @@ -136,9 +136,10 @@ jobs: commit_message: "chore(release): sync generated assets [skip ci]" branch: main file_pattern: 'package.json **/package.json charts/**/Chart.yaml charts/**/README.md README.md' - github_token: ${{ env.PAT_TOKEN }} - commit_author_name: 'SettleMint Release Bot' - commit_author_email: 'support@settlemint.com' + commit_user_name: 'SettleMint Release Bot' + commit_user_email: 'support@settlemint.com' + env: + GITHUB_TOKEN: ${{ env.PAT_TOKEN }} - name: Docker meta if: github.event_name == 'pull_request' || github.event_name == 'push' From 9207061bbd8a7c4b87405218b7099c7925369b31 Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Wed, 17 Sep 2025 20:33:15 +0200 Subject: [PATCH 2/2] docs(README): update CLI options for static node configuration - Added new CLI options for configuring static node parameters, including domain, namespace, service name, pod prefix, and ConfigMap names for genesis and static nodes. - Updated descriptions for existing options to enhance clarity and usability. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c870986..d79b6b1 100644 --- a/README.md +++ b/README.md @@ -151,11 +151,16 @@ Usage: network-bootstrapper generate [options] Generate node identities, configure consensus, and emit a Besu genesis. Options: + --static-node-domain DNS suffix appended to validator peer hostnames for static-nodes entries. + --static-node-namespace Namespace segment inserted between service name and domain for static-nodes entries. + --static-node-service-name Headless Service name used when constructing static-nodes hostnames. + --static-node-pod-prefix StatefulSet prefix used when constructing validator pod hostnames. + --genesis-configmap-name ConfigMap name that stores the generated genesis.json payload. + --static-nodes-configmap-name ConfigMap name that stores the generated static-nodes.json payload. + --faucet-artifact-prefix Prefix applied to faucet ConfigMaps and Secrets. -v, --validators Number of validator nodes to generate. (default: 4) -a, --allocations Path to a genesis allocations JSON file. (default: none) -o, --outputType Output target (screen, file, kubernetes). (default: "screen") - --static-node-domain DNS suffix appended to validator peer hostnames for static-nodes entries. - --static-node-namespace Namespace segment inserted between service name and domain for static-nodes entries. --static-node-port P2P port used for static-nodes enode URIs. (default: 30303) --static-node-discovery-port Discovery port used for static-nodes enode URIs. (default: 30303) --consensus Consensus algorithm (IBFTv2, QBFT). (default: QBFT)