Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Maven release #1111

Merged
merged 15 commits into from Dec 9, 2022
Merged

feat: Add Maven release #1111

merged 15 commits into from Dec 9, 2022

Conversation

blakeli0
Copy link
Collaborator

@blakeli0 blakeli0 commented Dec 5, 2022

  • Add .kokoro folder for releasing gapic-generaotr-java as a jar.
    • It is mostly copied from .kokoro folder in gax-java, and only keeping the necessary.
  • Change release type from simple to java-yoshi
  • Update the pom version to match the current version.

version.txt Show resolved Hide resolved
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know we had internal discussions about java8 vs java11 for this image. No preference from my end in this PR, but this is something to keep in mind in the gapic monorepo.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unlike the other repos where we can compile with Java 11 and make the source compatible with Java 8, we have to compile gapic-generator-java in Java 8. It's not a dependency to client libraries, it has to load classes from Java 8 instead of Java 11 during compilation time.

@blakeli0 blakeli0 marked this pull request as ready for review December 9, 2022 03:32
@blakeli0 blakeli0 requested review from a team as code owners December 9, 2022 03:32
@blakeli0 blakeli0 changed the title feat: Add Maven release scripts. feat: Add Maven release Dec 9, 2022
pom.xml Show resolved Hide resolved
.kokoro/release/stage.sh Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Dec 9, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@blakeli0 blakeli0 merged commit 7941cc5 into main Dec 9, 2022
@blakeli0 blakeli0 deleted the add-maven-release branch December 9, 2022 20:22
@blakeli0 blakeli0 mentioned this pull request Jan 26, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants