-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
- Loading branch information
1 parent
6447300
commit 892b30e
Showing
8 changed files
with
173 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Gradle Assemble | ||
on: [pull_request] | ||
|
||
jobs: | ||
assemble: | ||
if: github.repository == 'opensearch-project/OpenSearch' | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
java: [ 11 ] | ||
os: [ubuntu-latest, windows-latest, macos-13] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
distribution: temurin | ||
- name: Setup docker (missing on MacOS) | ||
if: runner.os == 'macos' | ||
uses: douglascamata/setup-docker-macos-action@main | ||
- name: Run Gradle (assemble) | ||
if: ${{ runner.os == 'Windows' }} | ||
run: | | ||
./gradlew assemble -x :distribution:docker:buildArm64DockerImage -x :distribution:docker:buildDockerImage -x :distribution:docker:buildPpc64leDockerImage --parallel --no-build-cache -PDISABLE_BUILD_CACHE | ||
- name: Run Gradle (assemble) | ||
if: ${{ runner.os != 'Windows' }} | ||
run: | | ||
./gradlew assemble --parallel --no-build-cache -PDISABLE_BUILD_CACHE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Copy labels from linked issues | ||
on: | ||
pull_request_target: | ||
types: [opened, edited, review_requested, synchronize, reopened, ready_for_review] | ||
|
||
jobs: | ||
copy-issue-labels: | ||
if: github.repository == 'opensearch-project/OpenSearch' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: read | ||
contents: read | ||
pull-requests: write | ||
steps: | ||
- name: copy-issue-labels | ||
uses: michalvankodev/copy-issue-labels@v1.3.0 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
labels-to-exclude: | | ||
untriaged | ||
triaged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters