Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions .github/workflows/assemble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-15, ubuntu-24.04-arm]
steps:
- uses: actions/checkout@v5
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
- name: Remove unnecessary files Linux
if: ${{ runner.os == 'Linux' }}
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v5
with:
Expand Down
14 changes: 12 additions & 2 deletions distribution/archives/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* under the License.
*/

import org.opensearch.gradle.JavaPackageType
import org.opensearch.gradle.JavaPackageType

apply plugin: 'opensearch.internal-distribution-archive-setup'

Expand Down Expand Up @@ -193,7 +193,7 @@ distribution_archives {
}
}


linuxPpc64leTar {
archiveClassifier = 'linux-ppc64le'
content {
Expand Down Expand Up @@ -244,6 +244,16 @@ subprojects {
group = "org.opensearch.distribution"
}

tasks.configureEach { t ->
if (t.name ==~ /^build.+Tar$/) {
def base = t.name - 'Tar' // buildLinuxTar -> buildLinux
def stage = tasks.findByName(base)
if (stage != null) {
t.dependsOn(stage)
}
}
}

tasks.each {
if (it.name.startsWith("build")) {
it.dependsOn project(':libs:agent-sm:agent').assemble
Expand Down
Loading