From 0f980e5e019417cc10ff0eb7fd9dd772512cd314 Mon Sep 17 00:00:00 2001 From: Michael Klimushyn Date: Fri, 26 Jul 2019 15:39:48 -0700 Subject: [PATCH] Add better CIPD docs. (flutter/engine#10185) Also commits cipd.yaml to source. --- .../src/flutter/shell/platform/android/test/README.md | 11 +++++++---- .../src/flutter/shell/platform/android/test/cipd.yaml | 4 ++++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 engine/src/flutter/shell/platform/android/test/cipd.yaml diff --git a/engine/src/flutter/shell/platform/android/test/README.md b/engine/src/flutter/shell/platform/android/test/README.md index 081be70d4a8..ac6edc64299 100644 --- a/engine/src/flutter/shell/platform/android/test/README.md +++ b/engine/src/flutter/shell/platform/android/test/README.md @@ -55,11 +55,14 @@ runtime, but not compile time. If so you'll just need to update See the Chromium instructions on ["Updating a CIPD dependency"](https://chromium.googlesource.com/chromium/src/+/master/docs/cipd.md#Updating-a-CIPD-dependency) -for how to upload a package update to CIPD. +for how to upload a package update to CIPD. Download and extract the latest +package from CIPD and then copy +[shell/platform/android/test/cipd.yaml](cipd.yaml) into the extracted directory +to use as the base for the pre-existing package. Add new dependencies to `lib/`. -Once you've done that, also make sure to tag the new package version with the -updated timestamp and robolectric version (most likely still 3.8, unless you've -migrated all the packges to 4+). +Once you've uploaded the new version, also make sure to tag it with the updated +timestamp and robolectric version (most likely still 3.8, unless you've migrated +all the packges to 4+). $ cipd set-tag --version= -tag "last_updated:" $ cipd set-tag --version= -tag "robolectric_version:" diff --git a/engine/src/flutter/shell/platform/android/test/cipd.yaml b/engine/src/flutter/shell/platform/android/test/cipd.yaml new file mode 100644 index 00000000000..ebb96128625 --- /dev/null +++ b/engine/src/flutter/shell/platform/android/test/cipd.yaml @@ -0,0 +1,4 @@ +package: flutter/android/robolectric_bundle +description: Robolectric 3.8 and associated runtime dependencies. +data: + - dir: lib