Skip to content

Commit 96105d9

Browse files
committed
2.12
1 parent 06ebb70 commit 96105d9

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
ports:
3333
- 9200:9200
3434

35-
opensearch_2_11:
36-
image: opensearchproject/opensearch:2.11.1
35+
opensearch_2_12:
36+
image: opensearchproject/opensearch:2.12.0 # Your upgrade target
3737
env:
3838
cluster.name: stac-cluster
3939
node.name: os01
@@ -42,12 +42,22 @@ jobs:
4242
discovery.type: single-node
4343
http.port: 9202
4444
http.cors.enabled: true
45+
# Fully disable security plugin and its SSL
46+
DISABLE_SECURITY_PLUGIN: true # New: Explicitly skips security init
47+
DISABLE_INSTALL_DEMO_CONFIG: true # New: Skips demo certs/password setup
4548
plugins.security.disabled: true
46-
plugins.security.ssl.http.enabled: true
49+
plugins.security.ssl.http.enabled: false # Fix: Disable HTTP SSL
4750
OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m
4851
action.destructive_requires_name: false
4952
ports:
5053
- 9202:9202
54+
# Optional: Add healthcheck for reliable startup (see below)
55+
healthcheck:
56+
test: ["CMD-SHELL", "curl -f http://localhost:9202 || exit 1"] # Plain HTTP test
57+
interval: 10s
58+
timeout: 5s
59+
retries: 10
60+
start-period: 30s # Gives 30s grace for JVM boot
5161

5262
strategy:
5363
matrix:

0 commit comments

Comments
 (0)