aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbojie <bojie@dexon.org>2019-04-17 13:49:37 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-17 13:49:37 +0800
commitc8f482bbd870afff38397dac52cd8d396ca65fdb (patch)
tree2a3a8cb327a815a3de31c7550480251c7074edf7
parentef3c55d921c37cccc6f6fe3fbf6e17be2d383903 (diff)
downloaddexon-c8f482bbd870afff38397dac52cd8d396ca65fdb.tar.gz
dexon-c8f482bbd870afff38397dac52cd8d396ca65fdb.tar.zst
dexon-c8f482bbd870afff38397dac52cd8d396ca65fdb.zip
ci: fix wrong bucket name (#371)
-rw-r--r--build/ci.go8
-rwxr-xr-xbuild/fullnode-test.sh2
-rwxr-xr-xbuild/recovery-test.sh2
3 files changed, 6 insertions, 6 deletions
diff --git a/build/ci.go b/build/ci.go
index 044a9d80d..931fa2f83 100644
--- a/build/ci.go
+++ b/build/ci.go
@@ -406,7 +406,7 @@ func doArchive(cmdline []string) {
arch = flag.String("arch", runtime.GOARCH, "Architecture cross packaging")
atype = flag.String("type", "zip", "Type of archive to write (zip|tar)")
signer = flag.String("signer", "", `Environment variable holding the signing key (e.g. LINUX_SIGNING_KEY)`)
- upload = flag.String("upload", "", `Destination to upload the archives (usually "dexon-builds")`)
+ upload = flag.String("upload", "", `Destination to upload the archives (usually "dexon-prod-builds")`)
ext string
)
flag.CommandLine.Parse(cmdline)
@@ -811,7 +811,7 @@ func doAndroidArchive(cmdline []string) {
local = flag.Bool("local", false, `Flag whether we're only doing a local build (skip Maven artifacts)`)
signer = flag.String("signer", "", `Environment variable holding the signing key (e.g. ANDROID_SIGNING_KEY)`)
deploy = flag.String("deploy", "", `Destination to deploy the archive (usually "https://oss.sonatype.org")`)
- upload = flag.String("upload", "", `Destination to upload the archive (usually "dexon-builds")`)
+ upload = flag.String("upload", "", `Destination to upload the archive (usually "dexon-prod-builds")`)
)
flag.CommandLine.Parse(cmdline)
env := build.Env()
@@ -939,7 +939,7 @@ func doXCodeFramework(cmdline []string) {
local = flag.Bool("local", false, `Flag whether we're only doing a local build (skip Maven artifacts)`)
signer = flag.String("signer", "", `Environment variable holding the signing key (e.g. IOS_SIGNING_KEY)`)
deploy = flag.String("deploy", "", `Destination to deploy the archive (usually "trunk")`)
- upload = flag.String("upload", "", `Destination to upload the archives (usually "dexon-builds")`)
+ upload = flag.String("upload", "", `Destination to upload the archives (usually "dexon-prod-builds")`)
)
flag.CommandLine.Parse(cmdline)
env := build.Env()
@@ -1079,7 +1079,7 @@ func xgoTool(args []string) *exec.Cmd {
func doPurge(cmdline []string) {
var (
- store = flag.String("store", "", `Destination from where to purge archives (usually "dexon-builds")`)
+ store = flag.String("store", "", `Destination from where to purge archives (usually "dexon-prod-builds")`)
limit = flag.Int("days", 30, `Age threshold above which to delete unstable archives`)
)
flag.CommandLine.Parse(cmdline)
diff --git a/build/fullnode-test.sh b/build/fullnode-test.sh
index 982e877a5..4ddae8993 100755
--- a/build/fullnode-test.sh
+++ b/build/fullnode-test.sh
@@ -7,7 +7,7 @@ tarAndUpload()
name=travis-fail-$(date +%s).tar.gz
tar -zcvf $name test
echo "Verify fail and upload $name"
- PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig go run build/testtool/testtool.go upload $name dexon-builds
+ PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig go run build/testtool/testtool.go upload $name dexon-prod-builds
}
endpoint=http://127.0.0.1:8545
diff --git a/build/recovery-test.sh b/build/recovery-test.sh
index f7106597e..97311aaa0 100755
--- a/build/recovery-test.sh
+++ b/build/recovery-test.sh
@@ -5,7 +5,7 @@ tarAndUpload()
name=travis-fail-$(date +%s).tar.gz
tar -zcvf $name test
echo "Verify fail and upload $name"
- PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig go run build/testtool/testtool.go upload $name dexon-builds
+ PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig go run build/testtool/testtool.go upload $name dexon-prod-builds
}
endpoint=http://127.0.0.1:8545