Skip to content

Commit 6b9223e

Browse files
authored
fix: use opensearchstaging 3.7.0 images for OS and OSD (opensearch-project#271)
* fix: use opensearchstaging/opensearch:3.7.0 images for OS and OSD Revert to the original OPENSEARCH_DOCKER_REPO pattern where the compose files construct image references from the repo + version variables, replacing the temporary per-developer image overrides. Updated across .env, docker-compose, Helm values, and install.sh. Signed-off-by: ps48 <pshenoy36@gmail.com> * fix(ci): remove unsupported --verify flag from helm plugin install The --verify flag was removed in newer Helm versions, causing CI failure. Signed-off-by: ps48 <pshenoy36@gmail.com> * fix(ci): pin Helm to v3.18.6 for compatible plugin install Helm v3.18+ supports the platformHooks plugin.yaml field and does not require --verify flag. Pinning avoids version drift across CI runs. Signed-off-by: ps48 <pshenoy36@gmail.com> --------- Signed-off-by: ps48 <pshenoy36@gmail.com>
1 parent df712ab commit 6b9223e

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

.env

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ INCLUDE_COMPOSE_LOCAL_OPENSEARCH=docker-compose.local-opensearch.yml
1212
INCLUDE_COMPOSE_LOCAL_OPENSEARCH_DASHBOARDS=docker-compose.local-opensearch-dashboards.yml
1313

1414
# TODO: Change to opensearchproject after 3.7.0 official release
15-
# OPENSEARCH_DOCKER_REPO=opensearchstaging
16-
OPENSEARCH_IMAGE=ashisagr32966/opensearch-sql-main:3.7.0-sql-main
17-
OPENSEARCH_DASHBOARDS_IMAGE=joshuali925/opensearch-dashboards:3.7.0-slos-pr-against-main-v2
15+
OPENSEARCH_DOCKER_REPO=opensearchstaging
1816

1917

2018
# OpenSearch Configuration

.github/workflows/helm-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ jobs:
2222

2323
- name: Set up Helm
2424
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4
25+
with:
26+
version: v3.18.6
2527

2628
- name: Install helm-unittest plugin
27-
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git --verify=false
29+
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git
2830

2931
- name: Run helm lint + unittest
3032
run: ./test/helm-test.sh

charts/observability-stack/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ opensearch:
1414
replicas: 3
1515
# TODO: Change to opensearchproject/opensearch after 3.7.0 official release
1616
image:
17-
repository: "ashisagr32966/opensearch-sql-main"
18-
tag: "3.7.0-sql-main"
17+
repository: "opensearchstaging/opensearch"
18+
tag: "3.7.0"
1919
resources:
2020
requests:
2121
memory: "4Gi"
@@ -79,8 +79,8 @@ opensearch-dashboards:
7979
replicaCount: 3
8080
# TODO: Change to opensearchproject/opensearch-dashboards after 3.7.0 official release
8181
image:
82-
repository: "joshuali925/opensearch-dashboards"
83-
tag: "3.7.0-slos-pr-against-main-v2"
82+
repository: "opensearchstaging/opensearch-dashboards"
83+
tag: "3.7.0"
8484
resources:
8585
requests:
8686
cpu: "500m"

docker-compose.local-opensearch-dashboards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ x-default-logging: &logging
1212
services:
1313
# OpenSearch Dashboards - Web UI for visualizing logs and traces
1414
opensearch-dashboards:
15-
image: ${OPENSEARCH_DASHBOARDS_IMAGE}
15+
image: ${OPENSEARCH_DOCKER_REPO}/opensearch-dashboards:${OPENSEARCH_DASHBOARDS_VERSION}
1616
platform: linux/amd64
1717
container_name: opensearch-dashboards
1818
pull_policy: always

docker-compose.local-opensearch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ volumes:
1616
services:
1717
# OpenSearch - Stores and indexes logs and traces for search and analysis
1818
opensearch:
19-
image: ${OPENSEARCH_IMAGE}
19+
image: ${OPENSEARCH_DOCKER_REPO}/opensearch:${OPENSEARCH_VERSION}
2020
container_name: opensearch
2121
pull_policy: always
2222
environment:

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,8 +849,8 @@ run_simulated_installer() {
849849

850850
# Demo image list
851851
local images=(
852-
"opensearchproject/opensearch:3.5.0"
853-
"opensearchproject/opensearch-dashboards:3.5.0"
852+
"opensearchstaging/opensearch:3.7.0"
853+
"opensearchstaging/opensearch-dashboards:3.7.0"
854854
"otel/opentelemetry-collector-contrib:0.143.0"
855855
"opensearchproject/data-prepper:2.13.0"
856856
"prom/prometheus:v3.8.1"

0 commit comments

Comments
 (0)