googleapis / googleapis/google-cloud-java

[sdk-platform-java] Integration test, `test_generate_repo`, failed because difference found in `README.md` after releasing a new version of google-cloud-java

未关闭
#12,450 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p2 type: process
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

The integration test is to make sure no difference between certain libraries generated by `generated_repo.py` and google-cloud-java (at a specific committish).

We use a test branch of google-cloud-java, `test-hermetic-build`, to compare files so that files are locked. However, when generating `README.md`, the version of the library will be the latest version found in Maven central, thus we need to manually change the version in `README.md` in the test branch after a release of google-cloud-java.

The version is listed in following sections:

```

com.google.cloud
google-cloud-alloydb
0.26.0

implementation 'com.google.cloud:google-cloud-alloydb:0.26.0'

libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.26.0"

[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.26.0
```

We shouldn't need to manually modify the version after releasing google-cloud-java to maintain integration tests.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。