Skip to content

Commit d3e9f7d

Browse files
Striftcurquiza
authored andcommitted
Use meilisearch EE docker image
1 parent 547b558 commit d3e9f7d

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/scripts/prototype-docker-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ prototype_branch=$1 # $GI
1515
prototype_branch=$(echo $prototype_branch | sed -r 's/prototype-beta\///') # remove pre-prending prototype-beta/
1616
prototype_name=$(echo $prototype_branch | sed -r 's/-beta//') # remove appended -beta
1717

18-
docker_image=$(curl "https://hub.docker.com/v2/repositories/getmeili/meilisearch/tags?&page_size=100" | jq | grep "$prototype_name" | head -1)
18+
docker_image=$(curl "https://hub.docker.com/v2/repositories/getmeili/meilisearch-enterprise/tags?&page_size=100" | jq | grep "$prototype_name" | head -1)
1919
docker_image=$(echo $docker_image | grep '"name":' | cut -d ':' -f 2- | tr -d ' ' | tr -d '"' | tr -d ',')
2020
echo $docker_image

.github/workflows/meilisearch-prototype-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
needs: ['meilisearch-version']
3535
services:
3636
meilisearch:
37-
image: getmeili/meilisearch:${{ needs.meilisearch-version.outputs.version }}
37+
image: getmeili/meilisearch-enterprise:${{ needs.meilisearch-version.outputs.version }}
3838
env:
3939
MEILI_MASTER_KEY: 'masterKey'
4040
MEILI_NO_ANALYTICS: 'true'
@@ -74,7 +74,7 @@ jobs:
7474
needs: ['meilisearch-version']
7575
services:
7676
meilisearch:
77-
image: getmeili/meilisearch:${{ needs.meilisearch-version.outputs.version }}
77+
image: getmeili/meilisearch-enterprise:${{ needs.meilisearch-version.outputs.version }}
7878
env:
7979
MEILI_MASTER_KEY: 'masterKey'
8080
MEILI_NO_ANALYTICS: 'true'
@@ -114,7 +114,7 @@ jobs:
114114
needs: ['meilisearch-version']
115115
services:
116116
meilisearch:
117-
image: getmeili/meilisearch:${{ needs.meilisearch-version.outputs.version }}
117+
image: getmeili/meilisearch-enterprise:${{ needs.meilisearch-version.outputs.version }}
118118
env:
119119
MEILI_MASTER_KEY: 'masterKey'
120120
MEILI_NO_ANALYTICS: 'true'

.github/workflows/pre-release-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
needs: ['meilisearch-version']
3333
services:
3434
meilisearch:
35-
image: getmeili/meilisearch:${{ needs.meilisearch-version.outputs.version }}
35+
image: getmeili/meilisearch-enterprise:${{ needs.meilisearch-version.outputs.version }}
3636
env:
3737
MEILI_MASTER_KEY: 'masterKey'
3838
MEILI_NO_ANALYTICS: 'true'
@@ -73,7 +73,7 @@ jobs:
7373
needs: ['meilisearch-version']
7474
services:
7575
meilisearch:
76-
image: getmeili/meilisearch:${{ needs.meilisearch-version.outputs.version }}
76+
image: getmeili/meilisearch-enterprise:${{ needs.meilisearch-version.outputs.version }}
7777
env:
7878
MEILI_MASTER_KEY: 'masterKey'
7979
MEILI_NO_ANALYTICS: 'true'
@@ -114,7 +114,7 @@ jobs:
114114
needs: ['meilisearch-version']
115115
services:
116116
meilisearch:
117-
image: getmeili/meilisearch:${{ needs.meilisearch-version.outputs.version }}
117+
image: getmeili/meilisearch-enterprise:${{ needs.meilisearch-version.outputs.version }}
118118
env:
119119
MEILI_MASTER_KEY: 'masterKey'
120120
MEILI_NO_ANALYTICS: 'true'

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
!startsWith(github.head_ref, 'pre-release-beta/')
2424
services:
2525
meilisearch:
26-
image: getmeili/meilisearch:latest
26+
image: getmeili/meilisearch-enterprise:latest
2727
env:
2828
MEILI_MASTER_KEY: 'masterKey'
2929
MEILI_NO_ANALYTICS: 'true'
@@ -73,7 +73,7 @@ jobs:
7373
!startsWith(github.head_ref, 'pre-release-beta/')
7474
services:
7575
meilisearch:
76-
image: getmeili/meilisearch:latest
76+
image: getmeili/meilisearch-enterprise:latest
7777
env:
7878
MEILI_MASTER_KEY: 'masterKey'
7979
MEILI_NO_ANALYTICS: 'true'
@@ -123,7 +123,7 @@ jobs:
123123
runs-on: ubuntu-latest
124124
services:
125125
meilisearch:
126-
image: getmeili/meilisearch:latest
126+
image: getmeili/meilisearch-enterprise:latest
127127
env:
128128
MEILI_MASTER_KEY: 'masterKey'
129129
MEILI_NO_ANALYTICS: 'true'

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Each PR should pass the tests and the linter to be accepted.
3838

3939
```bash
4040
# Tests with Vitest
41-
docker pull getmeili/meilisearch:latest # Fetch the latest version of Meilisearch image from Docker Hub
42-
docker run -p 7700:7700 getmeili/meilisearch:latest meilisearch --master-key=masterKey --no-analytics
41+
docker pull getmeili/meilisearch-enterprise:latest # Fetch the latest version of Meilisearch image from Docker Hub
42+
docker run -p 7700:7700 getmeili/meilisearch-enterprise:latest meilisearch --master-key=masterKey --no-analytics
4343
# Integration tests
4444
yarn test
4545
# End-to-end tests
@@ -191,7 +191,7 @@ Here are the steps to release a beta version of this package depending on its ty
191191
- Meilisearch `pre-release beta`: create a branch originating from `bump-meilisearch-v*.*.*` named `pre-release-beta/v*.*.*`. <br>
192192
Example: `pre-release-beta/v0.30.0`
193193
- Meilisearch `prototype beta`: create a branch `prototype-beta/xx-xx`. Where `xxx` has the same name as the docker image containing the prototype.
194-
Example: If the [docker image](https://hub.docker.com/r/getmeili/meilisearch/tags) is named: `prototype-multi-search-0`, the branch should be named: `prototype-beta/prototype-multi-search`
194+
Example: If the [docker image](https://hub.docker.com/r/getmeili/meilisearch-enterprise/tags) is named: `prototype-multi-search-0`, the branch should be named: `prototype-beta/prototype-multi-search`
195195

196196
2. Enable the pre-release mode by running `yarn changeset pre enter [X]`. `X` is the part after the `/` of your beta branch. Example for `beta/refactor`, X would be `refactor`. This will create a `pre.json` file in `.changesets` that must be pushed on your beta branch.
197197

0 commit comments

Comments
 (0)