Skip to content

Commit fd701a3

Browse files
committed
Update Stellio
1 parent 908d30c commit fd701a3

4 files changed

Lines changed: 22 additions & 5 deletions

File tree

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SCORPIO_PORT=9090
1010
SCORPIO_VERSION=2.1.21
1111

1212
# Stellio variables
13-
STELLIO_DOCKER_TAG=v1.12.0
13+
STELLIO_DOCKER_TAG=2.0.0
1414
STELLIO_PORT=8080
1515

1616
# MongoDB variables

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ jobs:
2626
submodules: recursive
2727
- name: Build Images
2828
run: |
29-
./services create || true
30-
- name: Run Script
29+
./services create test || true
30+
- name: Run Orion
3131
run: |
32-
./services start test && ./services stop test
32+
./services orion test && ./services stop test
33+
- name: Run Stellio
34+
run: |
35+
./services stellio test && ./services stop test
36+
- name: Run Scorpio
37+
run: |
38+
./services scorpio test && ./services stop test

docker-compose/stellio.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ services:
7979
- SPRING_R2DBC_PASSWORD=stellio_subscription_db_password
8080
- APPLICATION_AUTHENTICATION_ENABLED=false
8181
ports:
82-
- 8084:8084
82+
- 8085:8084
8383
depends_on:
8484
postgres:
8585
condition: service_healthy
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
# Docker workaround: Remove check for KAFKA_ZOOKEEPER_CONNECT parameter
4+
sed -i '/KAFKA_ZOOKEEPER_CONNECT/d' /etc/confluent/docker/configure
5+
6+
# Docker workaround: Ignore cub zk-ready
7+
sed -i 's/cub zk-ready/echo ignore zk-ready/' /etc/confluent/docker/ensure
8+
9+
# KRaft required step: Format the storage directory with a new cluster ID
10+
echo "kafka-storage format --ignore-formatted -t $(kafka-storage random-uuid) -c /etc/kafka/kafka.properties" >> /etc/confluent/docker/ensure
11+

0 commit comments

Comments
 (0)