From 95f2fb9559df6093a8b3db6c8cc30241b1d78728 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 5 Oct 2018 18:29:38 +0200 Subject: [PATCH 1/3] Manyverse: Remove appium dependency It fails to build on the build server and is not needed anyway --- metadata/se.manyver.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/metadata/se.manyver.yml b/metadata/se.manyver.yml index 39710fe1a4..fa34002047 100644 --- a/metadata/se.manyver.yml +++ b/metadata/se.manyver.yml @@ -41,6 +41,7 @@ Builds: cp -a node-v8.11.4-linux-x64/. /usr/local/ && \ npm install -g react-native-cli init: |- + sed -i -e '/appium/d' ../../package.json && \ npm install && \ truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel gradle: @@ -50,13 +51,7 @@ Builds: rm: - node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar - node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar - - node_modules/appium/node_modules/appium-adb/jars/ - - node_modules/appium/node_modules/appium-uiautomator/test/fixtures/*.jar - - node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/*.jar - - node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download/*.jar - node_modules/*/build/Release/*.node - - node_modules/appium/node_modules/heapdump/build/Release/*.node - - node_modules/appium/node_modules/heapdump/build/Release/obj.target/*.node - node_modules/sodium-native/prebuilds/ - node_modules/react-native-android-wifi/Examples/ scanignore: From 4c675fdb79384cdb8314fc4bf6cd8a00b6a5afd2 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 5 Oct 2018 19:14:53 +0200 Subject: [PATCH 2/3] Manyverse: Install g++ on the build server Some node modules require it --- metadata/se.manyver.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/metadata/se.manyver.yml b/metadata/se.manyver.yml index fa34002047..97e38d0808 100644 --- a/metadata/se.manyver.yml +++ b/metadata/se.manyver.yml @@ -35,6 +35,7 @@ Builds: commit: v0.18.10-02.beta subdir: android/app sudo: |- + apt-get install -y g++ && \ curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.4/node-v8.11.4-linux-x64.tar.xz && \ echo "85ea7cbb5bf624e130585bfe3946e99c85ce5cb84c2aee474038bdbe912f908c node.tar.xz" | sha256sum -c - && \ tar xJf node.tar.xz && \ From a6f71cef052545ecf8d8a30d6f32c1aec6709469 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Fri, 5 Oct 2018 19:18:11 +0200 Subject: [PATCH 3/3] Manyverse: Explain why we remove appium --- metadata/se.manyver.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/metadata/se.manyver.yml b/metadata/se.manyver.yml index 97e38d0808..36fbf2088f 100644 --- a/metadata/se.manyver.yml +++ b/metadata/se.manyver.yml @@ -67,9 +67,10 @@ Builds: npm run build-android-assets ndk: r17b -MaintainerNotes: scanignore is used to allow the "node_modules/react-native/android" - local Maven repository which contains the prebuilt react-native library which - we get from npm. +MaintainerNotes: |- + scanignore is used to allow the "node_modules/react-native/android" local Maven repository which contains the prebuilt react-native library which we get from npm. + + appium is removed because it fails to build on the build server due to some missing dev dependencies and we don't need it anyway. AutoUpdateMode: Version v%v UpdateCheckMode: Tags