Skip to content

Commit

Permalink
sabakan v3 and reguler update
Browse files Browse the repository at this point in the history
Signed-off-by: YZ775 <yuzuki-mimura@cybozu.co.jp>
  • Loading branch information
YZ775 committed Nov 10, 2023
1 parent 7b589f9 commit e9b36b6
Show file tree
Hide file tree
Showing 110 changed files with 3,760 additions and 1,278 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}

Expand All @@ -34,10 +34,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}

Expand All @@ -55,10 +55,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}

Expand All @@ -79,10 +79,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}
- name: Build image
Expand All @@ -93,10 +93,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.go-version }}

Expand Down
2 changes: 1 addition & 1 deletion client/aliases.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package client

import "github.com/cybozu-go/sabakan/v2"
import "github.com/cybozu-go/sabakan/v3"

// ImageIndex is a list of *Image.
type ImageIndex = sabakan.ImageIndex
Expand Down
2 changes: 1 addition & 1 deletion client/assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"path"

"github.com/cybozu-go/sabakan/v2"
"github.com/cybozu-go/sabakan/v3"
)

// AssetsIndex retrieves index of assets
Expand Down
2 changes: 1 addition & 1 deletion client/dhcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package client
import (
"context"

"github.com/cybozu-go/sabakan/v2"
"github.com/cybozu-go/sabakan/v3"
)

// DHCPConfigGet retrieves DHCP configurations
Expand Down
2 changes: 1 addition & 1 deletion client/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"io"
"path"

"github.com/cybozu-go/sabakan/v2"
"github.com/cybozu-go/sabakan/v3"
)

// ImagesIndex get index of images.
Expand Down
2 changes: 1 addition & 1 deletion client/ipam.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package client
import (
"context"

"github.com/cybozu-go/sabakan/v2"
"github.com/cybozu-go/sabakan/v3"
)

// IPAMConfigGet retrieves IPAM configurations
Expand Down
2 changes: 1 addition & 1 deletion client/kernel_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"path"
"strings"

"github.com/cybozu-go/sabakan/v2"
"github.com/cybozu-go/sabakan/v3"
)

// KernelParamsGet retrieves kernel parameters
Expand Down
2 changes: 1 addition & 1 deletion client/machines.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"github.com/cybozu-go/sabakan/v2"
"github.com/cybozu-go/sabakan/v3"
)

// MachinesGet get machine information from sabakan server
Expand Down
2 changes: 1 addition & 1 deletion dhcpd/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"path"

"github.com/cybozu-go/log"
"github.com/cybozu-go/sabakan/v2"
"github.com/cybozu-go/sabakan/v3"
"go.universe.tf/netboot/dhcp4"
)

Expand Down
4 changes: 2 additions & 2 deletions dhcpd/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"net/url"
"testing"

"github.com/cybozu-go/sabakan/v2"
"github.com/cybozu-go/sabakan/v2/models/mock"
"github.com/cybozu-go/sabakan/v3"
"github.com/cybozu-go/sabakan/v3/models/mock"
"go.universe.tf/netboot/dhcp4"
)

Expand Down
2 changes: 1 addition & 1 deletion e2e/sabactl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

"github.com/cybozu-go/sabakan/v2"
"github.com/cybozu-go/sabakan/v3"
"github.com/google/go-cmp/cmp"
)

Expand Down
94 changes: 47 additions & 47 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
module github.com/cybozu-go/sabakan/v2
module github.com/cybozu-go/sabakan/v3

go 1.20
go 1.21

require (
github.com/99designs/gqlgen v0.17.24
github.com/cybozu-go/etcdutil v1.6.4
github.com/99designs/gqlgen v0.17.40
github.com/cybozu-go/etcdutil v1.6.5
github.com/cybozu-go/log v1.7.0
github.com/cybozu-go/netutil v1.4.4
github.com/cybozu-go/netutil v1.4.5
github.com/cybozu-go/well v1.11.2
github.com/flatcar/ignition v0.36.2
github.com/google/go-cmp v0.5.9
github.com/google/go-tpm v0.3.3
github.com/google/go-cmp v0.6.0
github.com/google/go-tpm v0.9.0
github.com/hashicorp/go-version v1.6.0
github.com/onsi/ginkgo/v2 v2.8.3
github.com/onsi/gomega v1.27.1
github.com/prometheus/client_golang v1.14.0
github.com/prometheus/client_model v0.3.0
github.com/prometheus/common v0.40.0
github.com/spf13/cobra v1.6.1
github.com/vektah/gqlparser/v2 v2.5.1
github.com/onsi/ginkgo/v2 v2.13.0
github.com/onsi/gomega v1.30.0
github.com/prometheus/client_golang v1.17.0
github.com/prometheus/client_model v0.5.0
github.com/prometheus/common v0.45.0
github.com/spf13/cobra v1.8.0
github.com/vektah/gqlparser/v2 v2.5.10
github.com/vincent-petithory/dataurl v1.0.0
go.etcd.io/etcd/api/v3 v3.5.7
go.etcd.io/etcd/client/v3 v3.5.7
go.universe.tf/netboot v0.0.0-20210617221821-fc2840fa7b05
golang.org/x/crypto v0.6.0
sigs.k8s.io/yaml v1.3.0
go.etcd.io/etcd/api/v3 v3.5.10
go.etcd.io/etcd/client/v3 v3.5.10
go.universe.tf/netboot v0.0.0-20230916172012-64f6de6d0e3b
golang.org/x/crypto v0.15.0
sigs.k8s.io/yaml v1.4.0
)

require (
github.com/agnivade/levenshtein v1.1.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/go-semver v0.3.1 // indirect
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e // indirect
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.3 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
github.com/spf13/afero v1.9.3 // indirect
github.com/pelletier/go-toml/v2 v2.0.9 // indirect
github.com/prometheus/procfs v0.11.1 // indirect
github.com/sosodev/duration v1.1.0 // indirect
github.com/spf13/afero v1.9.4 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.15.0 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/vishvananda/netlink v1.2.1-beta.2 // indirect
github.com/vishvananda/netns v0.0.3 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.7 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.22.0 // indirect
golang.org/x/net v0.7.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
golang.org/x/tools v0.6.0 // indirect
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
google.golang.org/grpc v1.53.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
github.com/vishvananda/netns v0.0.4 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.10 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.14.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.12.0 // indirect
google.golang.org/genproto v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/grpc v1.58.3 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit e9b36b6

Please sign in to comment.