Skip to content

Commit 22ee476

Browse files
author
Simon Dumas
committed
Run docker compose with different env file on github actions
1 parent 1e42f2e commit 22ee476

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/ci-integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
clean \
3434
app/Docker/publishLocal
3535
- name: Start services
36-
run: docker compose -f tests/docker/docker-compose.yml up -d
36+
run: docker compose --env-file tests/docker/.env.github -f tests/docker/docker-compose.yml up -d
3737
- name: Waiting for Delta to start
3838
run: |
3939
URL="http://localhost:8080/v1/version"

tests/docker/.env.github

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
CLUSTER_SIZE=1
2+
DELTA_PLUGINS=/opt/docker/plugins/
3+
DELTA_EXTERNAL_CONF=/config/delta-postgres.conf
4+
KAMON_ENABLED=false
5+
_JAVA_OPTIONS=

tests/docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ services:
113113
xpack.security.enabled: "true"
114114
ingest.geoip.downloader.enabled: "false"
115115
ELASTIC_PASSWORD: "password"
116-
_JAVA_OPTIONS: "-XX:UseSVE=0"
116+
_JAVA_OPTIONS: ${_JAVA_OPTIONS}
117117
healthcheck:
118118
test: [ "CMD", "curl", "-f", "http://elastic:password@localhost:9200/" ]
119119
interval: 1s
@@ -130,7 +130,7 @@ services:
130130
image: bluebrain/blazegraph-nexus:2.1.6-RC-21-jre
131131
environment:
132132
JAVA_OPTS: "-Dlog4j.configuration=/config/blazegraph/log4j.properties -DjettyXml=/config/blazegraph/jetty.xml -Djava.awt.headless=true -XX:MaxDirectMemorySize=300m -Xms4g -Xmx4g -XX:+UseG1GC"
133-
_JAVA_OPTIONS: "-XX:UseSVE=0"
133+
_JAVA_OPTIONS: ${_JAVA_OPTIONS}
134134
ports:
135135
- 9999:9999
136136
healthcheck:

0 commit comments

Comments
 (0)