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

Abierto
#12,450 0 comentarios 0 reacciones 0 asignados Ver en GitHub
priority: p2 type: process
Lenguaje dominante
Java
Estrellas
2.1k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
154

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.