From c25d0b5103317137e851e80ef69b0f84b51f41ec Mon Sep 17 00:00:00 2001
From: Prudhvi Godithi <pgodithi@amazon.com>
Date: Tue, 10 Jan 2023 13:21:47 -0800
Subject: [PATCH] Add 2.6.0

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
---
 .github/workflows/increment-plugin-versions.yml |  1 +
 jenkins/check-for-build.jenkinsfile             |  2 ++
 manifests/2.6.0/opensearch-2.6.0.yml            | 16 ++++++++++++++++
 manifests/2.6.0/opensearch-dashboards-2.6.0.yml | 12 ++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 manifests/2.6.0/opensearch-2.6.0.yml
 create mode 100644 manifests/2.6.0/opensearch-dashboards-2.6.0.yml

diff --git a/.github/workflows/increment-plugin-versions.yml b/.github/workflows/increment-plugin-versions.yml
index 22e0929022..ca9bcf96bc 100644
--- a/.github/workflows/increment-plugin-versions.yml
+++ b/.github/workflows/increment-plugin-versions.yml
@@ -51,6 +51,7 @@ jobs:
           - '2.5'
           - 3.x
           - '3.0'
+          - '2.6'
         exclude:
           - {entry: {repo: geospatial}, branch: '1.3'}
           - {entry: {repo: neural-search}, branch: '1.3'}
diff --git a/jenkins/check-for-build.jenkinsfile b/jenkins/check-for-build.jenkinsfile
index 2a34f7321a..835d3c4d5d 100644
--- a/jenkins/check-for-build.jenkinsfile
+++ b/jenkins/check-for-build.jenkinsfile
@@ -14,6 +14,8 @@ pipeline {
     }
     triggers {
         parameterizedCron '''
+            H 1 * * * %INPUT_MANIFEST=2.6.0/opensearch-2.6.0.yml;TARGET_JOB_NAME=distribution-build-opensearch;BUILD_PLATFORM=linux windows
+            H 1 * * * %INPUT_MANIFEST=2.6.0/opensearch-dashboards-2.6.0.yml;TARGET_JOB_NAME=distribution-build-opensearch-dashboards;BUILD_PLATFORM=linux windows
             H 1 * * * %INPUT_MANIFEST=2.4.2/opensearch-dashboards-2.4.2.yml;TARGET_JOB_NAME=distribution-build-opensearch-dashboards;BUILD_PLATFORM=linux windows
             H 1 * * * %INPUT_MANIFEST=2.4.2/opensearch-2.4.2.yml;TARGET_JOB_NAME=distribution-build-opensearch;BUILD_PLATFORM=linux macos windows
             H 1 * * * %INPUT_MANIFEST=1.3.8/opensearch-1.3.8.yml;TARGET_JOB_NAME=distribution-build-opensearch;BUILD_PLATFORM=linux macos windows
diff --git a/manifests/2.6.0/opensearch-2.6.0.yml b/manifests/2.6.0/opensearch-2.6.0.yml
new file mode 100644
index 0000000000..1f2510a3aa
--- /dev/null
+++ b/manifests/2.6.0/opensearch-2.6.0.yml
@@ -0,0 +1,16 @@
+---
+schema-version: '1.0'
+build:
+  name: OpenSearch
+  version: 2.6.0
+ci:
+  image:
+    name: opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v2
+    args: -e JAVA_HOME=/opt/java/openjdk-17
+components:
+  - name: OpenSearch
+    repository: https://github.com/opensearch-project/OpenSearch.git
+    ref: '2.x'
+    checks:
+      - gradle:publish
+      - gradle:properties:version
diff --git a/manifests/2.6.0/opensearch-dashboards-2.6.0.yml b/manifests/2.6.0/opensearch-dashboards-2.6.0.yml
new file mode 100644
index 0000000000..277d5f0f92
--- /dev/null
+++ b/manifests/2.6.0/opensearch-dashboards-2.6.0.yml
@@ -0,0 +1,12 @@
+---
+schema-version: '1.0'
+build:
+  name: OpenSearch Dashboards
+  version: 2.6.0
+ci:
+  image:
+    name: opensearchstaging/ci-runner:ci-runner-centos7-opensearch-dashboards-build-v2
+components:
+  - name: OpenSearch-Dashboards
+    repository: https://github.com/opensearch-project/OpenSearch-Dashboards.git
+    ref: '2.x'