ci: install gateway@latest instead of @main
Gateway-ST frequent release cycle has been resurrected, which means it's safer to use the latest release tag in the storj repository's CI now. Change-Id: I9df1c789a9b9418ba7cceaec9cfec3cc6c448284
This commit is contained in:
parent
431f55d53b
commit
785eb93cd7
@ -73,7 +73,7 @@ pipeline {
|
||||
stage('go -race gateway') {
|
||||
steps {
|
||||
// install gateway for storj-sim
|
||||
sh 'go install -race -v storj.io/gateway@main'
|
||||
sh 'go install -race -v storj.io/gateway@latest'
|
||||
}
|
||||
}
|
||||
|
||||
|
5
Makefile
5
Makefile
@ -93,9 +93,8 @@ install-sim: ## install storj-sim
|
||||
storj.io/storj/cmd/certificates \
|
||||
storj.io/storj/cmd/multinode
|
||||
|
||||
## install exact version of storj/gateway
|
||||
## TODO(artur): replace 'main' with 'latest' after the gateway is being released again
|
||||
go install -race -v storj.io/gateway@main
|
||||
## install the latest stable version of Gateway-ST
|
||||
go install -race -v storj.io/gateway@latest
|
||||
|
||||
##@ Test
|
||||
|
||||
|
@ -114,8 +114,7 @@ install_sim(){
|
||||
go build -race -v -o ${bin_dir}/gateway storj.io/storj/cmd/gateway >/dev/null 2>&1
|
||||
popd
|
||||
else
|
||||
# TODO(artur): replace 'main' with 'latest' after the gateway is being released again
|
||||
GOBIN=${bin_dir} go install -race storj.io/gateway@main
|
||||
GOBIN=${bin_dir} go install -race storj.io/gateway@latest
|
||||
fi
|
||||
|
||||
if [ -d "${work_dir}/cmd/multinode" ]; then
|
||||
|
@ -94,8 +94,7 @@ install_sim(){
|
||||
if [ -d "${work_dir}/cmd/gateway" ]; then
|
||||
(cd ${work_dir}/cmd/gateway && go build -race -v -o ${bin_dir}/gateway storj.io/storj/cmd/gateway >/dev/null 2>&1)
|
||||
else
|
||||
# TODO(artur): replace 'main' with 'latest' after the gateway is being released again
|
||||
GOBIN=${bin_dir} go install -race storj.io/gateway@main
|
||||
GOBIN=${bin_dir} go install -race storj.io/gateway@latest
|
||||
fi
|
||||
if [ -d "${work_dir}/cmd/multinode" ]; then
|
||||
# as storj-sim is most likely installed from $PWD and contains storj-sim version which requires multinode
|
||||
|
Loading…
Reference in New Issue
Block a user