-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Elasticsearch infrastructure for CI and development (#5143)
* Upgrade infrastructure dependencies * Update README.md * Fix image name * Add run command * Update README.md
- Loading branch information
Sergio Revilla
authored
Sep 29, 2022
1 parent
c323dcc
commit d835dba
Showing
7 changed files
with
35 additions
and
8 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
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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
FROM elasticsearch:7.10.1 | ||
FROM elasticsearch:7.11.2 | ||
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu |
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 @@ | ||
#!/bin/bash | ||
|
||
set -eo pipefail | ||
|
||
function start { | ||
docker-compose up --build -d "${@}" | ||
} | ||
|
||
function mongo { | ||
docker exec -it uwazi-mongo mongo localhost/uwazi_development | ||
} | ||
|
||
function stop { | ||
docker-compose stop | ||
} | ||
|
||
|
||
function help { | ||
printf "%s <task> \n\nTasks:\n" "${0}" | ||
compgen -A function | grep -v "^_" | cat -n | ||
} | ||
|
||
USER_ID=$(id -u) GROUP_ID=$(id -g) "${@:-help}" |