Skip to content

Commit

Permalink
global: upgrade OpenSearch from v2.2.0 to v2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeWatt committed Jul 10, 2023
1 parent 7e930e4 commit 7cff992
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

matrix:
postgres-version: [ 12, 13 ]
os-version: [ '2.2.0' ]
os-version: [ '2.7.0' ]
python-version: [ '3.7', '3.8', '3.9' ]
exclude:
- postgres-version: ${{ github.event.act && 13 }}
Expand Down
19 changes: 10 additions & 9 deletions INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,27 @@ for example, using ``yum`` or ``apt-get`` for Linux or ``brew`` for macOS:

* `PostgreSQL <http://www.postgresql.org/>`_ (version 12) database server
* `Redis <http://redis.io/>`_ for caching
* `OpenSearch <https://opensearch.org/>`_ (version 2.2.0) for indexing and information retrieval. See below for further instructions.
* `OpenSearch <https://opensearch.org/>`_ (version 2.7.0) for indexing and information retrieval. See below for further instructions.
* `Node.js <https://nodejs.org>`_ (version 18) JavaScript run-time environment and its package manager `npm <https://www.npmjs.com/>`_.

OpenSearch v2.2.0
OpenSearch v2.7.0
-----------------

We are currently using OpenSearch v2.2.0. Here, you can find the `download instructions. <https://opensearch.org/versions/opensearch-2-2-0.html>`_
We are currently using OpenSearch v2.7.0. Here, you can find the `download instructions. <https://opensearch.org/versions/opensearch-2-7-0.html>`_

There are some examples below:

**MacOS**

Install the latest version with ``brew install opensearch``. Alternatively, to install v2.2.0 via Homebrew, run:
Install the latest version (currently, v2.8.0) with ``brew install opensearch``.
Alternatively, to install a specific version like v2.6.0 via Homebrew (v2.7.0 is unavailable), run:

.. code-block:: console
$ brew tap-new opensearch/tap
$ brew extract --version=2.2.0 opensearch opensearch/tap
$ brew install opensearch/tap/opensearch@2.2.0
$ brew services restart opensearch/tap/opensearch@2.2.0
$ brew extract --version=2.6.0 opensearch opensearch/tap
$ brew install opensearch/tap/opensearch@2.6.0
$ brew services restart opensearch/tap/opensearch@2.6.0
**Linux**

Expand All @@ -73,8 +74,8 @@ Alternatively, run OpenSearch after `installing Docker <https://docs.docker.com/

.. code-block:: console
$ docker pull opensearchproject/opensearch:2.2.0
$ docker run -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "plugins.security.disabled=true" opensearchproject/opensearch:2.2.0
$ docker pull opensearchproject/opensearch:2.7.0
$ docker run -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "plugins.security.disabled=true" opensearchproject/opensearch:2.7.0
.. _installation:

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
- "5432:5432"
read_only: false
os:
image: opensearchproject/opensearch:2.2.0
image: opensearchproject/opensearch:2.7.0
read_only: false
environment:
- node.name=os01
Expand Down
2 changes: 1 addition & 1 deletion hepdata/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
and parsed by ``setup.py``.
"""

__version__ = "0.9.4dev20230703"
__version__ = "0.9.4dev20230710"

0 comments on commit 7cff992

Please sign in to comment.