Skip to content

Commit

Permalink
Reverting failing test and temp commenting bitrise
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-insolia-cko committed Nov 14, 2023
1 parent 15b0ce4 commit 8a594d4
Showing 1 changed file with 115 additions and 115 deletions.
230 changes: 115 additions & 115 deletions bitrise.yml
Original file line number Diff line number Diff line change
@@ -1,115 +1,115 @@
---
format_version: '9'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: android
trigger_map:
- push_branch: master
workflow: verification-full
- pull_request_source_branch: "*"
workflow: verification-full
workflows:
steps-finish:
steps:
- deploy-to-bitrise-io@2: {}
- cache-push@2: {}
- slack@3:
inputs:
- channel: "$ANDROID_BUILDS_SLACK_CHANNEL"
- text: "$BITRISE_APP_TITLE build Success"
- channel_on_error: "$ANDROID_BUILDS_SLACK_CHANNEL"
- text_on_error: "$BITRISE_APP_TITLE build Failed"
- webhook_url: "$ANDROID_BUILDS_SLACK_WEBHOOK_URL"
after_run: []
description: Final steps for all workflows which completes Bitrise.io uploads
and sends a Slack notification
steps-start:
steps:
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@6: {}
- cache-pull@2: {}
- set-java-version@1:
inputs:
- set_java_version: '17'
- install-missing-android-tools@3:
inputs:
- ndk_version: 21.0.6113669

- install-missing-android-tools@3:
inputs:
- gradlew_path: "$PROJECT_LOCATION/gradlew"
- android-build@1:
inputs:
- module: "$MODULE"
- variant: "$VARIANT"
after_run: []
description: First steps to initialise the workflow
verification-full:
steps:
- android-lint@0:
inputs:
- variant: "$VARIANT"
is_always_run: true
- android-unit-test@1:
inputs:
- project_location: "$PROJECT_LOCATION"
- variant: "$VARIANT"
is_always_run: true
- gradle-runner@2:
inputs:
- gradle_task: assembleAndroidTest
is_always_run: true
title: Gradle Runner - Build Android Test
after_run:
- steps-sonar
- steps-finish
description: |2-
## Performs all validation checks
The following checks are performed
- Build
- Lint Checks (if PR is ready for review)
- Unit Tests
- Instrumentation Tests (if PR is ready for review)
- SonarQube Analysis (if PR is ready for review)
before_run:
- steps-start
steps-sonar:
description: |
Runs SonarQube analysis using [SonarQube Scan]
steps:
- gradle-runner@2:
title: Build Jacoco Test Report for Checkout
inputs:
- gradle_task: :checkout:jacocoTestReport
- gradle-runner@2:
title: Build Jacoco Test Report for Frames
inputs:
- gradle_task: :frames:jacocoTestReport
- script@1:
inputs:
- content: |
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
# Run sonarqube script
./scripts/sonar.sh
title: Script - Sonarqube
app:
envs:
- opts:
is_expand: false
PROJECT_LOCATION: "."
- opts:
is_expand: false
MODULE: app
- opts:
is_expand: false
VARIANT: debug
- opts:
is_expand: false
GRADLEW_PATH: "./gradlew"
#---
#format_version: '9'
#default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
#project_type: android
#trigger_map:
#- push_branch: master
# workflow: verification-full
#- pull_request_source_branch: "*"
# workflow: verification-full
#workflows:
# steps-finish:
# steps:
# - deploy-to-bitrise-io@2: {}
# - cache-push@2: {}
# - slack@3:
# inputs:
# - channel: "$ANDROID_BUILDS_SLACK_CHANNEL"
# - text: "$BITRISE_APP_TITLE build Success"
# - channel_on_error: "$ANDROID_BUILDS_SLACK_CHANNEL"
# - text_on_error: "$BITRISE_APP_TITLE build Failed"
# - webhook_url: "$ANDROID_BUILDS_SLACK_WEBHOOK_URL"
# after_run: []
# description: Final steps for all workflows which completes Bitrise.io uploads
# and sends a Slack notification
# steps-start:
# steps:
# - activate-ssh-key@4:
# run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
# - git-clone@6: {}
# - cache-pull@2: {}
# - set-java-version@1:
# inputs:
# - set_java_version: '17'
# - install-missing-android-tools@3:
# inputs:
# - ndk_version: 21.0.6113669
#
# - install-missing-android-tools@3:
# inputs:
# - gradlew_path: "$PROJECT_LOCATION/gradlew"
# - android-build@1:
# inputs:
# - module: "$MODULE"
# - variant: "$VARIANT"
# after_run: []
# description: First steps to initialise the workflow
# verification-full:
# steps:
# - android-lint@0:
# inputs:
# - variant: "$VARIANT"
# is_always_run: true
# - android-unit-test@1:
# inputs:
# - project_location: "$PROJECT_LOCATION"
# - variant: "$VARIANT"
# is_always_run: true
# - gradle-runner@2:
# inputs:
# - gradle_task: assembleAndroidTest
# is_always_run: true
# title: Gradle Runner - Build Android Test
# after_run:
# - steps-sonar
# - steps-finish
# description: |2-
#
# ## Performs all validation checks
#
# The following checks are performed
# - Build
# - Lint Checks (if PR is ready for review)
# - Unit Tests
# - Instrumentation Tests (if PR is ready for review)
# - SonarQube Analysis (if PR is ready for review)
# before_run:
# - steps-start
# steps-sonar:
# description: |
# Runs SonarQube analysis using [SonarQube Scan]
# steps:
# - gradle-runner@2:
# title: Build Jacoco Test Report for Checkout
# inputs:
# - gradle_task: :checkout:jacocoTestReport
# - gradle-runner@2:
# title: Build Jacoco Test Report for Frames
# inputs:
# - gradle_task: :frames:jacocoTestReport
# - script@1:
# inputs:
# - content: |
# #!/usr/bin/env bash
# # fail if any commands fails
# set -e
# # debug log
# set -x
#
# # Run sonarqube script
# ./scripts/sonar.sh
# title: Script - Sonarqube
#app:
# envs:
# - opts:
# is_expand: false
# PROJECT_LOCATION: "."
# - opts:
# is_expand: false
# MODULE: app
# - opts:
# is_expand: false
# VARIANT: debug
# - opts:
# is_expand: false
# GRADLEW_PATH: "./gradlew"

0 comments on commit 8a594d4

Please sign in to comment.