diff options
author | bojie <bojie@dexon.org> | 2018-12-28 13:15:06 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 487f038bf1cf303704154927f4de180b22a31f67 (patch) | |
tree | a609020f3a420a68deee099a8c86885a3260c873 /build/deb/dexon-swarm | |
parent | b8885b8345bab5e076fc72a0661a0d9a1b5cc421 (diff) | |
download | dexon-487f038bf1cf303704154927f4de180b22a31f67.tar dexon-487f038bf1cf303704154927f4de180b22a31f67.tar.gz dexon-487f038bf1cf303704154927f4de180b22a31f67.tar.bz2 dexon-487f038bf1cf303704154927f4de180b22a31f67.tar.lz dexon-487f038bf1cf303704154927f4de180b22a31f67.tar.xz dexon-487f038bf1cf303704154927f4de180b22a31f67.tar.zst dexon-487f038bf1cf303704154927f4de180b22a31f67.zip |
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
Diffstat (limited to 'build/deb/dexon-swarm')
-rw-r--r-- | build/deb/dexon-swarm/deb.changelog | 5 | ||||
-rw-r--r-- | build/deb/dexon-swarm/deb.control | 19 | ||||
-rw-r--r-- | build/deb/dexon-swarm/deb.copyright | 14 | ||||
-rw-r--r-- | build/deb/dexon-swarm/deb.docs | 1 | ||||
-rw-r--r-- | build/deb/dexon-swarm/deb.install | 1 | ||||
-rw-r--r-- | build/deb/dexon-swarm/deb.rules | 13 |
6 files changed, 53 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. 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 $@ |