Skip to content

Output artifact list during local publishing. #515

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

Merged
merged 1 commit into from
Jun 13, 2019

Conversation

allisonbm92
Copy link
Contributor

This effort replaces #494 by generating a list of artifacts instead of selectively publishing them. The publishAllToBuildDir task now produces an extra JSON file containing the names of all published artifacts. It also includes the artifacts that are affected by the most recent commit.

Our compatibility testing infrastructure will be able to use this listing to build two variants of the tests: one against head and the other against the latest release (except for the affected artifacts).

@googlebot googlebot added the cla: yes Override cla label Jun 12, 2019
@allisonbm92 allisonbm92 force-pushed the allison-publish-list branch 3 times, most recently from fc6c8fc to dc3c3ed Compare June 12, 2019 18:05
Copy link
Member

@vkryachko vkryachko left a comment

Choose a reason for hiding this comment

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

Added one initial comment, still reviewing the rest

@allisonbm92 allisonbm92 force-pushed the allison-publish-list branch from dc3c3ed to 8c65245 Compare June 12, 2019 20:16
Copy link
Member

@vkryachko vkryachko left a comment

Choose a reason for hiding this comment

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

Thinking out loud.

Do you mind extracting all this logic into a dedicated plugin to keep plugins cohesive? As we've historically had problems with putting too much unrelated code into plugins, making them harder to test and maintain.

Additionally I think it makes sense to have the json file generated only if requested on the command line explicitly, e.g. smoke tests could run

./gradlew generateChangedArtifactNames publishAllToBuildDir

wdyt?

@allisonbm92
Copy link
Contributor Author

@vkryachko PTAL

@allisonbm92 allisonbm92 merged commit b69b2c8 into master Jun 13, 2019
@allisonbm92 allisonbm92 deleted the allison-publish-list branch June 13, 2019 19:46
diwu-arete added a commit that referenced this pull request Jun 18, 2019
…sts for it. (#524)

* Add type arguments in StorageTaskManager (#517)

* Output artifact list during local publishing. (#515)

This effort replaces #494.

* Implement Firebase segmentation SDK device local cache

* fix functions (#523)

* fix functions

* update minsdk version

* remove idea

* Set test type to release only in CI. (#522)

* Set test type to release only in CI.

This fixes Android Studio issue, where it is impossible to run
integration tests in debug mode.

Additionally move build type configuration to FirebaseLibraryPlugin to
avoid projects.all configuration in gradle.

* Add comment back.

* [Firebase Segmentation] Add custom installation id cache layer and tests for it.

* Add test for updating cache

* Switch to use SQLiteOpenHelper

* Minor fix to error message to match the admin sdk. (#525)

* Minor fix to error message to match the admin sdk.

In particular, it *is* allowed to have slashes, etc in field paths.

* Added clean task to smoke tests. (#527)

This change allows the smoke tests to clean all build variants created
by the infrastructure.

* Update deps to post-androidx gms versions. (#526)

* Update deps to post-androidx gms versions.

Additionally configure sources.jar for SDKs.

* Update functions-ktx deps

* Fix versions.

* unbump fiam version in fiamui-app

* Switch to use SharedPreferences from SQLite.

* Change the cache class to be singleton

* Copy firebase-firestore-ktx dependencies on firestore into its own subfolder (#528)

* Wrap shared pref commit in a async task.

* Address comments

* Bump firestore version for release (#530)

Additionally fix pom filter to exclude multidex from deps.

* Google format fix
@firebase firebase locked and limited conversation to collaborators Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants