You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are de-coupling the task of publishing the maven snapshots from centralized build workflow to individual repositories. What this means is each repo can now publish maven snapshots using GitHub Actions.
This change unblocks the dependent components from waiting for a successful build before they can consume the snapshots. This also ensures that all snapshots are independent and up to date.
What do you need to do?
Determine what artifacts you publish to maven. Most plugins publish only zips. Example.
Add below repository under publishing in build.gradle:
Add @gaiksaya as a reviewer, who will also take care of creating the IAM role that is required to fetch the credentials and add it to the GitHub Secrets.
Testing
Test by editing the snapshot repository by updating the Snapshots target repository from maven to a local file system path.
maven {
name = "Snapshots" // optional target repository name
url = "snapshots"
}
Run the command ./gradlew which will publish the files in the file system under the 'snapshots' folder, then scan with find or your favor directory scanner to see the zip + pom with sha files
@sean-zheng-amazon@Zhangxunmt@ylwu-amzn Can you please prioritize this effort? We will be disabling the snapshot upload through distribution build process by March 15 2023.
Please feel free to close this issue if this has been completed.
Coming from opensearch-build#3185
What is happening?
We are de-coupling the task of publishing the maven snapshots from centralized build workflow to individual repositories. What this means is each repo can now publish maven snapshots using GitHub Actions.
This change unblocks the dependent components from waiting for a successful build before they can consume the snapshots. This also ensures that all snapshots are independent and up to date.
What do you need to do?
publishing
in build.gradle:Example
./gradlew publishPluginZipPublicationToSnapshotsRepository
.Testing
Test by editing the snapshot repository by updating the Snapshots target repository from maven to a local file system path.
build.gradle
->
Run the command ./gradlew which will publish the files in the file system under the 'snapshots' folder, then scan with
find
or your favor directory scanner to see the zip + pom with sha filesPlease feel free to reach out to @opensearch-project/engineering-effectiveness.
The text was updated successfully, but these errors were encountered: