Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
07fe6cb
Add consolidated release notes for 3.1.0
opensearch-ci-bot Jun 23, 2025
5d4ee5d
Updtae release notes
Divyaasm Jun 24, 2025
cd3ae84
Update nits
Divyaasm Jun 24, 2025
445238f
Add release highlights
Divyaasm Jun 24, 2025
1dd8ab6
Update nits
Divyaasm Jun 24, 2025
c0f125e
Update sql
Divyaasm Jun 24, 2025
e554ddd
Upgrade library version for promotion jobs (#5603)
Divyaasm Jun 24, 2025
71e378f
[3.1.0] Manifest Commit Lock with action UPDATE_TO_TAGS (#5605)
opensearch-ci-bot Jun 24, 2025
a6068a0
Fix the OpenSearch version increment workflow (#5606)
prudhvigodithi Jun 24, 2025
cc0c701
Move old jenkins files to legacy and ignore related tests (#5607)
gaiksaya Jun 25, 2025
6aaac6f
refresh benchmark runs for OS 3.2.0 (#5609)
rishabh6788 Jun 25, 2025
84d91d5
Replace secrets with onepassword in packer-build jenkinsfile (#5608)
peterzhuamazon Jun 26, 2025
4fc9372
Add native plugin validation for staged artifacts (#5610)
Divyaasm Jun 26, 2025
374453c
Add size parameter in neural search benchmark and schedule to run on …
weijia-aws Jun 27, 2025
b674d9b
Update jenkins branch and set autoPublish to false (#5616)
gaiksaya Jun 30, 2025
d725871
Update maven publishing workflow to accommodate nexus EOL (#5618)
gaiksaya Jul 3, 2025
8cc03f6
Schedule neural search benchmark to run on arm64 instances (#5619)
weijia-aws Jul 3, 2025
b511c30
Remove adding major.x version to version increment workflows (#5594)
gaiksaya Jul 7, 2025
69b56d2
Bump requests from 2.31.0 to 2.32.4 (#5567)
dependabot[bot] Jul 7, 2025
49c2f2c
Update 3.2.0 manifest to use jdk24 (#5627)
peterzhuamazon Jul 7, 2025
0f7f36d
Resolve codecov error upload coverage issues (#5628)
peterzhuamazon Jul 7, 2025
715eeef
Add code to trigger nightly playgrounds after each RC build (#5622)
gaiksaya Jul 8, 2025
ff63825
Add plugin build details to wiki (#5632)
gaiksaya Jul 8, 2025
c0475ac
Run gradle check job every two hours (#5633)
Divyaasm Jul 11, 2025
6e831fc
Stop build cron for 2.19.3 (#5636)
rishabh6788 Jul 15, 2025
2a7e37f
Add opensearch-prometheus-exporter to wss config (#5635)
Divyaasm Jul 15, 2025
c642bc1
[2.19.3] Manifest Commit Lock with action UPDATE_TO_RECENT_COMMITS (#…
opensearch-ci-bot Jul 16, 2025
d07c8ea
Upgrade lib version for Gradle tests issue creation (#5638)
Divyaasm Jul 16, 2025
cc94900
Upgrade jenkins lib version to 9.6.0 for docker-re-release job (#5640)
Divyaasm Jul 16, 2025
475ba42
Upgrade version to lib version to 9.6.0 in release chores workflow (#…
Divyaasm Jul 17, 2025
4a75db9
[2.19.3] Manifest Commit Lock with action UPDATE_TO_RECENT_COMMITS (#…
opensearch-ci-bot Jul 17, 2025
58099b3
Add docker image separation to test manifest (#5626)
peterzhuamazon Jul 17, 2025
8ae8a14
Update test manifest to use ubuntu systemd image (#5644)
peterzhuamazon Jul 17, 2025
fcd18f6
[2.19.3] Manifest Commit Lock with action UPDATE_TO_RECENT_COMMITS (#…
opensearch-ci-bot Jul 17, 2025
7118aaf
Fix docker staging prefix (#5646)
gaiksaya Jul 18, 2025
e2642d7
[2.19.3] Manifest Commit Lock with action UPDATE_TO_RECENT_COMMITS (#…
opensearch-ci-bot Jul 18, 2025
2ec18c3
Add dashboards-investigation to wss (#5648)
Divyaasm Jul 18, 2025
8274b65
Fix maven auto-publish for distribution (#5649)
gaiksaya Jul 18, 2025
093180e
[2.19.3] Manifest Commit Lock with action UPDATE_TO_RECENT_COMMITS (#…
opensearch-ci-bot Jul 18, 2025
9341780
Upgrade Jenkins and plugins version (#5613)
prudhvigodithi Jul 21, 2025
60899d8
[2.19.3] Manifest Commit Lock with action UPDATE_TO_RECENT_COMMITS (#…
opensearch-ci-bot Jul 21, 2025
7e5ecf6
Change lib for Gradle issue Creation job (#5653)
Divyaasm Jul 21, 2025
1d18c71
added release notes for 2.19.3
rishabh6788 Jul 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
codecov:
require_ci_to_pass: yes
disable_default_path_fixes: true

coverage:
status:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/groovy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- uses: actions/checkout@v3
- name: Run Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/os-increment-plugin-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Get JDK version
run: |
OS_VERSION=${{ env.OPENSEARCH_VERSION_NUMBER }}
OPENSEARCH_JAVA_VERSION_NUMBER=`curl -sSfL https://raw.githubusercontent.com/opensearch-project/opensearch-build/refs/heads/main/manifests/$OS_VERSION/opensearch-$OS_VERSION.yml | yq -r '.ci.image.args' | grep -oE 'openjdk-[0-9]*' | awk -F'-' '{ print $NF }'`
OPENSEARCH_JAVA_VERSION_NUMBER=`curl -sSfL https://raw.githubusercontent.com/opensearch-project/opensearch-build/refs/heads/main/manifests/$OS_VERSION/opensearch-$OS_VERSION.yml | yq -r '.ci.image.linux.tar.args' | grep -oE 'openjdk-[0-9]*' | awk -F'-' '{ print $NF }'`
echo "OPENSEARCH_JAVA_VERSION=$OPENSEARCH_JAVA_VERSION_NUMBER" >> $GITHUB_ENV
- name: Set up JDK ${{ env.OPENSEARCH_JAVA_VERSION }}
uses: actions/setup-java@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ jobs:
pipenv run mypy .
- name: Run Tests with Coverage
run: |
pipenv run coverage run -m pytest --cov=./src --cov-report=xml
pipenv run coverage run -m pytest --cov=./ --cov-report=xml
sed -i 's|<source>.*</source>|<source>opensearch-build</source>|' coverage.xml
- uses: actions/upload-artifact@v4
with:
name: coverage-report-${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ This project contains [Jenkins pipelines](jenkins) and [Jenkins shared libraries

#### Java

Use Java 11 for Jenkins jobs CI. This means you must have a JDK 11 installed with the environment variable `JAVA_HOME` referencing the path to Java home for your JDK installation, e.g. `JAVA_HOME=/usr/lib/jvm/jdk-11`. Download Java 11 from [here](https://adoptium.net/releases.html?variant=openjdk11).
Use Java 17 for running Jenkins CI tests. Ensure that JDK 17 is installed on your system and that the `JAVA_HOME` environment variable is correctly set to the JDK 17 installation path.

### Run Tests

Expand Down
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ types-PyYAML = "~=6.0.1"
# TODO: The 'requests' package stays on 2.28 until we deprecate CentOS7.
# As newer version requires openssl1.1.1 where CentOS7 only provides openssl1.1.0.
# https://github.com/opensearch-project/opensearch-build/issues/3554
requests = "==2.31.0"
requests = "==2.32.4"
types-requests = "~=2.25"
pre-commit = "~=2.15.0"
isort = "~=5.9"
Expand All @@ -19,7 +19,7 @@ flake8 = "~=3.9"
# https://github.com/opensearch-project/opensearch-build/issues/3704
mypy = "<=0.971"
pytest = "~=7.1.3"
coverage = "~=4.5.4"
coverage = "~=7.9.2"
pytest-cov = "~=2.10.0"
jproperties = "~=2.1.1"
retry = "~=0.9"
Expand Down
121 changes: 78 additions & 43 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 29 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ plugins {
id 'groovy'
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

repositories {
mavenCentral()
maven { url 'https://repo.jenkins-ci.org/releases/' }
Expand All @@ -34,17 +39,19 @@ dependencies {
testImplementation group: 'org.yaml', name: 'snakeyaml', version: '2.0'
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.4.1'
testImplementation group: 'com.lesfurets', name:'jenkins-pipeline-unit', version: '1.13'
testImplementation group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '3.1.8'
}

configurations.all {
resolutionStrategy {
force group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
force group: 'commons-codec', name: 'commons-codec', version: '1.15'
force group: 'com.google.protobuf', name: 'protobuf-java', version: '3.21.7'
force group: 'org.springframework.security', name: 'spring-security-web', version: '6.4.6'
force group: 'com.google.errorprone', name: 'error_prone_annotations', version: '2.18.0'
force group: 'org.checkerframework', name: 'checker-qual', version: '3.33.0'
force group: 'com.google.j2objc', name: 'j2objc-annotations', version: '2.8'
force group: 'org.jenkins-ci.plugins', name: 'durable-task', version: '547.vd1ea_007d100c'
force group: 'org.jenkins-ci.plugins', name: 'durable-task', version: '587.v84b_877235b_45'
}
}

Expand All @@ -64,23 +71,33 @@ sourceSets {
}

sharedLibrary {
coreVersion = '2.426.3' // https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-core/
testHarnessVersion = '2085.va_c531db_287b_d' // https://mvnrepository.com/artifact/org.jenkins-ci.main/jenkins-test-harness?repo=jenkins-releases
coreVersion = '2.492.3' // https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-core/
testHarnessVersion = '2457.vb_7281b_a_d62e8' // https://mvnrepository.com/artifact/org.jenkins-ci.main/jenkins-test-harness?repo=jenkins-releases
pluginDependencies {
// see https://mvnrepository.com/artifact/org.jenkins-ci.plugins/<name>?repo=jenkins-releases for latest
workflowCpsGlobalLibraryPluginVersion = '609.vd95673f149b_b'
dependency('io.jenkins.plugins', 'pipeline-groovy-lib', '613.v9c41a_160233f')
dependency('org.jenkins-ci.plugins.workflow', 'workflow-multibranch', '2.26.1')
dependency('org.jenkins-ci.plugins', 'pipeline-input-step', '456.vd8a_957db_5b_e9') // https://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/pipeline-input-step/
dependency('org.jenkins-ci.plugins', 'script-security', '1229.v4880b_b_e905a_6')
dependency('org.jenkins-ci.plugins', 'credentials', '1112.vc87b_7a_3597f6')
dependency('org.jenkins-ci.plugins', 'git-client', '3.11.1')
dependency('org.apache.sshd', 'sshd-core', '2.12.1')
dependency('org.jenkins-ci.plugins', 'junit', '1166.1168.vd6b_8042a_06de')
dependency('org.jenkins-ci.plugins', 'mailer', '408.vd726a_1130320') // https://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/mailer/
dependency('io.jenkins.plugins', 'pipeline-groovy-lib', '752.vdddedf804e72')
dependency('org.jenkins-ci.plugins.workflow', 'workflow-multibranch', '806.vb_b_688f609ee9')
dependency('org.jenkins-ci.plugins', 'pipeline-input-step', '527.vd61b_1d3c5078') // https://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/pipeline-input-step/
dependency('org.jenkins-ci.plugins', 'script-security', '1373.vb_b_4a_a_c26fa_00')
dependency('org.jenkins-ci.plugins', 'credentials', '1415.v831096eb_5534')
dependency('org.jenkins-ci.plugins', 'git-client', '6.2.0')
dependency('org.apache.sshd', 'sshd-core', '2.15.0')
dependency('org.jenkins-ci.plugins', 'junit', '1335.v6b_a_a_e18534e1')
dependency('org.jenkins-ci.plugins', 'mailer', '509.vc54d23fc427e') // https://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/mailer/
}
}

// Configure tasks to use Java 17
tasks.withType(JavaCompile) {
options.release = 17
}

tasks.withType(GroovyCompile) {
sourceCompatibility = '17'
targetCompatibility = '17'
}

test {
testLogging {
events "failed"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ Then build from source:
```bash
./build.sh manifests/3.0.0/opensearch-3.0.0.yml
```
_Please note that in order to build any plugin, core needs to be build as a dependency for non-snapshot version. Hence, it is recommended to build core along with plugin. Example:_
```
./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component OpenSearch common-utils
./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component OpenSearch-Dashboards observabilityDashboards
```

Additional arguments:

Expand Down
11 changes: 11 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
#
# SPDX-License-Identifier: Apache-2.0
#
# The OpenSearch Contributors require contributions made to
# this file be licensed under the Apache-2.0 license or a
# compatible open source license.
#
# Modifications Copyright OpenSearch Contributors. See
# GitHub history for details.
#

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
Expand Down
Loading
Loading