mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
build: disable swarm packages
This commit is contained in:
parent
c942700427
commit
f970ca09d2
1 changed files with 4 additions and 31 deletions
35
build/ci.go
35
build/ci.go
|
|
@ -60,7 +60,6 @@ import (
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/internal/build"
|
"github.com/ethereum/go-ethereum/internal/build"
|
||||||
"github.com/ethereum/go-ethereum/params"
|
"github.com/ethereum/go-ethereum/params"
|
||||||
sv "github.com/ethereum/go-ethereum/swarm/version"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
@ -82,12 +81,6 @@ var (
|
||||||
executablePath("wnode"),
|
executablePath("wnode"),
|
||||||
}
|
}
|
||||||
|
|
||||||
// Files that end up in the swarm*.zip archive.
|
|
||||||
swarmArchiveFiles = []string{
|
|
||||||
"COPYING",
|
|
||||||
executablePath("swarm"),
|
|
||||||
}
|
|
||||||
|
|
||||||
// A debian package is created for all executables listed here.
|
// A debian package is created for all executables listed here.
|
||||||
debExecutables = []debExecutable{
|
debExecutables = []debExecutable{
|
||||||
{
|
{
|
||||||
|
|
@ -121,13 +114,6 @@ var (
|
||||||
}
|
}
|
||||||
|
|
||||||
// A debian package is created for all executables listed here.
|
// A debian package is created for all executables listed here.
|
||||||
debSwarmExecutables = []debExecutable{
|
|
||||||
{
|
|
||||||
BinaryName: "swarm",
|
|
||||||
PackageName: "ethereum-swarm",
|
|
||||||
Description: "Ethereum Swarm daemon and tools",
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
debEthereum = debPackage{
|
debEthereum = debPackage{
|
||||||
Name: "ethereum",
|
Name: "ethereum",
|
||||||
|
|
@ -135,20 +121,13 @@ var (
|
||||||
Executables: debExecutables,
|
Executables: debExecutables,
|
||||||
}
|
}
|
||||||
|
|
||||||
debSwarm = debPackage{
|
|
||||||
Name: "ethereum-swarm",
|
|
||||||
Version: sv.Version,
|
|
||||||
Executables: debSwarmExecutables,
|
|
||||||
}
|
|
||||||
|
|
||||||
// Debian meta packages to build and push to Ubuntu PPA
|
// Debian meta packages to build and push to Ubuntu PPA
|
||||||
debPackages = []debPackage{
|
debPackages = []debPackage{
|
||||||
debSwarm,
|
|
||||||
debEthereum,
|
debEthereum,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Packages to be cross-compiled by the xgo command
|
// Packages to be cross-compiled by the xgo command
|
||||||
allCrossCompiledArchiveFiles = append(allToolsArchiveFiles, swarmArchiveFiles...)
|
allCrossCompiledArchiveFiles = append(allToolsArchiveFiles)
|
||||||
|
|
||||||
// Distros for which packages are created.
|
// Distros for which packages are created.
|
||||||
// Note: vivid is unsupported because there is no golang-1.6 package for it.
|
// Note: vivid is unsupported because there is no golang-1.6 package for it.
|
||||||
|
|
@ -403,9 +382,6 @@ func doArchive(cmdline []string) {
|
||||||
basegeth = archiveBasename(*arch, params.ArchiveVersion(env.Commit))
|
basegeth = archiveBasename(*arch, params.ArchiveVersion(env.Commit))
|
||||||
geth = "geth-" + basegeth + ext
|
geth = "geth-" + basegeth + ext
|
||||||
alltools = "geth-alltools-" + basegeth + ext
|
alltools = "geth-alltools-" + basegeth + ext
|
||||||
|
|
||||||
baseswarm = archiveBasename(*arch, sv.ArchiveVersion(env.Commit))
|
|
||||||
swarm = "swarm-" + baseswarm + ext
|
|
||||||
)
|
)
|
||||||
maybeSkipArchive(env)
|
maybeSkipArchive(env)
|
||||||
if err := build.WriteArchive(geth, gethArchiveFiles); err != nil {
|
if err := build.WriteArchive(geth, gethArchiveFiles); err != nil {
|
||||||
|
|
@ -414,10 +390,7 @@ func doArchive(cmdline []string) {
|
||||||
if err := build.WriteArchive(alltools, allToolsArchiveFiles); err != nil {
|
if err := build.WriteArchive(alltools, allToolsArchiveFiles); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
if err := build.WriteArchive(swarm, swarmArchiveFiles); err != nil {
|
for _, archive := range []string{geth, alltools} {
|
||||||
log.Fatal(err)
|
|
||||||
}
|
|
||||||
for _, archive := range []string{geth, alltools, swarm} {
|
|
||||||
if err := archiveUpload(archive, *upload, *signer); err != nil {
|
if err := archiveUpload(archive, *upload, *signer); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
@ -580,8 +553,8 @@ func isUnstableBuild(env build.Environment) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
type debPackage struct {
|
type debPackage struct {
|
||||||
Name string // the name of the Debian package to produce, e.g. "ethereum", or "ethereum-swarm"
|
Name string // the name of the Debian package to produce, e.g. "ethereum"
|
||||||
Version string // the clean version of the debPackage, e.g. 1.8.12 or 0.3.0, without any metadata
|
Version string // the clean version of the debPackage, e.g. 1.8.12, without any metadata
|
||||||
Executables []debExecutable // executables to be included in the package
|
Executables []debExecutable // executables to be included in the package
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue