Skip to content

Commit 1e3aa21

Browse files
authored
Merge pull request #18 from threefoldtech/test-update-worker
fix zos update worker
2 parents 8a2f156 + 6ae7a27 commit 1e3aa21

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

tools/zos-update-worker/go.mod

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/threefoldtech/zos4/tools/zos-update-version
22

3-
go 1.24
3+
go 1.23
4+
5+
toolchain go1.23.0
46

57
require (
68
github.com/pkg/errors v0.9.1
@@ -18,7 +20,7 @@ require (
1820
github.com/gtank/ristretto255 v0.1.2 // indirect
1921
github.com/mimoo/StrobeGo v0.0.0-20220103164710-9a04d6ca976b // indirect
2022
github.com/vedhavyas/go-subkey/v2 v2.0.0 // indirect
21-
golang.org/x/crypto v0.35.0 // indirect
23+
golang.org/x/crypto v0.33.0 // indirect
2224
)
2325

2426
require (
@@ -27,7 +29,7 @@ require (
2729
github.com/mattn/go-colorable v0.1.14 // indirect
2830
github.com/mattn/go-isatty v0.0.20 // indirect
2931
github.com/spf13/pflag v1.0.6 // indirect
30-
golang.org/x/sys v0.31.0 // indirect
32+
golang.org/x/sys v0.30.0 // indirect
3133
)
3234

3335
replace github.com/centrifuge/go-substrate-rpc-client/v4 v4.0.5 => github.com/threefoldtech/go-substrate-rpc-client/v4 v4.0.6-0.20220927094755-0f0d22c73cc7

tools/zos-update-worker/go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ github.com/vedhavyas/go-subkey/v2 v2.0.0/go.mod h1:95aZ+XDCWAUUynjlmi7BtPExjXgXx
6262
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
6363
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
6464
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
65-
golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
66-
golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
65+
golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus=
66+
golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M=
6767
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
6868
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
6969
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
7070
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7171
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7272
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
73-
golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
74-
golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
73+
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
74+
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
7575
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
7676
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
7777
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

tools/zos-update-worker/internal/worker_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ func TestWorker(t *testing.T) {
1111

1212
params := Params{
1313
Interval: 1 * time.Second,
14-
QAUrl: "https://registrar.qa4.grid.tf",
15-
TestUrl: "https://registrar.test4.grid.tf",
16-
MainUrl: "https://registrar.prod4.grid.tf",
14+
QAUrl: "https://registrar.qa4.grid.tf/api/v1",
15+
TestUrl: "https://registrar.test4.grid.tf/api/v1",
16+
MainUrl: "https://registrar.prod4.grid.tf/api/v1",
1717
}
1818
src := testDir + "/tf-autobuilder"
1919
dst := testDir + "/tf-zos"

0 commit comments

Comments
 (0)