dart-lang / dart_ci

Tools used by Dart's continuous integration (CI) testing that aren't needed by Dart SDK contributors. Mirrored from dart.googlesource.com/dart_ci. Do not land pull requests on Github.
BSD 3-Clause "New" or "Revised" License
18 stars 5 forks source link

Cannot deploy new current_results_ui or results_feed without building both #145

Closed whesse closed 11 months ago

whesse commented 1 year ago

The deployment of the results_feed and the current_results_ui to Firestore hosting, at https://dart-ci.firebaseapp.com/, requires that both be built and be merged into a common deployment directory.

Because results_feed, in Angular Dart, is tricky to build, requiring Dart 2.10 stable and webdev 2.5.9, this makes it harder to update the current_results_ui.

There is no easy way to download the hosted deployment files from Firestore, only downloading them separately, just as a browser visiting the site would do.

I propose a workflow (which could be automated) of zipping up the builds and putting them in cloud storage, and only deploying builds by downloading them from stored builds, combining them, and deploying.

Building and uploading, and deploying, should be done by scripts, and could even be done using cloud build or LUCI builders.

@athomas @whesse

whesse commented 11 months ago

This is fixed - the current results UI is deployed to a separate host, and cloud build and deployment is implemented for both the results feed and the current results UI.