From c8f482bbd870afff38397dac52cd8d396ca65fdb Mon Sep 17 00:00:00 2001 From: bojie Date: Wed, 17 Apr 2019 13:49:37 +0800 Subject: ci: fix wrong bucket name (#371) --- build/ci.go | 8 ++++---- build/fullnode-test.sh | 2 +- build/recovery-test.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'build') 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 -- cgit v1.2.3