Skip to content

Commit d72d2b0

Browse files
Use updated CircleCI image (keybase#15670)
Remove temporary Android license hack.
1 parent 14681b8 commit d72d2b0

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎.circleci/config.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
parallelism: 1
1212

1313
docker:
14-
- image: keybaseprivate/circleci-client@sha256:25df30922fbb23014fd9d72a54f28d3bb0dd806adb1655ef43ca5a99c67c35a0
14+
- image: keybaseprivate/circleci-client@sha256:7db854b14509ee934ac86b4de16773ded4c136c9a88aae254dc4e9b42f711aea
1515
command: /sbin/init
1616

1717
steps:
@@ -44,11 +44,12 @@ jobs:
4444
BABEL_PLATFORM: ReactNative
4545
command: yarn run react-native bundle --verbose --platform android --dev false --entry-file index.android.js --bundle-output react-native/android/app/build/intermediates/assets/releaseUnsigned/index.android.bundle --assets-dest react-native/android/app/build/intermediates/res/merged/releaseUnsigned
4646

47-
# HACK: We should really be doing this in the Docker image.
48-
- run:
49-
command: echo 24333f8a63b6825ea9c5514f83c2829b004d1fee >> $ANDROID_HOME/licenses/android-sdk-license
50-
51-
# Build app
47+
# Build app.
48+
#
49+
# If the below fails with e.g. 'License for package Android SDK
50+
# Build-Tools 27.0.3 not accepted.', that probably means that the
51+
# CircleCI docker needs to be rebuilt. As a short term hack, we could
52+
# do also append to the license file here.
5253
- run:
5354
working_directory: shared/react-native/android
5455
environment:

0 commit comments

Comments
 (0)