@@ -64,7 +64,7 @@ workflows:
6464 - xcodebuild_options : ' "COMPILER_INDEX_STORE_ENABLE=NO" "CODE_SIGN_IDENTITY=" "CODE_SIGNING_REQUIRED=NO" "CODE_SIGNING_ALLOWED=NO"'
6565 - xctestrun : " /Users/vagrant/git/DerivedData/Build/Products/Fennec_AccessibilityTestPlan_iphonesimulator18.2-arm64.xctestrun"
6666 - maximum_test_repetitions : 2
67-
67+
68686969 firefox_configure_build :
7070 before_run :
@@ -256,7 +256,7 @@ workflows:
256256
257257 # Determine which application to base configuration while comparing against branch destination:
258258 # Bitrise: https://devcenter.bitrise.io/en/references/available-environment-variables.html
259- #
259+ #
260260 # BITRISEIO_GIT_BRANCH_DEST is used only on pull requests and is set to destination/branch (i.e, release/v123 )
261261 # BITRISE_GIT_BRANCH is the git branch that is built by Bitrise (i.e, release/v123 )
262262 # BITRISE_GIT_COMMIT is the git commit hash that is built by Bitrise
@@ -621,7 +621,7 @@ workflows:
621621 FILES_CHANGED=$(git diff --name-only origin/main..."$BITRISE_GIT_COMMIT")
622622 fi
623623
624- # Manual triggers leave empty commits.
624+ # Manual triggers leave empty commits.
625625 # Check for empty commit/PR and exit blacklist check if found to avoid erroring out.
626626 echo "Files changed in commit/PR: $FILES_CHANGED"
627627 if [[ -z "$FILES_CHANGED" ]]; then
@@ -1244,7 +1244,7 @@ workflows:
12441244 is_expand : false
12451245 BITRISE_SCHEME : Firefox
12461246 description : This step is to build, archive and upload Firefox Release and Beta
1247-
1247+
12481248 SPM_Common_Steps :
12491249 steps :
12501250@@ -1340,7 +1340,7 @@ workflows:
13401340 - content : |-
13411341 #!/usr/bin/env bash
13421342 set -ex
1343-
1343+
13441344 if [ -e $HOME/sdk/google-cloud-sdk ]; then
13451345 echo "Google Cloud SDK found, skipping installation..."
13461346 else
@@ -1363,7 +1363,7 @@ workflows:
13631363 set -ex
13641364 set -o pipefail
13651365
1366- curl -o /tmp/key-file.json $BITRISEIO_GOOGLE_APPLICATION_CREDENTIALS_URL
1366+ curl -o /tmp/key-file.json $BITRISEIO_GOOGLE_APPLICATION_CREDENTIALS_URL
13671367 $HOME/sdk/google-cloud-sdk/bin/gcloud version
13681368 $HOME/sdk/google-cloud-sdk/bin/gcloud auth activate-service-account -q --key-file /tmp/key-file.json
13691369 $HOME/sdk/google-cloud-sdk/bin/gcloud config set project "$GOOGLE_CLOUD_PROJECT"
@@ -1398,7 +1398,7 @@ workflows:
13981398 # unpack GLCOUD_EXIT_CODE from string to int, if gcloud returns string instead of int for exit code
13991399 if [ $((GCLOUD_EXIT_CODE)) -ne 0 ]; then
14001400 SLACK_MESSAGE_PRETEXT="*Firefox-iOS* :firefox: *Archive/Robo Test* :x:"
1401- else
1401+ else
14021402 SLACK_MESSAGE_PRETEXT="*Firefox-iOS* :firefox: *Archive/Robo Test* :white_check_mark:"
14031403 fi
14041404 envman add --key SLACK_MESSAGE_PRETEXT --value "$SLACK_MESSAGE_PRETEXT"
@@ -1523,7 +1523,7 @@ workflows:
15231523 - content : |-
15241524 #!/usr/bin/env bash
15251525 set -e
1526-
1526+
15271527 if [ -e $HOME/google-cloud-sdk ]; then
15281528 echo "Google Cloud SDK found, skipping installation..."
15291529 else
@@ -1629,7 +1629,7 @@ workflows:
16291629 # create and print perf data object for perfherder ingest via taskcluster log output
16301630 xcrun xcresulttool graph --path "$BITRISE_XCRESULT" --legacy
16311631 ls ..
1632- # If this ever breaks, check the xcresult_extract.py function find_xcresult_path
1632+ # If this ever breaks, check the xcresult_extract.py function find_xcresult_path
16331633 # and figure out exactly what it is doing because we are using Fennec as the scheme
16341634 # and it works for both Fennec and Fennec_Enterprise, but I don't know why.
16351635 # I would change it here but I am too afraid to break it.
@@ -1700,7 +1700,7 @@ workflows:
17001700 is_always_run : true
17011701 #
17021702 # *****%*****%***** FOCUS WORKFLOWS *****%*****%*****
1703- #
1703+ #
17041704 focus_configure_build :
17051705 before_run :
17061706 - focus-clone-and-build-dependencies
@@ -1958,7 +1958,7 @@ workflows:
19581958 /usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" focus-ios/Focus.entitlements
19591959 /usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" focus-ios/Klar.entitlements
19601960
1961- # # Update the name change in Taskcluster files
1961+ # # Update the name change in Taskcluster files
19621962 # focus_l10n_build:
19631963 # before_run:
19641964 # - focus-clone-and-build-dependencies
@@ -2322,6 +2322,33 @@ workflows:
23222322 is_expand : false
23232323 EXPORT_METHOD : app-store
23242324 description : This step is used during release promotion to build a firefox release
2325+ release_promotion_push :
2326+ envs :
2327+ - IPA_PATH : /tmp/Client.ipa
2328+ steps :
2329+ - file-downloader@1 :
2330+ title : Download Artifact
2331+ inputs :
2332+ - destination : $IPA_PATH
2333+ - source : https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/$BUILD_TASK_ID/artifacts/public%2Frelease_promotion_promote%2FClient.ipa
2334+ 2335+ title : Check if IPA was downloaded
2336+ inputs :
2337+ - content : |-
2338+ #!/usr/bin/env bash
2339+ set -xe
2340+ echo $IPA_PATH
2341+ file $IPA_PATH
2342+ - deploy-to-itunesconnect-application-loader@1 :
2343+ title : Deploy to AppStoreConnect
2344+ run_if : |-
2345+ {{enveq "BITRISE_APP_SLUG" "firefox-ios"}}
2346+ inputs :
2347+ - connection : ' off'
2348+ - app_password : " $APPLE_ACCOUNT_PW"
2349+ - itunescon_user : " $APPLE_ACCOUNT_ID"
2350+ - ipa_path : $IPA_PATH
2351+ - retries : 5
23252352
23262353app :
23272354 envs :
0 commit comments