-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Search engine] #1204831 Switch to OpenSearch 2
- Use openseach container - Use opensearch php client - Disable native api-platform elasticsearch bridge (not compatible with es8 or os)
- Loading branch information
1 parent
7da3fc0
commit a41cb1c
Showing
18 changed files
with
13,173 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<<<<<<< Updated upstream | ||
name: Deploy 1.2.x | ||
======= | ||
name: Deploy 1.1.x | ||
>>>>>>> Stashed changes | ||
|
||
on: | ||
schedule: | ||
- cron: '30 4 * * 1-5' | ||
workflow_dispatch: | ||
inputs: | ||
skip_tests: | ||
description: 'Skip tests before delivery ?' | ||
type: boolean | ||
default: false | ||
required: false | ||
|
||
jobs: | ||
tests: | ||
name: Tests | ||
if: ${{ inputs.skip_tests == false }} | ||
uses: ./.github/workflows/tests.yml | ||
with: | ||
<<<<<<< Updated upstream | ||
version: 1.2.x | ||
last_published_version: 1.2.0 | ||
======= | ||
version: 1.1.x | ||
last_published_version: 1.1.0 | ||
>>>>>>> Stashed changes | ||
secrets: | ||
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }} | ||
PACKAGIST_URL: ${{ secrets.PACKAGIST_URL }} | ||
|
||
<<<<<<< Updated upstream | ||
deploy-1_2_X: | ||
needs: tests | ||
name: Deploy 1.2.x | ||
======= | ||
deploy-1_1_X: | ||
needs: tests | ||
name: Deploy 1.1.x | ||
>>>>>>> Stashed changes | ||
if: | | ||
always() && | ||
(needs.tests.result == 'success' || needs.tests.result == 'skipped') | ||
uses: ./.github/workflows/deploy-int.yml | ||
with: | ||
<<<<<<< Updated upstream | ||
version: 1.2.x | ||
last_published_version: 1.2.0 | ||
======= | ||
version: 1.1.x | ||
last_published_version: 1.1.0 | ||
>>>>>>> Stashed changes | ||
secrets: | ||
AWS_DEPLOY_KEY: ${{ secrets.AWS_DEPLOY_KEY }} | ||
AWS_HOSTNAME: ${{ secrets.AWS_HOSTNAME_STABLE }} | ||
AWS_USER: ${{ secrets.AWS_USER }} | ||
APP_SECRET: ${{ secrets.APP_SECRET }} | ||
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} | ||
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }} | ||
PACKAGIST_URL: ${{ secrets.PACKAGIST_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Test search engine compatibility | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
search_engine: | ||
required: false | ||
default: opensearch | ||
type: choice | ||
options: | ||
- opensearch | ||
- elasticsearch7 | ||
- elasticsearch8 | ||
|
||
jobs: | ||
tests: | ||
name: Tests | ||
uses: ./.github/workflows/tests.yml | ||
with: | ||
version: ${{ github.ref_name }} | ||
last_published_version: ${{ github.ref_name }} | ||
search_engine: ${{ inputs.search_engine }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"http-basic": { | ||
"packagist.smile.fr": { | ||
"username": "elasticsuitepremium", | ||
"password": "S?7aQ$wsRWw:2;2g" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.