Skip to content

Conversation

@BenWhitehead
Copy link
Contributor

In com.google.cloud:google-cloud-shared-config:0.3.1 integration tests
are skipped by default to reduce friction from contributors that do not
have a service account or access to GCP services. This change updates
our templates to provide instructions on how to enable integration tests
as well as passing the necessary arguments to our builds.

With the incorporation of Code Samples into the project repos we need
new configuration and control in maven to allow building on jdk7 and
excluding samples from release deploy builds. This change adds new build
configs for samples and a new target to build.sh to build samples.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 18, 2019
@BenWhitehead
Copy link
Contributor Author

@chingor13 please review.

/cc @elharo @stephaniewang526

</project>
```

2. [Activate](#profile-activation) the profile.
Copy link
Contributor

Choose a reason for hiding this comment

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

you don't need to activate now. That's done at runtime. This step can be deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Activation can be done via settings.xml so that it's not needed on the command line, this leaves the option for folks to pick which activation they want to use.

respected by IntelliJ IDEA) and is recommended if you are going to be
contributing samples to several projects.

#### IntelliJ IDEA
Copy link
Contributor

Choose a reason for hiding this comment

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

This IntelliJ section isn't needed given the above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If the developer picks to add it to their settings.xml true, but if they don't this helps them do it (maybe for a single project instead of several).

@BenWhitehead
Copy link
Contributor Author

@chingor13 I've rebased to clean up any conflicts. This should be ready to merge now with the passing checks.

…ble-samples maven profiles

In `com.google.cloud:google-cloud-shared-config:0.3.1` integration tests
are skipped by default to reduce friction from contributors that do not
have a service account or access to GCP services. This change updates
our templates to provide instructions on how to enable integration tests
as well as passing the necessary arguments to our builds.

With the incorporation of Code Samples into the project repos we need
new configuration and control in maven to allow building on jdk7 and
excluding samples from release deploy builds. This change adds new build
configs for samples and a new target to build.sh to build samples.
@chingor13 chingor13 merged commit e09bfdc into googleapis:master Jan 6, 2020
@BenWhitehead BenWhitehead deleted the it-sample-profile-support branch January 6, 2020 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants