Skip to content

Commit 28a647d

Browse files
authored
[Sync] Update project files from source repository (f7546e4) (#110)
* sync(ci): update mage-x to v1.21.0 and benchstat * chore(controller): add etcd member state files Adds default etcd member snapshot database and write-ahead log files for proper etcd initialization. * ci(env): configure build tag exclusions for mage auto-discovery Add MAGE_X_AUTO_DISCOVER_BUILD_TAGS_EXCLUDE configuration to exclude race, custom, ignore_autogenerated, and e2e build tags. * chore(bases): regenerate crd base manifests CRD YAML files reformatted with normalized indentation and document separators removed. * style(rbac): standardize manager role indentation Adjust YAML indentation to align rules with parent key. Improves consistency and readability of the ClusterRole manifest. * build(test-e2e): add e2e build tag to test command Add the -tags e2e flag to enable build-tagged test code during e2e test execution. * test(e2e): add e2e build tags Add //go:build e2e directives to test files to ensure they are only compiled when explicitly building e2e tests. * docs(readme): replace github sponsor badge with deepwiki link Replace GitHub sponsor badge with DeepWiki badge to direct users to community documentation resources.
1 parent b33c318 commit 28a647d

27 files changed

Lines changed: 48106 additions & 48116 deletions

.github/env/10-mage-x.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# ================================================================================================
3737

3838
# MAGE-X version
39-
MAGE_X_VERSION=v1.20.16
39+
MAGE_X_VERSION=v1.21.0
4040

4141
# For mage-x development, set to 'true' to use local version instead of downloading from releases
4242
MAGE_X_USE_LOCAL=false
@@ -71,7 +71,7 @@ MAGE_X_NANCY_VERSION=v1.2.0
7171
MAGE_X_STATICCHECK_VERSION=2026.1
7272
MAGE_X_SWAG_VERSION=v1.16.6
7373
MAGE_X_YAMLFMT_VERSION=v0.21.0
74-
MAGE_X_BENCHSTAT_VERSION=v0.0.0-20260409210113-8e83ce0f7b1c
74+
MAGE_X_BENCHSTAT_VERSION=v0.0.0-20260512194132-3cf34090a3db
7575
MAGE_X_MAGE_VERSION=v1.17.2
7676

7777
# ================================================================================================

.github/env/90-project.env

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ GO_COVERAGE_EXCLUDE_PATHS=test/,vendor/,testdata/,.github/,.mage-cache/,.vscode/
5858
# Exclude test packages from cache warming to reduce memory usage
5959
MAGE_X_BUILD_EXCLUDE_PATTERN=*/test/*
6060

61+
# Exclude ignore_autogenerated from auto-discovered build tags — using it strips the
62+
# zz_generated.deepcopy.go files which breaks k8s.io/apimachinery interface implementations.
63+
# Exclude e2e tag — e2e tests require a live Kubernetes cluster and must be run explicitly.
64+
MAGE_X_AUTO_DISCOVER_BUILD_TAGS_EXCLUDE=race,custom,ignore_autogenerated,e2e
65+
6166
# Use incremental build strategy with small batches for memory safety
6267
MAGE_X_BUILD_STRATEGY=incremental
6368

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ test: manifests generate fmt vet envtest ## Run tests.
118118
# Utilize Kind or modify the e2e tests to load the image locally, enabling compatibility with other vendors.
119119
.PHONY: test-e2e # Run the e2e tests against a Kind k8s instance that is spun up.
120120
test-e2e:
121-
go test ./test/e2e/ -v -ginkgo.v
121+
go test -tags e2e ./test/e2e/ -v -ginkgo.v
122122

123123
GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
124124
GOLANGCI_LINT_VERSION ?= v2.11.4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</td>
4444
<td align="left">
4545
<a href="https://github.com/bsv-blockchain/teranode-operator/graphs/contributors"><img src="https://img.shields.io/github/contributors/bsv-blockchain/teranode-operator?style=flat-square&color=orange" alt="Contributors"></a>
46-
<a href="https://github.com/sponsors/bsv-blockchain"><img src="https://img.shields.io/badge/sponsor-BSV-181717.svg?logo=github&style=flat-square" alt="Sponsor"></a>
46+
<a href="https://deepwiki.com/bsv-blockchain/teranode-operator"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
4747
</td>
4848
</tr>
4949
</table>

config/crd/bases/teranode.bsvblockchain.org_alertsystems.yaml

Lines changed: 1596 additions & 1597 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_assets.yaml

Lines changed: 1617 additions & 1618 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_blockassemblies.yaml

Lines changed: 1651 additions & 1652 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_blockchains.yaml

Lines changed: 1598 additions & 1599 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_blockpersisters.yaml

Lines changed: 1651 additions & 1652 deletions
Large diffs are not rendered by default.

config/crd/bases/teranode.bsvblockchain.org_blockvalidators.yaml

Lines changed: 1596 additions & 1597 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)