Commit 284e7b90 authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

chore: enable local SDK mounting for integration testing

parent bc668fca
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -73,7 +73,8 @@ services:
    volumes:
      - ../../conf/config-fm-remote.cfg:/usr/app/src/conf/config.cfg
      - ../../clients/tf_sdk.py:/usr/app/src/clients/tf_sdk.py
      - /home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/1-kind-cluster/operator-platform-external-kubeconfig.yaml:/root/.kube/config
      - /home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/op1/op1-kubeconfig.yaml:/root/.kube/config
      - ../../../../tf-sdk/src/sunrise6g_opensdk:/usr/local/lib/python3.12/site-packages/sunrise6g_opensdk

    depends_on:
      - mongodb-remote
@@ -97,7 +98,8 @@ services:
    volumes:
      - ../../conf/config-fm-local.cfg:/usr/app/src/conf/config.cfg
      - ../../clients/tf_sdk.py:/usr/app/src/clients/tf_sdk.py
      - /home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/1-kind-cluster/operator-platform-external-kubeconfig.yaml:/root/.kube/config
      - /home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/op1/op1-kubeconfig.yaml:/root/.kube/config
      - ../../../../tf-sdk/src/sunrise6g_opensdk:/usr/local/lib/python3.12/site-packages/sunrise6g_opensdk
    depends_on:
      - mongodb-local
      - keycloak-local
@@ -116,7 +118,7 @@ services:
      - KUBECONFIG=/root/.kube/config
      - LOG_LEVEL=INFO
    volumes:
      - /home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/1-kind-cluster/operator-platform-external-kubeconfig.yaml:/root/.kube/config:ro
      - /home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/op1/op1-kubeconfig.yaml:/root/.kube/config
    networks:
      - local-net

@@ -132,7 +134,7 @@ services:
      - KUBECONFIG=/root/.kube/config
      - LOG_LEVEL=INFO
    volumes:
      - /home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/1-kind-cluster/operator-platform-external-kubeconfig.yaml:/root/.kube/config:ro
      - /home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/op1/op1-kubeconfig.yaml:/root/.kube/config
    networks:
      - remote-net