@@ -97,7 +97,7 @@ pipelines:
9797 - build_smoke_e2e_ios_android_stage : {}
9898 - run_smoke_e2e_ios_android_stage : {}
9999 - notify : {}
100-
100+
101101 flask_smoke_e2e_pipeline :
102102 stages :
103103 - set_flask_target_stage : {}
@@ -175,7 +175,7 @@ pipelines:
175175 - bump_version_code
176176 build_ios_main_exp :
177177 depends_on :
178- - bump_version_code
178+ - bump_version_code
179179 nightly_rc_builds_pipeline :
180180 workflows :
181181 bump_version_code : {}
@@ -618,16 +618,16 @@ workflows:
618618 - content : |
619619 #!/bin/bash
620620 set -e
621-
621+
622622 # Path to Android build.gradle file
623623 BUILD_GRADLE_PATH="$PROJECT_LOCATION_ANDROID/app/build.gradle"
624-
624+
625625 # Extract versionName (remove quotes)
626626 APP_SEM_VER_NAME_TMP=$(grep -o 'versionName "[^"]*"' "$BUILD_GRADLE_PATH" | sed 's/versionName "\(.*\)"/\1/')
627-
627+
628628 # Extract versionCode
629629 APP_BUILD_NUMBER_TMP=$(grep -o 'versionCode [0-9]*' "$BUILD_GRADLE_PATH" | sed 's/versionCode \([0-9]*\)/\1/')
630-
630+
631631 # Validate that we found both values
632632 if [ -z "$APP_SEM_VER_NAME_TMP" ] || [ -z "$APP_BUILD_NUMBER_TMP" ]; then
633633 echo "Error: Could not extract version information from $BUILD_GRADLE_PATH"
@@ -1375,13 +1375,13 @@ workflows:
13751375 - content : |-
13761376 #!/usr/bin/env bash
13771377 echo "Copying Android build from cache..."
1378-
1378+
13791379 if [ -d "/tmp/android-cache/build/outputs" ]; then
13801380 echo "Restoring Android build outputs from cache..."
13811381 mkdir -p android/app/build/outputs
13821382 cp -r /tmp/android-cache/build/outputs/* android/app/build/outputs/
13831383 echo "✅ Android build artifacts restored from cache"
1384-
1384+
13851385 echo "Restored files:"
13861386 find android/app/build/outputs -type f -name "*.apk" -o -name "*.aab" | head -5
13871387 else
@@ -1479,18 +1479,18 @@ workflows:
14791479 set -ex
14801480 # Create performance results directory
14811481 mkdir -p "$BITRISE_DEPLOY_DIR/performance-results"
1482-
1482+
14831483 # Copy performance JSON files if they exist
14841484 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/account-list-load-testing-performance-results.json" ]; then
14851485 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/account-list-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
14861486 echo "Copied account-list-load-testing-performance-results.json"
14871487 fi
1488-
1488+
14891489 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/network-list-load-testing-performance-results.json" ]; then
14901490 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/network-list-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
14911491 echo "Copied network-list-load-testing-performance-results.json"
14921492 fi
1493-
1493+
14941494 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/switching-accounts-to-dismiss-load-testing-performance-results.json" ]; then
14951495 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/switching-accounts-to-dismiss-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
14961496 echo "Copied switching-accounts-to-dismiss-load-testing-performance-results.json"
@@ -1608,18 +1608,18 @@ workflows:
16081608 set -ex
16091609 # Create performance results directory
16101610 mkdir -p "$BITRISE_DEPLOY_DIR/performance-results"
1611-
1611+
16121612 # Copy performance JSON files if they exist
16131613 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/account-list-load-testing-performance-results.json" ]; then
16141614 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/account-list-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
16151615 echo "Copied account-list-load-testing-performance-results.json"
16161616 fi
1617-
1617+
16181618 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/network-list-load-testing-performance-results.json" ]; then
16191619 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/network-list-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
16201620 echo "Copied network-list-load-testing-performance-results.json"
16211621 fi
1622-
1622+
16231623 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/switching-accounts-to-dismiss-load-testing-performance-results.json" ]; then
16241624 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/switching-accounts-to-dismiss-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
16251625 echo "Copied switching-accounts-to-dismiss-load-testing-performance-results.json"
@@ -1657,7 +1657,7 @@ workflows:
16571657 - content : |-
16581658 #!/usr/bin/env bash
16591659 echo "Copying iOS build from cache..."
1660-
1660+
16611661 # Check if cached build products exist
16621662 if [ -d "ios/build/Build/Products/Release-iphonesimulator" ]; then
16631663 echo "✅ iOS build artifacts found in cache"
@@ -1667,7 +1667,7 @@ workflows:
16671667 echo "❌ iOS build products not found in cache"
16681668 mkdir -p ios/build/Build/Products/Release-iphonesimulator
16691669 fi
1670-
1670+
16711671 # Check if cached Detox artifacts exist
16721672 if [ -d "../Library/Detox/ios" ]; then
16731673 echo "✅ Detox iOS artifacts found in cache"
@@ -1677,7 +1677,7 @@ workflows:
16771677 echo "❌ Detox iOS artifacts not found in cache"
16781678 mkdir -p ../Library/Detox/ios
16791679 fi
1680-
1680+
16811681 echo "iOS build artifacts restored from cache"
16821682 - pull-intermediate-files@1 :
16831683 inputs :
@@ -1793,18 +1793,18 @@ workflows:
17931793 inputs :
17941794 - content : |-
17951795 #!/usr/bin/env bash
1796-
1796+
17971797 # Initialize local variables with current state
17981798 LOCAL_SKIP_IOS="$SKIP_IOS_BUILD"
17991799 LOCAL_SKIP_ANDROID="$SKIP_ANDROID_BUILD"
1800-
1800+
18011801 # Ensure iOS value is set if cache check was skipped
18021802 if [[ -z "$IOS_PR_BUILD_CACHE_KEY" ]]; then
18031803 echo "No iOS cache key available - build will proceed"
18041804 LOCAL_SKIP_IOS="false"
18051805 envman add --key SKIP_IOS_BUILD --value "false"
18061806 fi
1807-
1807+
18081808 # Only process Android cache if we have cache keys
18091809 if [[ -n "$ANDROID_PR_BUILD_CACHE_KEY" ]]; then
18101810 if [[ "$BITRISE_CACHE_HIT" == "exact" ]]; then
@@ -1821,7 +1821,7 @@ workflows:
18211821 LOCAL_SKIP_ANDROID="false"
18221822 envman add --key SKIP_ANDROID_BUILD --value "false"
18231823 fi
1824-
1824+
18251825 echo ""
18261826 echo "=== Final Build Decisions ==="
18271827 echo "iOS build: $([ "$LOCAL_SKIP_IOS" == "true" ] && echo "SKIP" || echo "BUILD")"
@@ -1959,7 +1959,7 @@ workflows:
19591959 - content : |-
19601960 #!/usr/bin/env bash
19611961 echo "Copying iOS build from cache..."
1962-
1962+
19631963 # Check if cached build products exist
19641964 if [ -d "ios/build/Build/Products/Release-iphonesimulator" ]; then
19651965 echo "✅ iOS build artifacts found in cache"
@@ -1969,7 +1969,7 @@ workflows:
19691969 echo "❌ iOS build products not found in cache"
19701970 mkdir -p ios/build/Build/Products/Release-iphonesimulator
19711971 fi
1972-
1972+
19731973 # Check if cached Detox artifacts exist
19741974 if [ -d "../Library/Detox/ios" ]; then
19751975 echo "✅ Detox iOS artifacts found in cache"
@@ -1979,7 +1979,7 @@ workflows:
19791979 echo "❌ Detox iOS artifacts not found in cache"
19801980 mkdir -p ../Library/Detox/ios
19811981 fi
1982-
1982+
19831983 echo "iOS build artifacts restored from cache"
19841984 - pull-intermediate-files@1 :
19851985 inputs :
@@ -2094,18 +2094,18 @@ workflows:
20942094 set -ex
20952095 # Create performance results directory
20962096 mkdir -p "$BITRISE_DEPLOY_DIR/performance-results"
2097-
2097+
20982098 # Copy performance JSON files if they exist
20992099 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/account-list-load-testing-performance-results.json" ]; then
21002100 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/account-list-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
21012101 echo "Copied account-list-load-testing-performance-results.json"
21022102 fi
2103-
2103+
21042104 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/network-list-load-testing-performance-results.json" ]; then
21052105 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/network-list-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
21062106 echo "Copied network-list-load-testing-performance-results.json"
21072107 fi
2108-
2108+
21092109 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/switching-accounts-to-dismiss-load-testing-performance-results.json" ]; then
21102110 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/switching-accounts-to-dismiss-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
21112111 echo "Copied switching-accounts-to-dismiss-load-testing-performance-results.json"
@@ -2238,18 +2238,18 @@ workflows:
22382238 set -ex
22392239 # Create performance results directory
22402240 mkdir -p "$BITRISE_DEPLOY_DIR/performance-results"
2241-
2241+
22422242 # Copy performance JSON files if they exist
22432243 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/account-list-load-testing-performance-results.json" ]; then
22442244 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/account-list-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
22452245 echo "Copied account-list-load-testing-performance-results.json"
22462246 fi
2247-
2247+
22482248 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/network-list-load-testing-performance-results.json" ]; then
22492249 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/network-list-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
22502250 echo "Copied network-list-load-testing-performance-results.json"
22512251 fi
2252-
2252+
22532253 if [ -f "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/switching-accounts-to-dismiss-load-testing-performance-results.json" ]; then
22542254 cp "$BITRISE_SOURCE_DIR/e2e/specs/performance/reports/switching-accounts-to-dismiss-load-testing-performance-results.json" "$BITRISE_DEPLOY_DIR/performance-results/"
22552255 echo "Copied switching-accounts-to-dismiss-load-testing-performance-results.json"
@@ -2425,15 +2425,15 @@ workflows:
24252425 #!/usr/bin/env bash
24262426 echo "=== Preparing Android cache ==="
24272427 echo "Current working directory: $(pwd)"
2428-
2428+
24292429 # Create a clean cache directory structure
24302430 mkdir -p /tmp/android-cache/build/outputs
2431-
2431+
24322432 if [ -d "android/app/build/outputs" ]; then
24332433 echo "Copying Android build outputs to cache staging area..."
24342434 cp -r android/app/build/outputs/* /tmp/android-cache/build/outputs/
24352435 echo "Cache staging completed"
2436-
2436+
24372437 echo "Cache contents:"
24382438 find /tmp/android-cache -type f | head -10
24392439 echo "Total cache size: $(du -sh /tmp/android-cache 2>/dev/null || echo 'Unknown')"
@@ -2535,7 +2535,7 @@ workflows:
25352535 #!/usr/bin/env bash
25362536 echo "=== Android Build Output Debug ==="
25372537 echo "Checking for Android build outputs to cache..."
2538-
2538+
25392539 if [ -d "android/app/build/outputs" ]; then
25402540 echo "✅ android/app/build/outputs directory exists"
25412541 echo "Directory size: $(du -sh android/app/build/outputs 2>/dev/null || echo 'Could not calculate')"
@@ -2546,7 +2546,7 @@ workflows:
25462546 echo "❌ android/app/build/outputs directory does not exist!"
25472547 echo "This means the Android build failed or output path is incorrect"
25482548 fi
2549-
2549+
25502550 echo "Current working directory: $(pwd)"
25512551 echo "Listing android/app/build directory:"
25522552 ls -la android/app/build/ 2>/dev/null || echo "android/app/build does not exist"
@@ -2557,15 +2557,15 @@ workflows:
25572557 #!/usr/bin/env bash
25582558 echo "=== Preparing Android cache with proper paths ==="
25592559 echo "Current working directory: $(pwd)"
2560-
2560+
25612561 # Create a clean cache directory structure
25622562 mkdir -p /tmp/android-cache/build/outputs
2563-
2563+
25642564 if [ -d "android/app/build/outputs" ]; then
25652565 echo "Copying Android build outputs to cache staging area..."
25662566 cp -r android/app/build/outputs/* /tmp/android-cache/build/outputs/
25672567 echo "Cache staging completed"
2568-
2568+
25692569 echo "Cache contents:"
25702570 find /tmp/android-cache -type f | head -10
25712571 echo "Total cache size: $(du -sh /tmp/android-cache 2>/dev/null || echo 'Unknown')"
@@ -3616,7 +3616,7 @@ meta:
36163616 stack : osx-xcode-16.3.x
36173617 machine_type_id : g2.mac.4large
36183618trigger_map :
3619- # Disable auto RC generation
3619+ # Disable auto RC generation
36203620 # - push_branch: release/*
36213621 # pipeline: pr_rc_rwy_pipeline
36223622 - push_branch : main
0 commit comments