Skip to content

Commit 5330f0e

Browse files
committed
Fix conflicts
2 parents efa176b + 169c282 commit 5330f0e

28 files changed

+20167
-138
lines changed

.env.example

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ export WEBSOCKET_BROADCASTER_URL="redis://localhost:6379"
66

77
export OPENAI_API_KEY=None
88
export AGENT_ENABLED=False
9-
export SEARCH_ENABLED=False
9+
export SEARCH_ENABLED=False
10+
# export COMPOSE_PROFILES=lso # unhash the start of this line to also start up lso container

README.md

Lines changed: 109 additions & 53 deletions
Large diffs are not rendered by default.

ansible/plays_and_roles/create_node.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
- name: Deploy config on a nokia node
22
hosts: all
3+
gather_facts: no
34
vars:
45
ansible_network_os: nokia.srlinux.srlinux
56
ansible_connection: ansible.netcommon.httpapi

clab/srlinux01.clab.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ topology:
77
kinds:
88
srl:
99
type: ixrd2
10-
image: ghcr.io/nokia/srlinux
10+
image: ghcr.io/nokia/srlinux:25.7.1
1111
# cvx:
1212
# type: cumulus_cvx
1313
# image: networkop/cx:4.3.0

docker-compose.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ x-netbox: &netbox
2626
services:
2727
postgres:
2828
container_name: postgres
29-
image: "pgvector/pgvector:pg14"
29+
image: "pgvector/pgvector:pg17"
3030
ports:
3131
- "5432:5432"
3232
environment:
@@ -35,7 +35,7 @@ services:
3535
POSTGRES_DB: orchestrator-core
3636
volumes:
3737
- db-data:/var/lib/postgresql/data/
38-
- ./docker/postgresql/init.sql:/docker-entrypoint-initdb.d/init.sql
38+
- ./docker/postgresql:/docker-entrypoint-initdb.d
3939
healthcheck:
4040
test:
4141
[
@@ -53,7 +53,7 @@ services:
5353

5454
redis:
5555
container_name: redis
56-
image: docker.io/redis:7.4.2-alpine
56+
image: docker.io/redis:8-alpine
5757
command:
5858
- sh
5959
- -c # this is to evaluate the $REDIS_PASSWORD from the env
@@ -90,7 +90,7 @@ services:
9090

9191
federation:
9292
container_name: federation
93-
image: ghcr.io/apollographql/router:v1.47.0
93+
image: ghcr.io/apollographql/router:v2.6.2
9494
ports:
9595
- "4000:4000"
9696
depends_on:
@@ -144,7 +144,7 @@ services:
144144

145145
orchestrator-ui:
146146
container_name: orchestrator-ui
147-
image: "ghcr.io/workfloworchestrator/example-orchestrator-ui:3.4.0" # TODO make it possible to override the tag
147+
image: ${ORCH_UI_TAG:-ghcr.io/workfloworchestrator/example-orchestrator-ui:5.3.4}
148148
env_file:
149149
- ./docker/orchestrator-ui/orchestrator-ui.env
150150
- path: ./docker/overrides/orchestrator-ui/orchestrator-ui.env
@@ -157,7 +157,7 @@ services:
157157

158158
orchestrator:
159159
container_name: orchestrator
160-
image: "ghcr.io/workfloworchestrator/orchestrator-core:latest" # TODO make it possible to override the tag
160+
image: ${ORCH_BACKEND_TAG:-ghcr.io/workfloworchestrator/orchestrator-core:latest}
161161
env_file:
162162
- ./docker/orchestrator/orchestrator.env
163163
- path: ./docker/overrides/orchestrator/orchestrator.env
@@ -202,7 +202,7 @@ services:
202202

203203
lso:
204204
container_name: orchestrator-lso
205-
image: orchestrator-lso
205+
#image: orchestrator-lso
206206
profiles:
207207
- lso
208208
build:
@@ -215,8 +215,9 @@ services:
215215
ports:
216216
- "8001:8000"
217217
volumes:
218-
- ./ansible/plays_and_roles:/app/wfo/ansible
218+
- ./ansible/plays_and_roles:/app/demo/ansible/playbooks
219219
- ./ansible/inventory:/opt/ansible_inventory
220+
- ./docker/lso/config.json:/app/config.json
220221

221222
nginx:
222223
container_name: nginx

docker/federation/rover.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt update && apt install curl -y
55
RUN useradd --create-home --shell /bin/bash rover-user
66

77
USER rover-user
8-
RUN curl -sSL https://rover.apollo.dev/nix/v0.23.0 | sh
8+
RUN curl -sSL https://rover.apollo.dev/nix/v0.35.0 | sh
99

1010
USER root
1111
RUN apt remove curl -y

docker/federation/supergraph-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
federation_version: =2.7.1
1+
federation_version: =2.9.3
22
subgraphs:
33
orchestrator:
44
routing_url: http://orchestrator:8080/api/graphql

docker/lso/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ WORKDIR /app
44

55
RUN apk add --update --no-cache gcc libc-dev libffi-dev
66

7-
RUN pip install orchestrator-lso=="2.0.1"
7+
RUN pip install orchestrator-lso=="2.2.0"
88

9-
RUN pip install pynetbox
9+
RUN pip install pynetbox ansible
1010

11-
RUN ansible-galaxy collection install nokia.srlinux -p /app/demo/ansible
11+
RUN mkdir -p $ANSIBLE_COLLECTIONS_PATH
12+
13+
RUN ansible-galaxy collection install nokia.srlinux
1214

1315
EXPOSE 8000
1416
ENTRYPOINT []

docker/lso/config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"ansible_playbooks_root_dir": "/app/ansible"
3+
}

docker/lso/lso.env

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Environment configuration for LSO application
22

33
# Ansible configuration
4-
ANSIBLE_PLAYBOOKS_ROOT_DIR="/app/demo/ansible/ansible_collections"
5-
ANSIBLE_ROLES_PATH="/app/demo/ansible"
4+
ANSIBLE_PLAYBOOKS_ROOT_DIR="/app/demo/ansible/playbooks"
5+
ANSIBLE_COLLECTIONS_PATH="/app/demo/ansible/ansible_collections"
66
ANSIBLE_HOST_KEY_CHECKING: "False"
77

88
# Executor configuration
@@ -13,4 +13,3 @@ MAX_THREAD_POOL_WORKERS=10
1313
REQUEST_TIMEOUT_SEC=10
1414

1515
TESTING=False
16-

0 commit comments

Comments
 (0)