Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhen-cap committed Sep 10, 2024
1 parent 8169aef commit b6bdd95
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/template-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
required: false
type: string
search_db:
description: runs playwright tests
description: elasticsearch or opensearch
required: false
default: elasticsearch
type: string
Expand All @@ -40,8 +40,9 @@ jobs:
- uses: actions/checkout@v4
- name: change search db
run: >-
sed -i 's/SEARCH_DB=elasticsearch/SEARCH_DB=opensearch/g' .env
if: ${{ contains(inputs.search_db, 'elasticsearch') }}
run: |
sudo 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
4 changes: 2 additions & 2 deletions .github/workflows/test-core-opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
uses: ./.github/workflows/template-deploy.yaml
secrets: inherit
with:
compose_args: "-f docker-compose-core.opensearch.yaml --profile opensearch"
compose_args: "-f docker-compose-core.yaml --profile opensearch"
run_e2e_tests: false
search_db: opensearch
search_db: opensearch
2 changes: 1 addition & 1 deletion .github/workflows/test-default.opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
with:
compose_args: "-f docker-compose.yaml --profile opensearch"
run_e2e_tests: false
search_db: opensearch
search_db: opensearch
2 changes: 1 addition & 1 deletion .github/workflows/test-modeler.opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
with:
compose_args: "-f docker-compose.yaml -f docker-compose-web-modeler.yaml --profile opensearch"
run_e2e_tests: true
search_db: opensearch
search_db: opensearch

0 comments on commit b6bdd95

Please sign in to comment.