-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #203 from gabrik/5gdive-orchestrator
Initial implementation of FOrcE
- Loading branch information
Showing
19 changed files
with
4,893 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM alpine:3.12 | ||
|
||
LABEL maintainer="Gabriele Baldoni <gabriele.baldoni@adlinktech.com>" | ||
|
||
RUN apk add --no-cache \ | ||
libc6-compat curl | ||
|
||
|
||
RUN curl https://github.com/eclipse-fog05/fog05/releases/download/v0.2.1/libzenohc-amd64.so -L -o /usr/local/lib/libzenohc.so | ||
COPY force /root/force | ||
|
||
EXPOSE 9191 | ||
|
||
ENTRYPOINT ["/root/force"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.PHONY: all clean image push-image | ||
|
||
|
||
REGISTRY?=fog05/force | ||
TAG?=$(shell git describe --tags --dirty) | ||
ARCH?=amd64 | ||
|
||
all: | ||
go build -o force src/app.go src/force.go src/main.go | ||
|
||
clean: | ||
rm -rf force | ||
|
||
|
||
image: | ||
docker build -f Dockerfile.$(ARCH) -t $(REGISTRY):$(TAG)-$(ARCH) . | ||
|
||
push-image: | ||
docker push $(REGISTRY):$(TAG)-$(ARCH) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
version: '3' | ||
volumes: | ||
fog05-force: | ||
fog05-zenoh: | ||
|
||
networks: | ||
netFORCE: | ||
external: | ||
name: fog05-forcenet | ||
|
||
services: | ||
fog05-zenoh: | ||
image: fog05/zenoh | ||
networks: | ||
- netFORCE | ||
fog05-force: | ||
image: fog05/force | ||
deploy: | ||
restart_policy: | ||
condition: on-failure | ||
networks: | ||
- netFORCE | ||
environment: | ||
ZENOH: fog05-zenoh | ||
ports: | ||
- "9191:9191" | ||
depends_on: | ||
- fog05-zenoh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"address":"0.0.0.0", | ||
"port":"9191", | ||
"zenoh":"tcp/192.168.86.206:7447" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module src | ||
|
||
go 1.13 | ||
|
||
require ( | ||
github.com/eclipse-fog05/api-go v0.2.2 | ||
github.com/eclipse-fog05/sdk-go v0.2.2 | ||
github.com/go-errors/errors v1.1.1 // indirect | ||
github.com/googleapis/gnostic v0.5.1 // indirect | ||
github.com/gorilla/mux v1.8.0 // indirect | ||
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect | ||
github.com/imdario/mergo v0.3.11 // indirect | ||
github.com/juliangruber/go-intersect v1.0.0 // indirect | ||
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect | ||
golang.org/x/net v0.0.0-20200904194848-62affa334b73 // indirect | ||
golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43 // indirect | ||
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect | ||
k8s.io/client-go v0.19.0 | ||
k8s.io/utils v0.0.0-20200821003339-5e75c0163111 // indirect | ||
) |
Oops, something went wrong.