-
Notifications
You must be signed in to change notification settings - Fork 341
Module name changes structure change #1394
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
Conversation
…d. only trigger format at generate-all.sh
…ring-cloud-previews/pom to spring-cloud-gcp/pom profile.
This is part 2 of implementation for repo structural changes in [PoC](GoogleCloudPlatform/spring-cloud-gcp#1383). Changes in Pom string: - changed parent to `spring-cloud-gcp-starters` and version with "-preview" suffix - removed client library version (should inherit from Libraries BOM). Corresponding changes in spring-cloud-gcp: GoogleCloudPlatform/spring-cloud-gcp#1394
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One additional note that doesn't have to be a part of this PR: given the folder name changes, we should also update the github actions IT suppression from earlier (cc/ @diegomarquezp):
spring-cloud-gcp/.github/workflows/integrationTests.yaml
Lines 10 to 11 in c636695
- 'generator/**' | |
- 'generated/**' |
@@ -73,40 +73,46 @@ bazel build //$googleapis_folder:"$client_lib_name"_java_gapic_spring | |||
cd - | |||
|
|||
## copy spring code to outside | |||
mkdir -p ../generated | |||
cp googleapis/bazel-bin/$googleapis_folder/"$client_lib_name"_java_gapic_spring-spring.srcjar ../generated | |||
mkdir -p ../spring-cloud-previews |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: could we maybe use an exit code to condition these post-process / add to pom steps on the success status of the bazel build call above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added exit on error option to address this for now (commit).
I will keep track of a separate task to improve error handling overall.
Kudos, SonarCloud Quality Gate passed!
|
- Integration tests: update path to ignore affected by change in #1394 (review) - Sonar: also disable sonar workflow for generated modules.
This folder/file is not needed anymore. it must have fall through the cracks and missed in #1394.
This folder/file is not needed anymore. it must have fall through the cracks and missed in #1394.
This is part 1 of implementation for #1383.
Changes include:
generate-one.sh
change to add generated module tospring-cloud-gcp-starters
spring-cloud-previews
folder.fmt-maven-plugin
to spring-cloud-gcp/pom with default set to skip.spring-cloud-gcp-dependencies
version inheritance issue.spring-cloud-gcp-starters/pom.xml
format change: replaced tabs with whitespaces, added comment marker for inserting generated modules.Changes that needs to happen on the generator side:
spring-cloud-gcp-starters
as parent.preview
suffix to generated module versions.