Skip to content

Commit 01e98f6

Browse files
committed
Minor fix
1 parent 4d5bbe3 commit 01e98f6

4 files changed

Lines changed: 9 additions & 15 deletions

File tree

Makefile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ serverledge-cli:
1414
executor:
1515
CGO_ENABLED=0 $(GO) build -o $(BIN)/$@ cmd/$@/executor.go
1616

17-
proto:
18-
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative internal/scheduling/protobuf/solver.proto
19-
2017
DOCKERHUB_USER=grussorusso
2118
images: image-python310 image-nodejs17ng image-base
2219
image-python310:
@@ -26,15 +23,6 @@ image-base:
2623
image-nodejs17ng:
2724
docker build -t $(DOCKERHUB_USER)/serverledge-nodejs17ng -f images/nodejs17ng/Dockerfile .
2825

29-
images-multi-arch: image-python310-multi-arch image-nodejs17ng-multi-arch image-base-multi-arch
30-
PLATFORMS=linux/amd64,linux/arm64,linux/arm/v7
31-
image-python310-multi-arch:
32-
docker buildx build --platform $(PLATFORMS) -t $(DOCKERHUB_USER)/serverledge-python310 -f images/python310/Dockerfile --push .
33-
image-base-multi-arch:
34-
docker buildx build --platform $(PLATFORMS) -t $(DOCKERHUB_USER)/serverledge-base -f images/base-alpine/Dockerfile --push .
35-
image-nodejs17ng-multi-arch:
36-
docker buildx build --platform $(PLATFORMS) -t $(DOCKERHUB_USER)/serverledge-nodejs17ng -f images/nodejs17ng/Dockerfile --push .
37-
3826
push-images:
3927
docker push $(DOCKERHUB_USER)/serverledge-python310
4028
docker push $(DOCKERHUB_USER)/serverledge-base

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ require (
1515
github.com/lithammer/shortuuid v3.0.0+incompatible
1616
github.com/mikoim/go-loadavg v0.0.0-20150917074714-35ece5f6d547
1717
github.com/prometheus/client_golang v1.14.0
18+
github.com/spf13/cobra v1.9.1
1819
github.com/spf13/viper v1.4.0
1920
go.etcd.io/etcd/client/v3 v3.5.1
2021
go.opentelemetry.io/otel v1.28.0
@@ -62,7 +63,6 @@ require (
6263
github.com/rogpeppe/go-internal v1.8.1 // indirect
6364
github.com/spf13/afero v1.2.2 // indirect
6465
github.com/spf13/cast v1.3.0 // indirect
65-
github.com/spf13/cobra v1.9.1 // indirect
6666
github.com/spf13/jwalterweatherman v1.0.0 // indirect
6767
github.com/spf13/pflag v1.0.6 // indirect
6868
github.com/valyala/bytebufferpool v1.0.0 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,6 @@ github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wx
326326
github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk=
327327
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
328328
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
329-
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
330-
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
331329
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
332330
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
333331
github.com/spf13/viper v1.4.0 h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU=

scripts/start-etcd.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
docker run -d --rm --name Etcd-server \
3+
--publish 2379:2379 \
4+
--publish 2380:2380 \
5+
--cpus="1" \
6+
--env ALLOW_NONE_AUTHENTICATION=yes \
7+
--env ETCD_ADVERTISE_CLIENT_URLS=http://localhost:2379 \
8+
bitnami/etcd:3.5.14-debian-12-r1

0 commit comments

Comments
 (0)