Publish Maven packages from CI #51

Merged
orikik merged 2 commits from potyarkin/frostfs-sdk-java:feature/publish-maven-package into master 2025-03-10 12:06:14 +00:00
Member

Related: #49
Blocked by: TrueCloudLab/action-env#8


@orikik, in TrueCloudLab/action-env#8 I add a configuration stub for settings.xml. According to documentation it should work but I don't know of a better way to confirm that other than to try to use it from this job. I also copied your mvn clean ... deploy command without any understanding of if/how it works.

The secrets referenced here (${{secrets.*}}) are not yet added to the repository settings. I'll do that via admin web UI soon.
I've added the secrets referenced here to repository settings. They will not be available to jobs triggered by incoming PRs, no security problems here.

Feel free to take over this branch/PR if you need to make multiple small edits that are faster to do than to explain.

Related: #49 Blocked by: https://git.frostfs.info/TrueCloudLab/action-env/pulls/8 --- @orikik, in https://git.frostfs.info/TrueCloudLab/action-env/pulls/8 I add a configuration stub for settings.xml. [According to documentation](https://maven.apache.org/settings.html) it should work but I don't know of a better way to confirm that other than to try to use it from this job. I also copied your `mvn clean ... deploy` command without any understanding of if/how it works. ~~The secrets referenced here (`${{secrets.*}}`) are not yet added to the repository settings. I'll do that via admin web UI soon.~~ I've added the secrets referenced here to repository settings. They will not be available to jobs triggered by incoming PRs, no security problems here. Feel free to take over this branch/PR if you need to make multiple small edits that are faster to do than to explain.
potyarkin added 2 commits 2025-03-10 11:43:11 +00:00
Signed-off-by: Ori Bruk <o.bruk@yadro.com>
[#49] ci: Publish SDK packages to our Maven registry
All checks were successful
DCO / DCO (pull_request) Successful in 26s
Verify code phase / Verify code (pull_request) Successful in 1m34s
/ Publish Maven packages (push) Successful in 1m44s
c2d70c4f3e
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
requested review from orikik 2025-03-10 11:43:26 +00:00
orikik approved these changes 2025-03-10 12:05:10 +00:00
Dismissed
orikik changed title from WIP: Publish Maven packages from CI to Publish Maven packages from CI 2025-03-10 12:05:21 +00:00
requested review from orikik 2025-03-10 12:05:21 +00:00
orikik approved these changes 2025-03-10 12:05:38 +00:00
orikik merged commit c2d70c4f3e into master 2025-03-10 12:06:14 +00:00
potyarkin deleted branch feature/publish-maven-package 2025-03-10 12:24:50 +00:00
Sign in to join this conversation.
No description provided.