mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 09:25:49 +03:00
Try fixing exodus CI job (#8721)
* Ignore tracker count retrieved by exodus job so the report can be created * Ignore Sentry, since it's a known and optional tracker
This commit is contained in:
parent
dff9b82185
commit
c46b3148e4
1 changed files with 8 additions and 2 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -79,7 +79,8 @@ jobs:
|
||||||
- name: Execute exodus-standalone
|
- name: Execute exodus-standalone
|
||||||
uses: docker://exodusprivacy/exodus-standalone:latest
|
uses: docker://exodusprivacy/exodus-standalone:latest
|
||||||
with:
|
with:
|
||||||
args: /github/workspace/gplay/release/vector-gplay-universal-release-unsigned.apk -j -o /github/workspace/exodus.json
|
# Don't fail when finding trackers so they can be reported later
|
||||||
|
args: /github/workspace/gplay/release/vector-gplay-universal-release-unsigned.apk -j -o /github/workspace/exodus.json -e 0
|
||||||
- name: Upload exodus json report
|
- name: Upload exodus json report
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
@ -87,4 +88,9 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
exodus.json
|
exodus.json
|
||||||
- name: Check for trackers
|
- name: Check for trackers
|
||||||
run: "jq -e '.trackers == []' exodus.json > /dev/null || { echo '::error static analysis identified user tracking library' ; exit 1; }"
|
env:
|
||||||
|
SENTRY_ID: 447
|
||||||
|
# Should only contain a Sentry item
|
||||||
|
run: |
|
||||||
|
TRACKER_IDS=$(jq ".trackers[] | .id" exodus.json)
|
||||||
|
[ $TRACKER_IDS = ${{ env.SENTRY_ID }} ] || { echo '::error static analysis identified user tracking library' ; exit 1; }
|
||||||
|
|
Loading…
Reference in a new issue