Skip to content

Commit

Permalink
chore: re-enable cluster latest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Feb 21, 2025
1 parent 14f0796 commit 60a0d1f
Show file tree
Hide file tree
Showing 6 changed files with 113 additions and 55 deletions.
17 changes: 17 additions & 0 deletions apps/explorer-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,26 @@
"projectType": "application",
"implicitDependencies": ["explorer"],
"targets": {
"build-cluster": {
"executor": "nx:run-commands",
"options": {
"commands": [
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/hostd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/renterd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/walletd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/explored@master",
"cd internal/cluster && go mod tidy",
"cd internal/cluster && go build -o bin/clusterd ./cmd/clusterd || echo 'BUILD FAILED'",
"git checkout internal/cluster/go.mod internal/cluster/go.sum",
"test ! -f internal/cluster/bin/clusterd && exit 1 || exit 0"
],
"parallel": false
}
},
"e2e": {
"executor": "@nx/playwright:playwright",
"outputs": ["{workspaceRoot}/dist/.playwright/apps/explorer-e2e"],
"dependsOn": ["build-cluster"],
"options": {
"config": "apps/explorer-e2e/playwright.config.ts"
}
Expand Down
10 changes: 5 additions & 5 deletions apps/hostd-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"executor": "nx:run-commands",
"options": {
"commands": [
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/hostd@master",
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/renterd@master",
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/walletd@master",
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/explored@master",
// "cd internal/cluster && go mod tidy",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/hostd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/renterd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/walletd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/explored@master",
"cd internal/cluster && go mod tidy",
"cd internal/cluster && go build -o bin/clusterd ./cmd/clusterd || echo 'BUILD FAILED'",
"git checkout internal/cluster/go.mod internal/cluster/go.sum",
"test ! -f internal/cluster/bin/clusterd && exit 1 || exit 0"
Expand Down
10 changes: 5 additions & 5 deletions apps/renterd-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"executor": "nx:run-commands",
"options": {
"commands": [
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/hostd@master",
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/renterd@master",
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/walletd@master",
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/explored@master",
// "cd internal/cluster && go mod tidy",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/hostd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/renterd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/walletd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/explored@master",
"cd internal/cluster && go mod tidy",
"cd internal/cluster && go build -o bin/clusterd ./cmd/clusterd || echo 'BUILD FAILED'",
"git checkout internal/cluster/go.mod internal/cluster/go.sum",
"test ! -f internal/cluster/bin/clusterd && exit 1 || exit 0"
Expand Down
10 changes: 5 additions & 5 deletions apps/walletd-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"executor": "nx:run-commands",
"options": {
"commands": [
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/hostd@master",
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/renterd@master",
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/walletd@master",
// "cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/explored@master",
// "cd internal/cluster && go mod tidy",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/hostd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/renterd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/walletd@master",
"cd internal/cluster && GOPRIVATE=go.sia.tech go get -u go.sia.tech/explored@master",
"cd internal/cluster && go mod tidy",
"cd internal/cluster && go build -o bin/clusterd ./cmd/clusterd || echo 'BUILD FAILED'",
"git checkout internal/cluster/go.mod internal/cluster/go.sum",
"test ! -f internal/cluster/bin/clusterd && exit 1 || exit 0"
Expand Down
35 changes: 23 additions & 12 deletions internal/cluster/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,55 @@ go 1.23.1
toolchain go1.23.2

require (
go.sia.tech/cluster v0.1.3-0.20250211163255-af8999bbc71c
go.sia.tech/core v0.9.1
go.sia.tech/coreutils v0.10.2-0.20250124134251-3a96ba4fb39c
go.sia.tech/cluster v0.1.3-0.20250220162007-1df1985e5941
go.sia.tech/core v0.10.2-0.20250220080632-dcacdc2ff551
go.sia.tech/coreutils v0.11.2-0.20250220040304-419a43c302a2
go.uber.org/zap v1.27.0
)

require (
github.com/aws/aws-sdk-go v1.55.6 // indirect
github.com/cloudflare/cloudflare-go v0.115.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/goccy/go-json v0.10.5 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/pprof v0.0.0-20230821062121-407c9e7a662f // indirect
github.com/gotd/contrib v0.21.0 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/ip2location/ip2location-go v8.3.0+incompatible // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/julienschmidt/httprouter v1.3.0 // indirect
github.com/klauspost/cpuid/v2 v2.2.9 // indirect
github.com/klauspost/reedsolomon v1.12.4 // indirect
github.com/mattn/go-sqlite3 v1.14.24 // indirect
github.com/montanaflynn/stats v0.7.1 // indirect
github.com/onsi/ginkgo/v2 v2.12.0 // indirect
github.com/oschwald/geoip2-golang v1.11.0 // indirect
github.com/oschwald/maxminddb-golang v1.13.0 // indirect
github.com/quic-go/qpack v0.5.1 // indirect
github.com/quic-go/quic-go v0.49.0 // indirect
github.com/quic-go/webtransport-go v0.8.1-0.20241018022711-4ac2c9250e66 // indirect
github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46 // indirect
github.com/shabbyrobe/gocovmerge v0.0.0-20230507112040-c3350d9342df // indirect
github.com/shopspring/decimal v1.4.0 // indirect
go.etcd.io/bbolt v1.3.11 // indirect
go.sia.tech/explored v0.0.0-20250211093019-eb514ab3b3db // indirect
go.etcd.io/bbolt v1.4.0 // indirect
go.sia.tech/explored v0.0.0-20250218233741-b118cd402c20 // indirect
go.sia.tech/gofakes3 v0.0.5 // indirect
go.sia.tech/hostd v1.1.3-0.20250211003741-b6576ee4655a // indirect
go.sia.tech/hostd v1.1.3-0.20250217211034-200b1cd9d633 // indirect
go.sia.tech/jape v0.12.1 // indirect
go.sia.tech/mux v1.3.0 // indirect
go.sia.tech/renterd v1.1.2-0.20250210124725-61f44701aad6 // indirect
go.sia.tech/walletd v0.9.0-beta.1.0.20250204224830-6ba9fc57c91f // indirect
go.sia.tech/renterd v1.1.2-0.20250219074103-dcdc7d00ca36 // indirect
go.sia.tech/walletd v0.9.0-beta.1.0.20250217183006-fd7ad2d9e9c0 // indirect
go.uber.org/mock v0.5.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.32.0 // indirect
golang.org/x/crypto v0.33.0 // indirect
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sync v0.11.0 // indirect
golang.org/x/sys v0.30.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/time v0.9.0 // indirect
golang.org/x/text v0.22.0 // indirect
golang.org/x/time v0.10.0 // indirect
golang.org/x/tools v0.28.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
lukechampine.com/frand v1.5.1 // indirect
Expand Down
Loading

0 comments on commit 60a0d1f

Please sign in to comment.