Skip to content

Jenkinsfile - opensearch 3.7.0 - #1277

Draft
irapandey wants to merge 3 commits into
IBM:mainfrom
irapandey:jenkins-opensearch-3.7.0
Draft

Jenkinsfile - opensearch 3.7.0#1277
irapandey wants to merge 3 commits into
IBM:mainfrom
irapandey:jenkins-opensearch-3.7.0

Conversation

@irapandey

Copy link
Copy Markdown
Member

Jenkinsfile to build, validate and push Opensearch image v3.7.0 for AI-services

Signed-off-by: irapandey <ira.pandey2001@gmail.com>
@irapandey

Copy link
Copy Markdown
Member Author

Build-scripts PR with Dockerfile and patch file - ppc64le/build-scripts#8622

@irapandey
irapandey marked this pull request as ready for review August 19, 2026 05:38
@irapandey

Copy link
Copy Markdown
Member Author

Signed-off-by: irapandey <ira.pandey2001@gmail.com>
Signed-off-by: irapandey <ira.pandey2001@gmail.com>
environment {

// OpenSearch
OPENSEARCH_VERSION = "3.7.0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we take OPENSEARCH_VERSION as a parameter

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am trying to build 3.8.0 locally right now - if the same patch can be used 3.8.0 as well, I will take OPENSEARCH_VERSION as a param, it not, I would want to keep separate jenkinsfiles

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of separate Jenkinsfiles you should maintain separate patch files and enable the job for any build version.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, on second thought, that's the approach I would take. Provided I was able to build 3.8.0 with the same approach

ICR_REGISTRY = "icr.io"

IMAGE_NAME = "icr.io/ai-services-private/opensearch"
RELEASE_TAG_IMAGE_NAME = "icr.io/ai-services-cicd/opensearch"

@adarshagrawal38 adarshagrawal38 Aug 20, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we pushing images in two namespaces?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, pushing tag 3.7.0-ppc64le-{BUILD_NUMBER} to private for each job
and pushing3.7.0-ppc64le to ai-services-cicd when toggle is enabled

@irapandey

irapandey commented Aug 21, 2026

Copy link
Copy Markdown
Member Author

\hold
looking to modify this to build an image that can be used by WDX team as well

@irapandey
irapandey marked this pull request as draft August 21, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants