Skip to content

Commit

Permalink
fix(ci): added volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorAlymov committed Jul 15, 2024
1 parent 722eb23 commit 70a1b96
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,8 @@ jobs:
OpenSearchModuleOptions__Login: admin
OpenSearchModuleOptions__Password: sikdadasDA123@ituDSSaMydfdssdss
services:
opensearch:
opensearch-node1:
image: opensearchproject/opensearch
ports:
- 9200:9200
env:
cluster.name: opensearch-cluster
node.name: opensearch-node1
Expand All @@ -148,6 +146,11 @@ jobs:
bootstrap.memory_lock: true
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
OPENSEARCH_INITIAL_ADMIN_PASSWORD: sikdadasDA123@ituDSSaMydfdssdss
volumes:
- opensearch-data1:/usr/share/opensearch/data
ports:
- 9200:9200
- 9600:9600
steps:
- uses: actions/checkout@v4
- name: Run opensearch tests
Expand Down

0 comments on commit 70a1b96

Please sign in to comment.