Skip to content

Commit

Permalink
Swapout for OpenSearch
Browse files Browse the repository at this point in the history
  • Loading branch information
jslay-excella committed May 23, 2022
1 parent 5e856ea commit f7fdfee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
- 5432:5432
# needed because the postgres container does not provide a healthcheck
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
elasticsearch:
image: elasticsearch:7.10.1
opensearch:
image: opensearch:2.0.0-rc1
ports:
- 9200/tcp
options: -e="discovery.type=single-node" --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=10
options: -e="discovery.type=single-node" --health-cmd="curl -XGET https://localhost:9200/_cluster/health -u 'admin:admin' --insecure" --health-interval=10s --health-timeout=5s --health-retries=10

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
MAPBOX_ACCESS_TOKEN: ${{ secrets.MAPBOX_ACCESS_TOKEN }}

services:
elasticsearch:
image: elasticsearch:7.10.1
opensearch:
image: opensearchproject/opensearch:2.0.0-rc1
ports:
- 9200:9200
options: -e="discovery.type=single-node" --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=10
options: -e="discovery.type=single-node" --health-cmd="curl -XGET https://localhost:9200/_cluster/health -u 'admin:admin' --insecure" --health-interval=10s --health-timeout=5s --health-retries=10

postgres:
image: postgres
Expand Down

0 comments on commit f7fdfee

Please sign in to comment.