Skip to content

Commit

Permalink
Merge branch 'develop' into feature/cris/malicious-site-protection/us…
Browse files Browse the repository at this point in the history
…er-setting
  • Loading branch information
laghee authored Feb 4, 2025
2 parents 66e165c + 397271f commit 251660f
Show file tree
Hide file tree
Showing 115 changed files with 3,599 additions and 2,507 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ads-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ jobs:

- name: ADS Preview Flows
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: androidDesignSystem_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-ad-hoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Assemble APK
env:
MALICIOUS_SITE_PROTECTION_AUTH_TOKEN: ${{ secrets.MALICIOUS_SITE_PROTECTION_AUTH_TOKEN }}
run: ./gradlew assemble${{github.event.inputs.build-variant}} -Pforce-default-variant

- name: Move APK to new folder
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-debug-apk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Assemble the project
env:
MALICIOUS_SITE_PROTECTION_AUTH_TOKEN: ${{ secrets.MALICIOUS_SITE_PROTECTION_AUTH_TOKEN }}
run: ./gradlew assembleInternalDebug -Pforce-default-variant

- name: Obtain debug apk
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-fdroid-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
uses: gradle/actions/setup-gradle@v4

- name: Assemble F-Droid release apk
env:
MALICIOUS_SITE_PROTECTION_AUTH_TOKEN: ${{ secrets.MALICIOUS_SITE_PROTECTION_AUTH_TOKEN }}
run: ./gradlew assembleFdroidRelease

- name: Create Asana task when workflow failed on push to develop
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/custom-tabs-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ jobs:

- name: Custom Tabs Flows
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: customTabs_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-nightly-autofill.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ jobs:

- name: Autofill Critical Path E2E Flows
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: autofill_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/end-to-end-robintest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ jobs:

- name: Ad click detection flows
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: adClickTest_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand All @@ -69,11 +70,12 @@ jobs:
- name: Privacy Tests
if: always()
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: privacyTest_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand All @@ -82,11 +84,12 @@ jobs:
- name: Security Tests
if: always()
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: securityTest_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand All @@ -95,11 +98,12 @@ jobs:
- name: Release Tests
if: always()
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: releaseTest_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand All @@ -108,11 +112,12 @@ jobs:
- name: Notifications permissions Android 13+
if: always()
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: notificationPermissionTest_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 33
workspace: .maestro/notifications_permissions_android13_plus
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/privacy-dashboard-end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ jobs:

- name: Ad click detection flows
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: privacyDashboard_adClickTest_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand All @@ -72,11 +73,12 @@ jobs:
- name: Privacy Tests
if: always()
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: privacyDashboard_privacyTest_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
workspace: .maestro
include-tags: privacyTest
2 changes: 2 additions & 0 deletions .github/workflows/release_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
env:
NETP_DEBUG_SERVER_TOKEN: ${{ secrets.NETP_DEBUG_SERVER_TOKEN }}
if: steps.check_for_changes.outputs.has_changes == 'true'
env:
MALICIOUS_SITE_PROTECTION_AUTH_TOKEN: ${{ secrets.MALICIOUS_SITE_PROTECTION_AUTH_TOKEN }}
run: gradle bundleInternalRelease -PversionNameSuffix=-nightly -PuseUploadSigning -PlatestTag=${{ steps.get_latest_tag.outputs.latest_tag }} -Pbuild-date-time

- name: Generate nightly version name
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ jobs:

- name: Release tests flows
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: releaseTest_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release_upload_play_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/

- name: Assemble the bundle
env:
MALICIOUS_SITE_PROTECTION_AUTH_TOKEN: ${{ secrets.MALICIOUS_SITE_PROTECTION_AUTH_TOKEN }}
run: ./gradlew bundleRelease -PuseUploadSigning -Pbuild-date-time

- name: Capture App Bundle Path
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sync-critical-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ jobs:

- name: Sync Flows
uses: mobile-dev-inc/[email protected]
timeout-minutes: 120
with:
api-key: ${{ secrets.ROBIN_API_KEY }}
project-id: ${{ vars.ROBIN_ANDROID_PROJECT_ID }}
name: sync_${{ github.sha }}
timeout: 120
timeout: ${{ vars.ROBIN_TIMEOUT_MINUTES }}
app-file: apk/release.apk
android-api-level: 30
workspace: .maestro
Expand Down
Loading

0 comments on commit 251660f

Please sign in to comment.