From 9ca2a528ef0f3819b4921a33a3a2110d291707e0 Mon Sep 17 00:00:00 2001 From: bojie Date: Fri, 28 Dec 2018 13:15:06 +0800 Subject: app: use gcp storage instead of azure for builds (#81) * vendor: add dependencies for using GCP storage * app: use gcp storage instead of azure for builds --- build/deb/dexon-swarm/deb.changelog | 5 +++++ build/deb/dexon-swarm/deb.control | 19 +++++++++++++++++++ build/deb/dexon-swarm/deb.copyright | 14 ++++++++++++++ build/deb/dexon-swarm/deb.docs | 1 + build/deb/dexon-swarm/deb.install | 1 + build/deb/dexon-swarm/deb.rules | 13 +++++++++++++ build/deb/dexon/deb.changelog | 5 +++++ build/deb/dexon/deb.control | 25 +++++++++++++++++++++++++ build/deb/dexon/deb.copyright | 14 ++++++++++++++ build/deb/dexon/deb.docs | 1 + build/deb/dexon/deb.install | 1 + build/deb/dexon/deb.rules | 13 +++++++++++++ build/deb/ethereum-swarm/deb.changelog | 5 ----- build/deb/ethereum-swarm/deb.control | 19 ------------------- build/deb/ethereum-swarm/deb.copyright | 14 -------------- build/deb/ethereum-swarm/deb.docs | 1 - build/deb/ethereum-swarm/deb.install | 1 - build/deb/ethereum-swarm/deb.rules | 13 ------------- build/deb/ethereum/deb.changelog | 5 ----- build/deb/ethereum/deb.control | 25 ------------------------- build/deb/ethereum/deb.copyright | 14 -------------- build/deb/ethereum/deb.docs | 1 - build/deb/ethereum/deb.install | 1 - build/deb/ethereum/deb.rules | 13 ------------- 24 files changed, 112 insertions(+), 112 deletions(-) create mode 100644 build/deb/dexon-swarm/deb.changelog create mode 100644 build/deb/dexon-swarm/deb.control create mode 100644 build/deb/dexon-swarm/deb.copyright create mode 100644 build/deb/dexon-swarm/deb.docs create mode 100644 build/deb/dexon-swarm/deb.install create mode 100644 build/deb/dexon-swarm/deb.rules create mode 100644 build/deb/dexon/deb.changelog create mode 100644 build/deb/dexon/deb.control create mode 100644 build/deb/dexon/deb.copyright create mode 100644 build/deb/dexon/deb.docs create mode 100644 build/deb/dexon/deb.install create mode 100644 build/deb/dexon/deb.rules delete mode 100644 build/deb/ethereum-swarm/deb.changelog delete mode 100644 build/deb/ethereum-swarm/deb.control delete mode 100644 build/deb/ethereum-swarm/deb.copyright delete mode 100644 build/deb/ethereum-swarm/deb.docs delete mode 100644 build/deb/ethereum-swarm/deb.install delete mode 100644 build/deb/ethereum-swarm/deb.rules delete mode 100644 build/deb/ethereum/deb.changelog delete mode 100644 build/deb/ethereum/deb.control delete mode 100644 build/deb/ethereum/deb.copyright delete mode 100644 build/deb/ethereum/deb.docs delete mode 100644 build/deb/ethereum/deb.install delete mode 100644 build/deb/ethereum/deb.rules (limited to 'build/deb') diff --git a/build/deb/dexon-swarm/deb.changelog b/build/deb/dexon-swarm/deb.changelog new file mode 100644 index 000000000..83f804a83 --- /dev/null +++ b/build/deb/dexon-swarm/deb.changelog @@ -0,0 +1,5 @@ +{{.Name}} ({{.VersionString}}) {{.Distro}}; urgency=low + + * git build of {{.Env.Commit}} + + -- {{.Author}} {{.Time}} diff --git a/build/deb/dexon-swarm/deb.control b/build/deb/dexon-swarm/deb.control new file mode 100644 index 000000000..b787fe391 --- /dev/null +++ b/build/deb/dexon-swarm/deb.control @@ -0,0 +1,19 @@ +Source: {{.Name}} +Section: science +Priority: extra +Maintainer: {{.Author}} +Build-Depends: debhelper (>= 8.0.0), golang-1.10 +Standards-Version: 3.9.5 +Homepage: https://ethereum.org +Vcs-Git: git://github.com/dexon-foundation/dexon.git +Vcs-Browser: https://github.com/dexon-foundation/dexon + +{{range .Executables}} +Package: {{$.ExeName .}} +Conflicts: {{$.ExeConflicts .}} +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Built-Using: ${misc:Built-Using} +Description: {{.Description}} + {{.Description}} +{{end}} diff --git a/build/deb/dexon-swarm/deb.copyright b/build/deb/dexon-swarm/deb.copyright new file mode 100644 index 000000000..fe6e36ad9 --- /dev/null +++ b/build/deb/dexon-swarm/deb.copyright @@ -0,0 +1,14 @@ +Copyright 2018 The go-ethereum Authors + +go-ethereum is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +go-ethereum is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with go-ethereum. If not, see . diff --git a/build/deb/dexon-swarm/deb.docs b/build/deb/dexon-swarm/deb.docs new file mode 100644 index 000000000..62deb0497 --- /dev/null +++ b/build/deb/dexon-swarm/deb.docs @@ -0,0 +1 @@ +AUTHORS diff --git a/build/deb/dexon-swarm/deb.install b/build/deb/dexon-swarm/deb.install new file mode 100644 index 000000000..e7666ce5f --- /dev/null +++ b/build/deb/dexon-swarm/deb.install @@ -0,0 +1 @@ +build/bin/{{.BinaryName}} usr/bin diff --git a/build/deb/dexon-swarm/deb.rules b/build/deb/dexon-swarm/deb.rules new file mode 100644 index 000000000..7f286569e --- /dev/null +++ b/build/deb/dexon-swarm/deb.rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +override_dh_auto_build: + build/env.sh /usr/lib/go-1.10/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}} + +override_dh_auto_test: + +%: + dh $@ diff --git a/build/deb/dexon/deb.changelog b/build/deb/dexon/deb.changelog new file mode 100644 index 000000000..83f804a83 --- /dev/null +++ b/build/deb/dexon/deb.changelog @@ -0,0 +1,5 @@ +{{.Name}} ({{.VersionString}}) {{.Distro}}; urgency=low + + * git build of {{.Env.Commit}} + + -- {{.Author}} {{.Time}} diff --git a/build/deb/dexon/deb.control b/build/deb/dexon/deb.control new file mode 100644 index 000000000..6d9c51346 --- /dev/null +++ b/build/deb/dexon/deb.control @@ -0,0 +1,25 @@ +Source: {{.Name}} +Section: science +Priority: extra +Maintainer: {{.Author}} +Build-Depends: debhelper (>= 8.0.0), golang-1.10 +Standards-Version: 3.9.5 +Homepage: https://ethereum.org +Vcs-Git: git://github.com/dexon-foundation/dexon.git +Vcs-Browser: https://github.com/dexon-foundation/dexon + +Package: {{.Name}} +Architecture: any +Depends: ${misc:Depends}, {{.ExeList}} +Description: Meta-package to install geth, swarm, and other tools + Meta-package to install geth, swarm and other tools + +{{range .Executables}} +Package: {{$.ExeName .}} +Conflicts: {{$.ExeConflicts .}} +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Built-Using: ${misc:Built-Using} +Description: {{.Description}} + {{.Description}} +{{end}} diff --git a/build/deb/dexon/deb.copyright b/build/deb/dexon/deb.copyright new file mode 100644 index 000000000..fe6e36ad9 --- /dev/null +++ b/build/deb/dexon/deb.copyright @@ -0,0 +1,14 @@ +Copyright 2018 The go-ethereum Authors + +go-ethereum is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +go-ethereum is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with go-ethereum. If not, see . diff --git a/build/deb/dexon/deb.docs b/build/deb/dexon/deb.docs new file mode 100644 index 000000000..62deb0497 --- /dev/null +++ b/build/deb/dexon/deb.docs @@ -0,0 +1 @@ +AUTHORS diff --git a/build/deb/dexon/deb.install b/build/deb/dexon/deb.install new file mode 100644 index 000000000..e7666ce5f --- /dev/null +++ b/build/deb/dexon/deb.install @@ -0,0 +1 @@ +build/bin/{{.BinaryName}} usr/bin diff --git a/build/deb/dexon/deb.rules b/build/deb/dexon/deb.rules new file mode 100644 index 000000000..7f286569e --- /dev/null +++ b/build/deb/dexon/deb.rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +override_dh_auto_build: + build/env.sh /usr/lib/go-1.10/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}} + +override_dh_auto_test: + +%: + dh $@ diff --git a/build/deb/ethereum-swarm/deb.changelog b/build/deb/ethereum-swarm/deb.changelog deleted file mode 100644 index 83f804a83..000000000 --- a/build/deb/ethereum-swarm/deb.changelog +++ /dev/null @@ -1,5 +0,0 @@ -{{.Name}} ({{.VersionString}}) {{.Distro}}; urgency=low - - * git build of {{.Env.Commit}} - - -- {{.Author}} {{.Time}} diff --git a/build/deb/ethereum-swarm/deb.control b/build/deb/ethereum-swarm/deb.control deleted file mode 100644 index b787fe391..000000000 --- a/build/deb/ethereum-swarm/deb.control +++ /dev/null @@ -1,19 +0,0 @@ -Source: {{.Name}} -Section: science -Priority: extra -Maintainer: {{.Author}} -Build-Depends: debhelper (>= 8.0.0), golang-1.10 -Standards-Version: 3.9.5 -Homepage: https://ethereum.org -Vcs-Git: git://github.com/dexon-foundation/dexon.git -Vcs-Browser: https://github.com/dexon-foundation/dexon - -{{range .Executables}} -Package: {{$.ExeName .}} -Conflicts: {{$.ExeConflicts .}} -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Built-Using: ${misc:Built-Using} -Description: {{.Description}} - {{.Description}} -{{end}} diff --git a/build/deb/ethereum-swarm/deb.copyright b/build/deb/ethereum-swarm/deb.copyright deleted file mode 100644 index fe6e36ad9..000000000 --- a/build/deb/ethereum-swarm/deb.copyright +++ /dev/null @@ -1,14 +0,0 @@ -Copyright 2018 The go-ethereum Authors - -go-ethereum is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -go-ethereum is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with go-ethereum. If not, see . diff --git a/build/deb/ethereum-swarm/deb.docs b/build/deb/ethereum-swarm/deb.docs deleted file mode 100644 index 62deb0497..000000000 --- a/build/deb/ethereum-swarm/deb.docs +++ /dev/null @@ -1 +0,0 @@ -AUTHORS diff --git a/build/deb/ethereum-swarm/deb.install b/build/deb/ethereum-swarm/deb.install deleted file mode 100644 index e7666ce5f..000000000 --- a/build/deb/ethereum-swarm/deb.install +++ /dev/null @@ -1 +0,0 @@ -build/bin/{{.BinaryName}} usr/bin diff --git a/build/deb/ethereum-swarm/deb.rules b/build/deb/ethereum-swarm/deb.rules deleted file mode 100644 index 7f286569e..000000000 --- a/build/deb/ethereum-swarm/deb.rules +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -override_dh_auto_build: - build/env.sh /usr/lib/go-1.10/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}} - -override_dh_auto_test: - -%: - dh $@ diff --git a/build/deb/ethereum/deb.changelog b/build/deb/ethereum/deb.changelog deleted file mode 100644 index 83f804a83..000000000 --- a/build/deb/ethereum/deb.changelog +++ /dev/null @@ -1,5 +0,0 @@ -{{.Name}} ({{.VersionString}}) {{.Distro}}; urgency=low - - * git build of {{.Env.Commit}} - - -- {{.Author}} {{.Time}} diff --git a/build/deb/ethereum/deb.control b/build/deb/ethereum/deb.control deleted file mode 100644 index 6d9c51346..000000000 --- a/build/deb/ethereum/deb.control +++ /dev/null @@ -1,25 +0,0 @@ -Source: {{.Name}} -Section: science -Priority: extra -Maintainer: {{.Author}} -Build-Depends: debhelper (>= 8.0.0), golang-1.10 -Standards-Version: 3.9.5 -Homepage: https://ethereum.org -Vcs-Git: git://github.com/dexon-foundation/dexon.git -Vcs-Browser: https://github.com/dexon-foundation/dexon - -Package: {{.Name}} -Architecture: any -Depends: ${misc:Depends}, {{.ExeList}} -Description: Meta-package to install geth, swarm, and other tools - Meta-package to install geth, swarm and other tools - -{{range .Executables}} -Package: {{$.ExeName .}} -Conflicts: {{$.ExeConflicts .}} -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Built-Using: ${misc:Built-Using} -Description: {{.Description}} - {{.Description}} -{{end}} diff --git a/build/deb/ethereum/deb.copyright b/build/deb/ethereum/deb.copyright deleted file mode 100644 index fe6e36ad9..000000000 --- a/build/deb/ethereum/deb.copyright +++ /dev/null @@ -1,14 +0,0 @@ -Copyright 2018 The go-ethereum Authors - -go-ethereum is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -go-ethereum is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with go-ethereum. If not, see . diff --git a/build/deb/ethereum/deb.docs b/build/deb/ethereum/deb.docs deleted file mode 100644 index 62deb0497..000000000 --- a/build/deb/ethereum/deb.docs +++ /dev/null @@ -1 +0,0 @@ -AUTHORS diff --git a/build/deb/ethereum/deb.install b/build/deb/ethereum/deb.install deleted file mode 100644 index e7666ce5f..000000000 --- a/build/deb/ethereum/deb.install +++ /dev/null @@ -1 +0,0 @@ -build/bin/{{.BinaryName}} usr/bin diff --git a/build/deb/ethereum/deb.rules b/build/deb/ethereum/deb.rules deleted file mode 100644 index 7f286569e..000000000 --- a/build/deb/ethereum/deb.rules +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -override_dh_auto_build: - build/env.sh /usr/lib/go-1.10/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}} - -override_dh_auto_test: - -%: - dh $@ -- cgit v1.2.3