This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MTE_1889 move app folders to focus (#3917)
* Refactor MTE-1889 Move app files into folder * move entitlement files * added ci_scripts folder * move all files into firefox-ios-app * fixing content blocker script in checkout * add new path to swiftlint temp * comment xcodebuild without path to project * change folders name to focus-ios and focus-ios-tests * adding nimbus-fml script * adding new path to release workflow
- Loading branch information
1 parent
4a34fee
commit 04398d7
Showing
1,513 changed files
with
3,270 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,15 +71,15 @@ workflows: | |
set -euxo pipefail | ||
echo "-- build-for-testing --" | ||
mkdir DerivedData | ||
xcodebuild -resolvePackageDependencies -onlyUsePackageVersionsFromResolvedFile | ||
xcodebuild "-project" "/Users/vagrant/git/Blockzilla.xcodeproj" "-scheme" "Focus" -configuration "FocusDebug" "CODE_SIGNING_ALLOWED=NO" "-destination" "platform=iOS Simulator,name=iPhone 15,OS=17.0.1" "COMPILER_INDEX_STORE_ENABLE=NO" "build-for-testing" "CODE_SIGN_IDENTITY=" "CODE_SIGNING_REQUIRED=NO" "CODE_SIGNING_ALLOWED=NO" -derivedDataPath "/Users/vagrant/git/DerivedData" | xcpretty | tee xcodebuild_test.log | ||
#xcodebuild -resolvePackageDependencies -onlyUsePackageVersionsFromResolvedFile | ||
xcodebuild "-project" "/Users/vagrant/git/focus-ios/Blockzilla.xcodeproj" "-scheme" "Focus" -configuration "FocusDebug" "CODE_SIGNING_ALLOWED=NO" "-destination" "platform=iOS Simulator,name=iPhone 15,OS=17.0.1" "COMPILER_INDEX_STORE_ENABLE=NO" "build-for-testing" "CODE_SIGN_IDENTITY=" "CODE_SIGNING_REQUIRED=NO" "CODE_SIGNING_ALLOWED=NO" -derivedDataPath "/Users/vagrant/git/DerivedData" | xcpretty | tee xcodebuild_test.log | ||
- [email protected]: | ||
title: Build for Testing Klar | ||
inputs: | ||
- content: | | ||
set -euxo pipefail | ||
echo "-- build-for-testing --" | ||
xcodebuild "-project" "/Users/vagrant/git/Blockzilla.xcodeproj" "-scheme" "Klar" -configuration "KlarDebug" "CODE_SIGNING_ALLOWED=NO" "-destination" "platform=iOS Simulator,name=iPhone 15,OS=17.0.1" "COMPILER_INDEX_STORE_ENABLE=NO" "build-for-testing" "CODE_SIGN_IDENTITY=" "CODE_SIGNING_REQUIRED=NO" "CODE_SIGNING_ALLOWED=NO" -derivedDataPath "/Users/vagrant/git/DerivedData" | xcpretty | tee xcodebuild_test.log | ||
xcodebuild "-project" "/Users/vagrant/git/focus-ios/Blockzilla.xcodeproj" "-scheme" "Klar" -configuration "KlarDebug" "CODE_SIGNING_ALLOWED=NO" "-destination" "platform=iOS Simulator,name=iPhone 15,OS=17.0.1" "COMPILER_INDEX_STORE_ENABLE=NO" "build-for-testing" "CODE_SIGN_IDENTITY=" "CODE_SIGNING_REQUIRED=NO" "CODE_SIGNING_ALLOWED=NO" -derivedDataPath "/Users/vagrant/git/DerivedData" | xcpretty | tee xcodebuild_test.log | ||
- [email protected]: | ||
title: Compress Derived Data | ||
is_always_run: true | ||
|
@@ -88,20 +88,20 @@ workflows: | |
set -euxo pipefail | ||
echo "-- compress --" | ||
exec zip -0 -qr "${BITRISE_SOURCE_DIR}/DerivedData.zip" \ | ||
"${BITRISE_SOURCE_DIR}/Blockzilla.xcodeproj" \ | ||
"${BITRISE_SOURCE_DIR}/focus-ios/Blockzilla.xcodeproj" \ | ||
"$BITRISE_SOURCE_DIR/DerivedData/Build/Products/FocusDebug-iphonesimulator/Firefox\ Focus.app" \ | ||
"$BITRISE_SOURCE_DIR/DerivedData/Build/Products/FocusDebug-iphonesimulator/XCUITest-Runner.app" \ | ||
"$BITRISE_SOURCE_DIR/DerivedData/Build/Products/Focus_FullFunctionalTests_iphonesimulator17.0-arm64.xctestrun" \ | ||
"$BITRISE_SOURCE_DIR/DerivedData/Build/Products/Focus_SmokeTest_iphonesimulator17.0-arm64.xctestrun" \ | ||
"$BITRISE_SOURCE_DIR/DerivedData/Build/Products/Focus_UnitTests_iphonesimulator17.0-arm64.xctestrun" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/SmokeTest.xctestplan" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/FullFunctionalTests.xctestplan" \ | ||
"$BITRISE_SOURCE_DIR/xcodebuild.log" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/focus-ios-tests/SmokeTest.xctestplan" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/focus-ios-tests/FullFunctionalTests.xctestplan" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/xcodebuild.log" \ | ||
"$BITRISE_SOURCE_DIR/DerivedData/Build/Products/FocusDebug-iphonesimulator/" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/UnitTests.xctestplan" \ | ||
"$BITRISE_SOURCE_DIR/Blockzilla/" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/XCUITest" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/ClientTests" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/focus-ios-tests/UnitTests.xctestplan" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/Blockzilla/" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/focus-ios-tests/XCUITest" \ | ||
"$BITRISE_SOURCE_DIR/focus-ios/focus-ios-tests/ClientTests" \ | ||
"$BITRISE_SOURCE_DIR/DerivedData/Build/Products/KlarDebug-iphonesimulator/Firefox\ Klar.app" \ | ||
"$BITRISE_SOURCE_DIR/DerivedData/Build/Products/KlarDebug-iphonesimulator/XCUITest-Runner.app" \ | ||
"$BITRISE_SOURCE_DIR/DerivedData/Build/Products/Klar_FullFunctionalTests_iphonesimulator17.0-arm64.xctestrun" \ | ||
|
@@ -165,9 +165,9 @@ workflows: | |
- content: | | ||
#!/usr/bin/env bash | ||
set -ex | ||
ls ./Users/vagrant/git/focus-ios/XCUITest/ | ||
ls ./Users/vagrant/git/focus-ios/focus-ios-tests/XCUITest/ | ||
ls ./Users/vagrant/git/DerivedData/Build/Products | ||
cp -r ./Users/vagrant/git/focus-ios/XCUITest/* . | ||
cp -r ./Users/vagrant/git/focus-ios/focus-ios-tests/XCUITest/* . | ||
mv ./Users/vagrant/git/* . | ||
ls -la | ||
echo "-- test-without-building --" | ||
|
@@ -215,8 +215,8 @@ workflows: | |
- content: | | ||
#!/usr/bin/env bash | ||
set -ex | ||
ls ./Users/vagrant/git/Blockzilla.xcodeproj/ | ||
cp -r ./Users/vagrant/git/Blockzilla.xcodeproj/* . | ||
ls ./Users/vagrant/git/focus-ios/Blockzilla.xcodeproj/ | ||
cp -r ./Users/vagrant/git/focus-ios/Blockzilla.xcodeproj/* . | ||
mv ./Users/vagrant/git/* . | ||
ls -la | ||
echo "-- test-without-building --" | ||
|
@@ -260,8 +260,8 @@ workflows: | |
- content: | | ||
#!/usr/bin/env bash | ||
set -ex | ||
ls ./Users/vagrant/git/Blockzilla.xcodeproj/ | ||
cp -r ./Users/vagrant/git/Blockzilla.xcodeproj/* . | ||
ls ./Users/vagrant/git/focus-ios/Blockzilla.xcodeproj/ | ||
cp -r ./Users/vagrant/git/focus-ios/Blockzilla.xcodeproj/* . | ||
mv ./Users/vagrant/git/* . | ||
ls -la | ||
echo "-- test-without-building --" | ||
|
@@ -307,22 +307,22 @@ workflows: | |
- set-xcode-build-number@1: | ||
inputs: | ||
- build_version_offset: '3250' | ||
- plist_path: Blockzilla/Info.plist | ||
- plist_path: focus-ios/Blockzilla/Info.plist | ||
title: Set Blockzilla version numbers | ||
- set-xcode-build-number@1: | ||
inputs: | ||
- build_version_offset: '3250' | ||
- plist_path: ContentBlocker/Info.plist | ||
- plist_path: focus-ios/ContentBlocker/Info.plist | ||
title: Set ContentBlocker version numbers | ||
- set-xcode-build-number@1: | ||
inputs: | ||
- build_version_offset: '3250' | ||
- plist_path: FocusIntentExtension/Info.plist | ||
- plist_path: focus-ios/FocusIntentExtension/Info.plist | ||
title: Set FocusIntentExtension version numbers | ||
- set-xcode-build-number@1: | ||
inputs: | ||
- build_version_offset: '3250' | ||
- plist_path: OpenInFocus/Info.plist | ||
- plist_path: focus-ios/OpenInFocus/Info.plist | ||
title: Set OpenInFocus version numbers | ||
meta: | ||
bitrise.io: | ||
|
@@ -337,10 +337,10 @@ workflows: | |
- content: |- | ||
#!/usr/bin/env bash | ||
set -x | ||
/usr/libexec/PlistBuddy -c "Add :NimbusServerURL string ${NIMBUS_SERVER_URL}" Blockzilla/Info.plist | ||
/usr/libexec/PlistBuddy -c "Add :NimbusStagingServerURL string ${NIMBUS_STAGING_SERVER_URL}" Blockzilla/Info.plist | ||
/usr/libexec/PlistBuddy -c "Set :NimbusAppName ${NIMBUS_APP_NAME}" Blockzilla/Info.plist | ||
/usr/libexec/PlistBuddy -c "Set :NimbusAppChannel ${NIMBUS_APP_CHANNEL}" Blockzilla/Info.plist | ||
/usr/libexec/PlistBuddy -c "Add :NimbusServerURL string ${NIMBUS_SERVER_URL}" focus-ios/Blockzilla/Info.plist | ||
/usr/libexec/PlistBuddy -c "Add :NimbusStagingServerURL string ${NIMBUS_STAGING_SERVER_URL}" focus-ios/Blockzilla/Info.plist | ||
/usr/libexec/PlistBuddy -c "Set :NimbusAppName ${NIMBUS_APP_NAME}" focus-ios/Blockzilla/Info.plist | ||
/usr/libexec/PlistBuddy -c "Set :NimbusAppChannel ${NIMBUS_APP_CHANNEL}" focus-ios/Blockzilla/Info.plist | ||
meta: | ||
bitrise.io: | ||
stack: osx-xcode-15.0.x | ||
|
@@ -354,7 +354,7 @@ workflows: | |
- content: |- | ||
#!/usr/bin/env bash | ||
set -x | ||
/usr/libexec/PlistBuddy -c "Add :SentryDSN string ${SENTRY_DSN}" Blockzilla/Info.plist | ||
/usr/libexec/PlistBuddy -c "Add :SentryDSN string ${SENTRY_DSN}" focus-ios/Blockzilla/Info.plist | ||
meta: | ||
bitrise.io: | ||
stack: osx-xcode-15.0.x | ||
|
@@ -368,8 +368,8 @@ workflows: | |
- content: |- | ||
#!/usr/bin/env bash | ||
set -x | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" Focus.entitlements | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" Klar.entitlements | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" focus-ios/Focus.entitlements | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" focus-ios/Klar.entitlements | ||
meta: | ||
bitrise.io: | ||
stack: osx-xcode-15.0.x | ||
|
@@ -380,6 +380,7 @@ workflows: | |
- certificate-and-profile-installer@1: {} | ||
- xcode-archive@3: | ||
inputs: | ||
- project_path: focus-ios/Blockzilla.xcodeproj | ||
- scheme: Focus | ||
- team_id: 43AQ936H96 | ||
- export_method: app-store | ||
|
@@ -399,6 +400,7 @@ workflows: | |
--org mozilla --project focus-ios "$BITRISE_DSYM_DIR_PATH" | ||
- xcode-archive@3: | ||
inputs: | ||
- project_path: focus-ios/Blockzilla.xcodeproj | ||
- scheme: Klar | ||
- export_method: app-store | ||
title: Build Klar | ||
|
@@ -439,8 +441,8 @@ workflows: | |
- content: |- | ||
#!/usr/bin/env bash | ||
set -x | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" Focus.entitlements | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" Klar.entitlements | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" focus-ios/Focus.entitlements | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" focus-ios/Klar.entitlements | ||
- script@1: | ||
inputs: | ||
- content: >- | ||
|
@@ -475,7 +477,7 @@ workflows: | |
set -x | ||
# workaround until 2.187 version is installed. Error with 2.186 | ||
./focus-ios/l10n-screenshots.sh --test-without-building $MOZ_LOCALES | ||
./focus-ios/focus-ios-tests/l10n-screenshots.sh --test-without-building $MOZ_LOCALES | ||
mkdir -p artifacts | ||
for locale in $(echo $MOZ_LOCALES); do | ||
|
@@ -509,8 +511,8 @@ workflows: | |
- content: |- | ||
#!/usr/bin/env bash | ||
set -x | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" Focus.entitlements | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" Klar.entitlements | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" focus-ios/Focus.entitlements | ||
/usr/libexec/PlistBuddy -c "Add :com.apple.developer.web-browser bool true" focus-ios/Klar.entitlements | ||
- script@1: | ||
title: Generate screenshots | ||
inputs: | ||
|
@@ -519,7 +521,7 @@ workflows: | |
set -x | ||
# workaround until 2.187 version is installed. Error with 2.186 | ||
./focus-ios/l10n-screenshots.sh en-US | ||
./focus-ios/focus-ios-tests/l10n-screenshots.sh en-US | ||
- [email protected]: | ||
inputs: | ||
- deploy_path: l10n-screenshots-dd/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.