notesnook - disable failing

This commit is contained in:
Licaon_Kter 2024-11-25 09:08:56 +00:00
parent 171673448c
commit 61dc014a78

View file

@ -9407,320 +9407,9 @@ Builds:
- reactNativeArchitectures=x86_64
- fdroidBuild=true
- versionName: 3.0.21
versionCode: 15156
commit: 86bf8f68bfba7fc38b73df9c53b01a9308b0058f
subdir: apps/mobile/native/android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- apt-get update
- apt-get install -y --no-install-recommends g++ build-essential
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz
- echo "bf3a779bef19452da90fb88358ec2c57e0d2f882839b20dc6afc297b6aafc0d7 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
init:
- cd ../../../../..
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=mobile
- npx nx run @notesnook/mobile:build
gradle:
- yes
rm:
- extensions
- apps/desktop
- apps/web
- packages/clipper
prebuild:
- sed -i -e 's|<uses-permission android:name="com.android.vending.BILLING" />||g'
./src/main/AndroidManifest.xml
- cd ../../
- echo GITHUB_RELEASE=true > .env
- sed -i -e 's|false|true|g' react-native.config.js
- sed -i -e '/installReferrerVersion/,+11d' ../node_modules/react-native-device-info/android/build.gradle
- pushd node_modules/react-native-fingerprint-scanner/android
- sed -i -e '/FingerprintIdentify/d' build.gradle
- sed -i -e '/getFingerprintIdentify() {/,/^ }/d' -e '/resumeIdentify/,/^ }/c}'
-e '/legacyGetErrorMessage() {/,/^ }/d' -e 's/legacyGetErrorMessage()/"LegacyAndroid"/g'
-e '/FingerprintIdentify/Id' src/main/java/com/hieuvp/fingerprint/ReactNativeFingerprintScannerModule.java
- popd
scanignore:
- apps/mobile/native/android/build.gradle
- apps/mobile/node_modules/@ammarahmed/react-native-share-extension/android/build.gradle
- apps/mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- apps/mobile/node_modules/jsc-android
- apps/mobile/node_modules/react-native/*
- apps/mobile/node_modules/react-native-actions-shortcuts/android/build.gradle
- apps/mobile/node_modules/react-native-blob-util/android/build.gradle
- apps/mobile/node_modules/react-native-bootsplash/android/build.gradle
- apps/mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- apps/mobile/node_modules/react-native-device-info/android/build.gradle
- apps/mobile/node_modules/react-native-document-picker/android/build.gradle
- apps/mobile/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile/node_modules/react-native-gzip/android/build.gradle
- apps/mobile/node_modules/react-native-keychain/android/build.gradle
- apps/mobile/node_modules/@react-native-masked-view/masked-view/android/build.gradle
- apps/mobile/node_modules/react-native-reanimated/android/build.gradle
- apps/mobile/node_modules/react-native-safe-area-context/android/build.gradle
- apps/mobile/node_modules/react-native-screens/android/build.gradle
- apps/mobile/node_modules/react-native-securerandom/android/build.gradle
- apps/mobile/node_modules/react-native-share/android/build.gradle
- apps/mobile/node_modules/react-native-svg/android/build.gradle
- apps/mobile/node_modules/react-native-vector-icons/android/build.gradle
- apps/mobile/node_modules/react-native-webview/android/build.gradle
- apps/mobile/node_modules/@sayem314/react-native-keep-awake/android/build.gradle
scandelete:
- .nx/cache
- apps/mobile/node_modules
- node_modules
- packages
- servers/themes/node_modules
build:
- rm -rf ../../../node_modules/react-native-mmkv-storage/android/react-native*
- gradle clean
ndk: r23c
gradleprops:
- buildUniversalApk=false
- reactNativeArchitectures=armeabi-v7a
- fdroidBuild=true
- versionName: 3.0.21
versionCode: 15157
commit: 86bf8f68bfba7fc38b73df9c53b01a9308b0058f
subdir: apps/mobile/native/android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- apt-get update
- apt-get install -y --no-install-recommends g++ build-essential
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz
- echo "bf3a779bef19452da90fb88358ec2c57e0d2f882839b20dc6afc297b6aafc0d7 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
init:
- cd ../../../../..
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=mobile
- npx nx run @notesnook/mobile:build
gradle:
- yes
rm:
- extensions
- apps/desktop
- apps/web
- packages/clipper
prebuild:
- sed -i -e 's|<uses-permission android:name="com.android.vending.BILLING" />||g'
./src/main/AndroidManifest.xml
- cd ../../
- echo GITHUB_RELEASE=true > .env
- sed -i -e 's|false|true|g' react-native.config.js
- sed -i -e '/installReferrerVersion/,+11d' ../node_modules/react-native-device-info/android/build.gradle
- pushd node_modules/react-native-fingerprint-scanner/android
- sed -i -e '/FingerprintIdentify/d' build.gradle
- sed -i -e '/getFingerprintIdentify() {/,/^ }/d' -e '/resumeIdentify/,/^ }/c}'
-e '/legacyGetErrorMessage() {/,/^ }/d' -e 's/legacyGetErrorMessage()/"LegacyAndroid"/g'
-e '/FingerprintIdentify/Id' src/main/java/com/hieuvp/fingerprint/ReactNativeFingerprintScannerModule.java
- popd
scanignore:
- apps/mobile/native/android/build.gradle
- apps/mobile/node_modules/@ammarahmed/react-native-share-extension/android/build.gradle
- apps/mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- apps/mobile/node_modules/jsc-android
- apps/mobile/node_modules/react-native/*
- apps/mobile/node_modules/react-native-actions-shortcuts/android/build.gradle
- apps/mobile/node_modules/react-native-blob-util/android/build.gradle
- apps/mobile/node_modules/react-native-bootsplash/android/build.gradle
- apps/mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- apps/mobile/node_modules/react-native-device-info/android/build.gradle
- apps/mobile/node_modules/react-native-document-picker/android/build.gradle
- apps/mobile/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile/node_modules/react-native-gzip/android/build.gradle
- apps/mobile/node_modules/react-native-keychain/android/build.gradle
- apps/mobile/node_modules/@react-native-masked-view/masked-view/android/build.gradle
- apps/mobile/node_modules/react-native-reanimated/android/build.gradle
- apps/mobile/node_modules/react-native-safe-area-context/android/build.gradle
- apps/mobile/node_modules/react-native-screens/android/build.gradle
- apps/mobile/node_modules/react-native-securerandom/android/build.gradle
- apps/mobile/node_modules/react-native-share/android/build.gradle
- apps/mobile/node_modules/react-native-svg/android/build.gradle
- apps/mobile/node_modules/react-native-vector-icons/android/build.gradle
- apps/mobile/node_modules/react-native-webview/android/build.gradle
- apps/mobile/node_modules/@sayem314/react-native-keep-awake/android/build.gradle
scandelete:
- .nx/cache
- apps/mobile/node_modules
- node_modules
- packages
- servers/themes/node_modules
build:
- rm -rf ../../../node_modules/react-native-mmkv-storage/android/react-native*
- gradle clean
ndk: r23c
gradleprops:
- buildUniversalApk=false
- reactNativeArchitectures=x86
- fdroidBuild=true
- versionName: 3.0.21
versionCode: 15158
commit: 86bf8f68bfba7fc38b73df9c53b01a9308b0058f
subdir: apps/mobile/native/android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- apt-get update
- apt-get install -y --no-install-recommends g++ build-essential
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz
- echo "bf3a779bef19452da90fb88358ec2c57e0d2f882839b20dc6afc297b6aafc0d7 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
init:
- cd ../../../../..
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=mobile
- npx nx run @notesnook/mobile:build
gradle:
- yes
rm:
- extensions
- apps/desktop
- apps/web
- packages/clipper
prebuild:
- sed -i -e 's|<uses-permission android:name="com.android.vending.BILLING" />||g'
./src/main/AndroidManifest.xml
- cd ../../
- echo GITHUB_RELEASE=true > .env
- sed -i -e 's|false|true|g' react-native.config.js
- sed -i -e '/installReferrerVersion/,+11d' ../node_modules/react-native-device-info/android/build.gradle
- pushd node_modules/react-native-fingerprint-scanner/android
- sed -i -e '/FingerprintIdentify/d' build.gradle
- sed -i -e '/getFingerprintIdentify() {/,/^ }/d' -e '/resumeIdentify/,/^ }/c}'
-e '/legacyGetErrorMessage() {/,/^ }/d' -e 's/legacyGetErrorMessage()/"LegacyAndroid"/g'
-e '/FingerprintIdentify/Id' src/main/java/com/hieuvp/fingerprint/ReactNativeFingerprintScannerModule.java
- popd
scanignore:
- apps/mobile/native/android/build.gradle
- apps/mobile/node_modules/@ammarahmed/react-native-share-extension/android/build.gradle
- apps/mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- apps/mobile/node_modules/jsc-android
- apps/mobile/node_modules/react-native/*
- apps/mobile/node_modules/react-native-actions-shortcuts/android/build.gradle
- apps/mobile/node_modules/react-native-blob-util/android/build.gradle
- apps/mobile/node_modules/react-native-bootsplash/android/build.gradle
- apps/mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- apps/mobile/node_modules/react-native-device-info/android/build.gradle
- apps/mobile/node_modules/react-native-document-picker/android/build.gradle
- apps/mobile/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile/node_modules/react-native-gzip/android/build.gradle
- apps/mobile/node_modules/react-native-keychain/android/build.gradle
- apps/mobile/node_modules/@react-native-masked-view/masked-view/android/build.gradle
- apps/mobile/node_modules/react-native-reanimated/android/build.gradle
- apps/mobile/node_modules/react-native-safe-area-context/android/build.gradle
- apps/mobile/node_modules/react-native-screens/android/build.gradle
- apps/mobile/node_modules/react-native-securerandom/android/build.gradle
- apps/mobile/node_modules/react-native-share/android/build.gradle
- apps/mobile/node_modules/react-native-svg/android/build.gradle
- apps/mobile/node_modules/react-native-vector-icons/android/build.gradle
- apps/mobile/node_modules/react-native-webview/android/build.gradle
- apps/mobile/node_modules/@sayem314/react-native-keep-awake/android/build.gradle
scandelete:
- .nx/cache
- apps/mobile/node_modules
- node_modules
- packages
- servers/themes/node_modules
build:
- rm -rf ../../../node_modules/react-native-mmkv-storage/android/react-native*
- gradle clean
ndk: r23c
gradleprops:
- buildUniversalApk=false
- reactNativeArchitectures=arm64-v8a
- fdroidBuild=true
- versionName: 3.0.21
versionCode: 15159
commit: 86bf8f68bfba7fc38b73df9c53b01a9308b0058f
subdir: apps/mobile/native/android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- apt-get update
- apt-get install -y --no-install-recommends g++ build-essential
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.gz
- echo "bf3a779bef19452da90fb88358ec2c57e0d2f882839b20dc6afc297b6aafc0d7 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
init:
- cd ../../../../..
- npm ci --ignore-scripts --prefer-offline --no-audit
- npm run bootstrap -- --scope=mobile
- npx nx run @notesnook/mobile:build
gradle:
- yes
rm:
- extensions
- apps/desktop
- apps/web
- packages/clipper
prebuild:
- sed -i -e 's|<uses-permission android:name="com.android.vending.BILLING" />||g'
./src/main/AndroidManifest.xml
- cd ../../
- echo GITHUB_RELEASE=true > .env
- sed -i -e 's|false|true|g' react-native.config.js
- sed -i -e '/installReferrerVersion/,+11d' ../node_modules/react-native-device-info/android/build.gradle
- pushd node_modules/react-native-fingerprint-scanner/android
- sed -i -e '/FingerprintIdentify/d' build.gradle
- sed -i -e '/getFingerprintIdentify() {/,/^ }/d' -e '/resumeIdentify/,/^ }/c}'
-e '/legacyGetErrorMessage() {/,/^ }/d' -e 's/legacyGetErrorMessage()/"LegacyAndroid"/g'
-e '/FingerprintIdentify/Id' src/main/java/com/hieuvp/fingerprint/ReactNativeFingerprintScannerModule.java
- popd
scanignore:
- apps/mobile/native/android/build.gradle
- apps/mobile/node_modules/@ammarahmed/react-native-share-extension/android/build.gradle
- apps/mobile/node_modules/@bam.tech/react-native-image-resizer/android/build.gradle
- apps/mobile/node_modules/jsc-android
- apps/mobile/node_modules/react-native/*
- apps/mobile/node_modules/react-native-actions-shortcuts/android/build.gradle
- apps/mobile/node_modules/react-native-blob-util/android/build.gradle
- apps/mobile/node_modules/react-native-bootsplash/android/build.gradle
- apps/mobile/node_modules/@react-native-community/netinfo/android/build.gradle
- apps/mobile/node_modules/react-native-device-info/android/build.gradle
- apps/mobile/node_modules/react-native-document-picker/android/build.gradle
- apps/mobile/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile/node_modules/react-native-gzip/android/build.gradle
- apps/mobile/node_modules/react-native-keychain/android/build.gradle
- apps/mobile/node_modules/@react-native-masked-view/masked-view/android/build.gradle
- apps/mobile/node_modules/react-native-reanimated/android/build.gradle
- apps/mobile/node_modules/react-native-safe-area-context/android/build.gradle
- apps/mobile/node_modules/react-native-screens/android/build.gradle
- apps/mobile/node_modules/react-native-securerandom/android/build.gradle
- apps/mobile/node_modules/react-native-share/android/build.gradle
- apps/mobile/node_modules/react-native-svg/android/build.gradle
- apps/mobile/node_modules/react-native-vector-icons/android/build.gradle
- apps/mobile/node_modules/react-native-webview/android/build.gradle
- apps/mobile/node_modules/@sayem314/react-native-keep-awake/android/build.gradle
scandelete:
- .nx/cache
- apps/mobile/node_modules
- node_modules
- packages
- servers/themes/node_modules
build:
- rm -rf ../../../node_modules/react-native-mmkv-storage/android/react-native*
- gradle clean
ndk: r23c
gradleprops:
- buildUniversalApk=false
- reactNativeArchitectures=x86_64
- fdroidBuild=true
- versionName: 3.0.23
versionCode: 15166
disable: https://monitor.f-droid.org/builds/log/com.streetwriters.notesnook/15159#site-footer
commit: a40a48e2c1e795fee1b37372728e93752ea56981
subdir: apps/mobile/native/android/app
sudo:
@ -9799,6 +9488,7 @@ Builds:
- versionName: 3.0.23
versionCode: 15167
disable: https://monitor.f-droid.org/builds/log/com.streetwriters.notesnook/15159#site-footer
commit: a40a48e2c1e795fee1b37372728e93752ea56981
subdir: apps/mobile/native/android/app
sudo:
@ -9877,6 +9567,7 @@ Builds:
- versionName: 3.0.23
versionCode: 15168
disable: https://monitor.f-droid.org/builds/log/com.streetwriters.notesnook/15159#site-footer
commit: a40a48e2c1e795fee1b37372728e93752ea56981
subdir: apps/mobile/native/android/app
sudo:
@ -9955,6 +9646,7 @@ Builds:
- versionName: 3.0.23
versionCode: 15169
disable: https://monitor.f-droid.org/builds/log/com.streetwriters.notesnook/15159#site-footer
commit: a40a48e2c1e795fee1b37372728e93752ea56981
subdir: apps/mobile/native/android/app
sudo:
@ -10031,7 +9723,7 @@ Builds:
- reactNativeArchitectures=x86_64
- fdroidBuild=true
AutoUpdateMode: Version
AutoUpdateMode: None
UpdateCheckMode: Tags ^\d+(\.\d+)*-android$
VercodeOperation:
- '%c * 5 + 1'