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

chore: update DocFX profile and remove obsolete kokoro configs #2459

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

alicejli
Copy link
Contributor

We have moved the release jobs to Google3. This removes the obsolete kokoro configs.

Javadoc generation has been broken for a while. This updates the DocFx profile such that mvn javadoc:aggregate can be run successfully. The other part of this fix will be within g3.

Fixes #2458☕️

@alicejli alicejli requested a review from a team as a code owner March 25, 2024 20:45
Copy link

Warning: This pull request is touching the following templated files:

  • .kokoro/release/bump_snapshot.cfg
  • .kokoro/release/common.cfg
  • .kokoro/release/common.sh
  • .kokoro/release/drop.cfg
  • .kokoro/release/drop.sh
  • .kokoro/release/promote.cfg
  • .kokoro/release/promote.sh
  • .kokoro/release/publish_javadoc.cfg
  • .kokoro/release/publish_javadoc.sh
  • .kokoro/release/publish_javadoc11.cfg
  • .kokoro/release/publish_javadoc11.sh
  • .kokoro/release/snapshot.cfg
  • .kokoro/release/snapshot.sh
  • .kokoro/release/stage.cfg
  • .kokoro/release/stage.sh

@product-auto-label product-auto-label bot added the size: xl Pull request size is extra large. label Mar 25, 2024
Comment on lines +643 to +657
<configuration>
<executable>bash</executable>
<arguments>
<argument>-c</argument>
<argument><![CDATA[
if [ ! -d "play-services" ]; then
mkdir play-services &&
cd play-services &&
curl --output play-services-basement-8.3.0.aar https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/8.3.0/play-services-basement-8.3.0.aar &&
unzip play-services-basement-8.3.0.aar &&
mvn install:install-file -Dfile=classes.jar -DgroupId=com.google.android.google-play-services -DartifactId=google-play-services -Dversion=1 -Dpackaging=jar
fi
]]></argument>
</arguments>
</configuration>
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this for?

Copy link
Member

Choose a reason for hiding this comment

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

I remember there's a very strange artifact that is not published to Maven Central but available in the dl.google.com site.

Copy link
Contributor

@lqiu96 lqiu96 Mar 26, 2024

Choose a reason for hiding this comment

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

IIRC, it's for the one-time step up to install google-play-services (meant to be done to build locally so we can run build locally): https://github.com/googleapis/google-api-java-client?tab=readme-ov-file#one-time-setup

I don't think it'll break anything, but I'm not sure if we should/need to add it in to the pom. Maybe we can put this behind a profile? Or maybe we can keep it in since it'll save us a step when building locally.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need it for the javadoc job to run successfully; this addition is part of the DocFx profile

@alicejli alicejli merged commit 2ac1957 into main Mar 26, 2024
17 checks passed
@alicejli alicejli deleted the updateDocFxProfile branch March 26, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xl Pull request size is extra large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

External documentation is outdated - latest published version is 2.1.2
4 participants