Skip to content

Commit

Permalink
use opensearch
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhen-cap committed Sep 10, 2024
1 parent 0b04ba8 commit 8169aef
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/template-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
description: runs a single test
required: false
type: string
search_db:
description: runs playwright tests
required: false
default: elasticsearch
type: string

jobs:
test_compose_deploy:
Expand All @@ -34,6 +39,9 @@ jobs:
sudo killall xsp4 || true
- uses: actions/checkout@v4
- name: change search db
run: >-
sed -i 's/SEARCH_DB=elasticsearch/SEARCH_DB=opensearch/g' .env
- name: Login to private registry
if: ${{ inputs.directory != 'docker-compose/camunda-8.6' }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test-core-opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ jobs:
uses: ./.github/workflows/template-deploy.yaml
secrets: inherit
with:
compose_args: "-f docker-compose-core.opensearch.yaml"
run_e2e_tests: false
compose_args: "-f docker-compose-core.opensearch.yaml --profile opensearch"
run_e2e_tests: false
search_db: opensearch
5 changes: 3 additions & 2 deletions .github/workflows/test-default.opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ jobs:
uses: ./.github/workflows/template-deploy.yaml
secrets: inherit
with:
compose_args: "-f docker-compose.opensearch.yaml"
run_e2e_tests: false
compose_args: "-f docker-compose.yaml --profile opensearch"
run_e2e_tests: false
search_db: opensearch
5 changes: 3 additions & 2 deletions .github/workflows/test-modeler.opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ jobs:
uses: ./.github/workflows/template-deploy.yaml
secrets: inherit
with:
compose_args: "-f docker-compose.opensearch.yaml -f docker-compose-web-modeler.yaml"
run_e2e_tests: true
compose_args: "-f docker-compose.yaml -f docker-compose-web-modeler.yaml --profile opensearch"
run_e2e_tests: true
search_db: opensearch

0 comments on commit 8169aef

Please sign in to comment.