diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 5205d68..5f62326 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -66,7 +66,15 @@ jobs: elasticsearch: image: ${{ matrix.elasticsearch }} env: + # By default, ElasticSearch refuses to spawn in single node configuration, as it expects redundancy. + # This is a dev environment, so redundancy is just wasteful. discovery.type: single-node + # Disable HTTPS and password authentication + # this is a local dev environment, so the added CA chain complexity is an extreme overkill + xpack.security.enabled: false + xpack.security.http.ssl.enabled: false + xpack.security.transport.ssl.enabled: false + options: >- --health-cmd "curl http://localhost:9200/_cluster/health" --health-interval 10s