Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
51fbe2ca
Commit
51fbe2ca
authored
Mar 25, 2022
by
Markus Scheidgen
Browse files
Added mx JVM heap to elasticsearch dev and ci.
parent
2b388df1
Pipeline
#128139
canceled with stages
in 8 minutes and 46 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
51fbe2ca
...
...
@@ -85,9 +85,10 @@ python tests:
alias
:
rabbitmq
-
name
:
docker.elastic.co/elasticsearch/elasticsearch:7.17.1
alias
:
elastic
# fix issue with running elastic in gitlab ci runner:
# https://gitlab.com/gitlab-org/gitlab-ce/issues/42214
command
:
[
"
bin/elasticsearch"
,
"
-Ediscovery.type=single-node"
]
command
:
-
bash
-
"
-c"
-
ES_JAVA_OPTS="-Xms512m -Xmx512m" docker-entrypoint.sh elasticsearch -Ediscovery.type=single-node -Expack.security.enabled=false
-
name
:
mongo:5.0.6
alias
:
mongo
variables
:
...
...
@@ -101,6 +102,8 @@ python tests:
NOMAD_KEYCLOAK_PASSWORD
:
${CI_KEYCLOAK_ADMIN_PASSWORD}
NOMAD_NORMALIZE_SPRINGER_DB_PATH
:
/nomad/fairdi/db/data/springer.msg
script
:
-
sleep
5
-
curl http://elastic:9200/_cat/health
-
cd /app
-
ls /builds
-
python -m pytest --cov=nomad -sv tests
...
...
docs/oasis.md
View file @
51fbe2ca
...
...
@@ -103,6 +103,7 @@ services:
image
:
docker.elastic.co/elasticsearch/elasticsearch:7.17.1
container_name
:
nomad_oasis_elastic
environment
:
-
ES_JAVA_OPTS=-Xms512m -Xmx512m
-
discovery.type=single-node
volumes
:
-
nomad_oasis_elastic:/usr/share/elasticsearch/data
...
...
ops/docker-compose/infrastructure/docker-compose.yml
View file @
51fbe2ca
...
...
@@ -48,11 +48,13 @@ services:
image
:
docker.elastic.co/elasticsearch/elasticsearch:7.17.1
container_name
:
nomad_elastic
environment
:
-
ES_JAVA_OPTS=-Xms512m -Xmx512m
-
cluster.routing.allocation.disk.threshold_enabled=true
-
cluster.routing.allocation.disk.watermark.flood_stage=1gb
-
cluster.routing.allocation.disk.watermark.low=4gb
-
cluster.routing.allocation.disk.watermark.high=2gb
-
discovery.type=single-node
-
xpack.security.enabled=false
ports
:
-
9200:9200
volumes
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment