From 54a822f2e910dc2d5a7e086caec2a6ef2bf21db6 Mon Sep 17 00:00:00 2001 From: David Rawson <drawers@users.noreply.github.com> Date: Thu, 23 May 2024 11:06:02 +1200 Subject: [PATCH] Delete .github/workflows/ads-end-to-end.yml --- .github/workflows/ads-end-to-end.yml | 74 ---------------------------- 1 file changed, 74 deletions(-) delete mode 100644 .github/workflows/ads-end-to-end.yml diff --git a/.github/workflows/ads-end-to-end.yml b/.github/workflows/ads-end-to-end.yml deleted file mode 100644 index 45bf66290163..000000000000 --- a/.github/workflows/ads-end-to-end.yml +++ /dev/null @@ -1,74 +0,0 @@ -name: Android Design System End-to-End tests - -on: - schedule: - - cron: '0 5 * * *' # run at 5 AM UTC - workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - instrumentation_tests: - runs-on: ubuntu-latest - name: End-to-End tests - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - with: - submodules: recursive - - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'adopt' - - - name: Create folder - if: always() - run: mkdir apk - - - name: Decode keys - uses: davidSchuppa/base64Secret-toFile-action@v2 - with: - secret: ${{ secrets.FAKE_RELEASE_PROPERTIES }} - fileName: ddg_android_build.properties - destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/ - - - name: Decode key file - uses: davidSchuppa/base64Secret-toFile-action@v2 - with: - secret: ${{ secrets.FAKE_RELEASE_KEY }} - fileName: android - destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/ - - - name: Assemble release APK - uses: gradle/gradle-build-action@v2 - with: - arguments: assembleInternalRelease -Pforce-default-variant - - - name: Move APK to new folder - if: always() - run: find . -name "*.apk" -exec mv '{}' apk/release.apk \; - - - name: ADS Preview Flows - uses: mobile-dev-inc/action-maestro-cloud@v1.8.1 - with: - api-key: ${{ secrets.MOBILE_DEV_API_KEY }} - name: ${{ github.sha }} - app-file: apk/release.apk - workspace: .maestro - include-tags: androidDesignSystemTest - - - name: Create Asana task when workflow failed - if: ${{ failure() }} - uses: honeycombio/gha-create-asana-task@main - with: - asana-secret: ${{ secrets.GH_ASANA_SECRET }} - asana-workspace-id: ${{ secrets.GH_ASANA_WORKSPACE_ID }} - asana-project-id: ${{ secrets.GH_ASANA_AOR_PROJECT_ID }} - asana-section-id: ${{ secrets.GH_ASANA_INCOMING_ID }} - asana-task-name: GH Workflow Failure - ADS Preview test - asana-task-description: The ADS Preview end to end workflow has failed. See https://github.com/duckduckgo/Android/actions/runs/${{ github.run_id }} \ No newline at end of file