oasis-open / openc2-oif-device

OASIS TC Open Repository: Supports development OpenC2 Integration Framework (OIF) Device
https://github.com/oasis-open/openc2-oif-device
Apache License 2.0
5 stars 5 forks source link

configure.py fails #18

Closed mvle closed 2 years ago

mvle commented 2 years ago

python3 configure.py fails to run (on both the OASIS repo and ScreamBun:develop repo):

Need to update device-compose.yaml:

diff --git a/device-compose.yaml b/device-compose.yaml
index 422878b..5034c44 100644
--- a/device-compose.yaml
+++ b/device-compose.yaml
@@ -65,7 +65,7 @@ services:
     hostname: actuator-base
     image:  oif/device-actuator-base
     build:
-      context: ./device/actuator/base
+      context: ./device/actuator/Base
     env_file:
       - ./environment/queue.connect.env
       - ./environment/etcd.connect.env
@@ -81,7 +81,7 @@ services:
     hostname: actuator-slpf
     image:  oif/device-actuator-slpf
     build:
-      context: ./device/actuator/slpf
+      context: ./device/actuator/SLPF
     env_file:
       - ./environment/queue.connect.env
       - ./environment/etcd.connect.env
mvle commented 2 years ago

Also, same problem as on orchestrator repo when building the logger_gui image:

docker.errors.BuildError: The command '/bin/sh -c apk add --no-cache git yarn && cd /tmp/gui && yarn cache clean && yarn --network-timeout 100000 || yarn --network-timeout 100000 && yarn build && mkdir -p /opt/syslog/gui && cp -r build/* /opt/syslog/gui' returned a non-zero code: 1

ScreamBun commented 2 years ago

There is a new push on the development branch. Building and docker-compose ... up all appear to be functional.

mvle commented 2 years ago

the problem in device-compose.yaml is still there...needs capitalization of the path names.

mvle commented 2 years ago

The dev version fixed this