mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-17 22:46:57 +00:00
- Deleted redeploy.sh, which handled redeployment to nodes in devnet/testnet environments. - Removed upgrade-nodes.sh, responsible for rolling upgrades of nodes. - Eliminated upload-source-fanout.sh, which uploaded source archives to nodes in parallel. - Removed upload-source.sh, used for uploading and extracting source archives to VPS nodes.
25 lines
744 B
Go
25 lines
744 B
Go
package buildcmd
|
|
|
|
import (
|
|
"github.com/DeBrosOfficial/network/pkg/cli/build"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// Cmd is the top-level build command.
|
|
var Cmd = &cobra.Command{
|
|
Use: "build",
|
|
Short: "Build pre-compiled binary archive for deployment",
|
|
Long: `Cross-compile all Orama binaries and dependencies for Linux,
|
|
then package them into a deployment archive. The archive includes:
|
|
- Orama binaries (CLI, node, gateway, identity, SFU, TURN)
|
|
- Olric, IPFS Kubo, IPFS Cluster, RQLite, CoreDNS, Caddy
|
|
- Systemd namespace templates
|
|
- manifest.json with checksums
|
|
|
|
The resulting archive can be pushed to nodes with 'orama node push'.`,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
build.Handle(args)
|
|
},
|
|
DisableFlagParsing: true,
|
|
}
|