mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-28 11:59:54 +00:00

These tests verify that, given an index settings and mappings, data can be written to the index, and read from it with a query_all query. These are very simple sanity tests. We can, and should, write more complex tests that specific to each index in the future.
11 lines
352 B
Docker
11 lines
352 B
Docker
# This "container" is a workaround to pre-create search indices
|
|
FROM jwilder/dockerize:0.6.1
|
|
|
|
RUN apk add --no-cache curl jq
|
|
|
|
COPY docker/elasticsearch-setup/create-indices.sh /
|
|
RUN chmod 755 create-indices.sh
|
|
COPY gms/impl/src/main/resources/index /
|
|
|
|
CMD dockerize -wait http://$ELASTICSEARCH_HOST:$ELASTICSEARCH_PORT -timeout 120s /create-indices.sh
|