Skip to content

Commit

Permalink
change os host
Browse files Browse the repository at this point in the history
  • Loading branch information
delcroip authored Oct 28, 2024
1 parent 0f62075 commit 15a3dc4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_assembly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ jobs:
OPENSEARCH_ADMIN: admin
OPENSEARCH_PASSWORD: B9wc9VrqX7pY
OPEN_SEARCH_HTTP_PORT: 9200
OPENSEARCH_HOST: opensearch
OPENSEARCH_HOSTS: "http://opensearch:9200"
OPENSEARCH_HOST: localhost
OPENSEARCH_HOSTS: "http://localhost:9200"

- name: Django tests MSSQL
working-directory: ./openIMIS
Expand Down Expand Up @@ -206,5 +206,5 @@ jobs:
OPENSEARCH_ADMIN: admin
OPENSEARCH_PASSWORD: B9wc9VrqX7pY
OPEN_SEARCH_HTTP_PORT: 9200
OPENSEARCH_HOST: opensearch
OPENSEARCH_HOSTS: "http://opensearch:9200"
OPENSEARCH_HOST: localhost
OPENSEARCH_HOSTS: "http://localhost:9200"
23 changes: 19 additions & 4 deletions .github/workflows/ci_module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ jobs:
http.port: 9200
plugins.security.ssl.http.enabled: false
OPENSEARCH_INITIAL_ADMIN_PASSWORD: B9wc9VrqX7pY
options: >-
--health-cmd "curl -f -u admin:${OPENSEARCH_INITIAL_ADMIN_PASSWORD} http://localhost:9200/_cluster/health || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 10
mssql:
image: mcr.microsoft.com/mssql/server:2017-latest
Expand Down Expand Up @@ -256,6 +261,11 @@ jobs:
http.port: 9200
plugins.security.ssl.http.enabled: false
OPENSEARCH_INITIAL_ADMIN_PASSWORD: B9wc9VrqX7pY
options: >-
--health-cmd "curl -f -u admin:${OPENSEARCH_INITIAL_ADMIN_PASSWORD} http://localhost:9200/_cluster/health || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 10
pgsql:
Expand Down Expand Up @@ -360,8 +370,8 @@ jobs:
OPENSEARCH_ADMIN: admin
OPENSEARCH_PASSWORD: B9wc9VrqX7pY
OPEN_SEARCH_HTTP_PORT: 9200
OPENSEARCH_HOST: opensearch
OPENSEARCH_HOSTS: "http://opensearch:9200"
OPENSEARCH_HOST: localhost
OPENSEARCH_HOSTS: "http://localhost:9200"
ci_module_psql_test:
name: Run All Tests (PSQL)
runs-on: ubuntu-20.04
Expand All @@ -377,6 +387,11 @@ jobs:
http.port: 9200
plugins.security.ssl.http.enabled: false
OPENSEARCH_INITIAL_ADMIN_PASSWORD: B9wc9VrqX7pY
options: >-
--health-cmd "curl -f -u admin:${OPENSEARCH_INITIAL_ADMIN_PASSWORD} http://localhost:9200/_cluster/health || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 10
pgsql:
Expand Down Expand Up @@ -480,8 +495,8 @@ jobs:
OPENSEARCH_ADMIN: admin
OPENSEARCH_PASSWORD: B9wc9VrqX7pY
OPEN_SEARCH_HTTP_PORT: 9200
OPENSEARCH_HOST: opensearch
OPENSEARCH_HOSTS: "http://opensearch:9200"
OPENSEARCH_HOST: localhost
OPENSEARCH_HOSTS: "http://localhost:9200"
- name: Generate Coverage Report
if: always()
working-directory: ./openimis/openIMIS
Expand Down

0 comments on commit 15a3dc4

Please sign in to comment.