Skip to content

Commit 3e00e3d

Browse files
committed
Merge remote-tracking branch 'origin/main' into matched-queries-score
# Conflicts: # CHANGELOG.md
2 parents 3015d5a + 50e47c8 commit 3e00e3d

115 files changed

Lines changed: 11299 additions & 591 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ci/opensearch/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ ARG opensearch_yml=$opensearch_path/config/opensearch.yml
66

77
ARG SECURE_INTEGRATION
88
ENV OPENSEARCH_INITIAL_ADMIN_PASSWORD=0_aD^min_0
9+
10+
# Copy custom opensearch.yml with gRPC transport configuration
11+
COPY opensearch.yml $opensearch_yml
12+
913
RUN if [ "$SECURE_INTEGRATION" != "true" ] ; then echo "plugins.security.disabled: true" >> $opensearch_yml; fi

.ci/opensearch/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ services:
1414
- bootstrap.memory_lock=true
1515
ports:
1616
- "9200:9200"
17+
- "9400:9400"
1718
user: opensearch

.ci/opensearch/opensearch.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
cluster.name: "docker-cluster"
22
network.host: 0.0.0.0
3+
4+
# gRPC transport configuration
5+
aux.transport.types: [transport-grpc]
6+
aux.transport.transport-grpc.port: '9400'

.github/workflows/add-untriaged.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ on:
44
issues:
55
types: [opened, reopened, transferred]
66

7+
permissions:
8+
issues: write
9+
710
jobs:
811
apply-label:
912
runs-on: ubuntu-latest
1013
steps:
11-
- uses: actions/github-script@v8
14+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
1215
with:
1316
script: |
1417
github.rest.issues.addLabels({

.github/workflows/backport.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,12 @@
1+
---
12
name: Backport
23
on:
34
pull_request_target:
4-
types:
5-
- closed
6-
- labeled
5+
types: [closed, labeled]
76

87
jobs:
98
backport:
10-
if: ${{ contains(github.event.label.name, 'backport') }}
11-
runs-on: ubuntu-latest
12-
permissions:
13-
contents: write
14-
pull-requests: write
15-
name: Backport
16-
steps:
17-
- name: GitHub App token
18-
id: github_app_token
19-
uses: actions/create-github-app-token@v3
20-
with:
21-
app-id: ${{ secrets.APP_ID }}
22-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
23-
24-
- name: Backport
25-
uses: VachaShah/backport@v2.2.0
26-
with:
27-
github_token: ${{ steps.github_app_token.outputs.token }}
28-
head_template: backport/backport-<%= number %>-to-<%= base %>
9+
if: github.repository == 'opensearch-project/opensearch-java'
10+
uses: opensearch-project/opensearch-build/.github/workflows/backport-pr.yml@main
11+
secrets:
12+
OPENSEARCH_CI_BOT_TOKEN: ${{ secrets.OPENSEARCH_CI_BOT_TOKEN }}

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
os: [ubuntu-latest, windows-latest, macOS-14, macOS-latest]
1212
steps:
1313
- name: Checkout Java Client
14-
uses: actions/checkout@v6
14+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1515

1616
- name: Set up JDK ${{ matrix.java }}
17-
uses: actions/setup-java@v5
17+
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
1818
with:
1919
java-version: ${{ matrix.java }}
2020
distribution: 'temurin'

.github/workflows/bump-version.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
steps:
2020
- name: Generate GitHub App Token
2121
id: github_app_token
22-
uses: actions/create-github-app-token@v3
22+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
2323
with:
2424
app-id: ${{ secrets.APP_ID }}
2525
private-key: ${{ secrets.APP_PRIVATE_KEY }}
2626

2727
- name: Checkout .github/actions directory
28-
uses: actions/checkout@v6
28+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2929
with:
3030
path: gh
3131
sparse-checkout: |
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- name: Checkout .github/actions directory
48-
uses: actions/checkout@v6
48+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4949
with:
5050
path: gh
5151
sparse-checkout: |
@@ -110,15 +110,15 @@ jobs:
110110
111111
- name: Generate GitHub App Token
112112
id: github_app_token
113-
uses: actions/create-github-app-token@v3
113+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
114114
if: env.is_version_tag == 'true' || env.is_patch_indev_branch == 'true' || env.is_minor_indev_branch == 'true'
115115
with:
116116
app-id: ${{ secrets.APP_ID }}
117117
private-key: ${{ secrets.APP_PRIVATE_KEY }}
118118

119119
- name: Create ${{ env.patch_indev_branch_name }} Branch
120120
if: false && env.is_minor_bump == 'true'
121-
uses: peterjgrainger/action-create-branch@v3.0.0
121+
uses: peterjgrainger/action-create-branch@4b81ce657e255acd677cc6c55c9c763654be3aef # v4.0.0
122122
with:
123123
branch: ${{ env.patch_indev_branch_name }}
124124
sha: ${{ github.sha }}
@@ -127,7 +127,7 @@ jobs:
127127

128128
- name: Create ${{ env.minor_indev_branch_name }} Branch
129129
if: env.is_major_bump == 'true'
130-
uses: peterjgrainger/action-create-branch@v3.0.0
130+
uses: peterjgrainger/action-create-branch@4b81ce657e255acd677cc6c55c9c763654be3aef # v4.0.0
131131
with:
132132
branch: ${{ env.minor_indev_branch_name }}
133133
sha: ${{ github.sha }}

.github/workflows/changelog_verifier.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
verify-changelog:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v6
11+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1212
with:
1313
token: ${{ secrets.GITHUB_TOKEN }}
1414
ref: ${{ github.event.pull_request.head.sha }}
1515

16-
- uses: dangoslen/changelog-enforcer@v3
16+
- uses: dangoslen/changelog-enforcer@8b5e9dc3121363bb7c0115f8533404d92af382de # v3.7.0
1717
with:
1818
skipLabels: "autocut, skip-changelog"

.github/workflows/code-generation.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout Java Client
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1717

1818
- name: Set up JDK
19-
uses: actions/setup-java@v5
19+
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
2020
with:
2121
java-version: 21
2222
distribution: 'temurin'
@@ -48,10 +48,10 @@ jobs:
4848
pull-requests: write
4949
steps:
5050
- name: Checkout Java Client
51-
uses: actions/checkout@v6
51+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5252

5353
- name: Set up JDK
54-
uses: actions/setup-java@v5
54+
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5
5555
with:
5656
java-version: 21
5757
distribution: 'temurin'
@@ -67,13 +67,13 @@ jobs:
6767
- name: Generate GitHub App Token
6868
if: github.repository == 'opensearch-project/opensearch-java'
6969
id: github_app_token
70-
uses: actions/create-github-app-token@v3
70+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
7171
with:
7272
app-id: ${{ secrets.APP_ID }}
7373
private-key: ${{ secrets.APP_PRIVATE_KEY }}
7474

7575
- name: Create Pull Request
76-
uses: peter-evans/create-pull-request@v8
76+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
7777
with:
7878
token: ${{ steps.github_app_token.outputs.token || secrets.GITHUB_TOKEN }}
7979
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

.github/workflows/delete-merged-autocut-branches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
contents: write
1818
steps:
1919
- name: Delete merged branch
20-
uses: actions/github-script@v8
20+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
2121
with:
2222
script: |
2323
github.rest.git.deleteRef({

0 commit comments

Comments
 (0)