Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d381418
fix: cron job migration to SPM QS
ncooke3 Nov 25, 2025
5e78c38
Update .github/workflows/abtesting.yml
ncooke3 Nov 25, 2025
686217a
Update .github/workflows/installations.yml
ncooke3 Nov 25, 2025
fa74c0c
Update .github/workflows/performance.yml
ncooke3 Nov 25, 2025
e9aad7d
Update .github/workflows/storage.yml
ncooke3 Nov 25, 2025
0874778
Update .github/workflows/crashlytics.yml
ncooke3 Nov 25, 2025
71fa906
comment out
ncooke3 Nov 25, 2025
fd3db2d
Apply suggestion from @ncooke3
ncooke3 Nov 25, 2025
78533b1
syntax fixes
ncooke3 Nov 25, 2025
ff3cdc8
disable more
ncooke3 Nov 25, 2025
18b4ecc
debug workflows
ncooke3 Nov 25, 2025
54d818c
install xcpretty
ncooke3 Nov 25, 2025
eede435
work
ncooke3 Nov 25, 2025
f4d7481
fix installations
ncooke3 Nov 25, 2025
cb811a3
fix: abtesting cron
ncooke3 Nov 25, 2025
8db776c
Apply suggestion from @ncooke3
ncooke3 Nov 25, 2025
ac580e2
checkout main of files moved
ncooke3 Nov 25, 2025
a08c448
Apply suggestion from @ncooke3
ncooke3 Nov 25, 2025
518a334
Apply suggestion from @ncooke3
ncooke3 Nov 26, 2025
6aa7fad
install xcpretty
ncooke3 Nov 26, 2025
221164a
fix: performance cron (#15537)
ncooke3 Nov 25, 2025
d14eea3
[Performance] Fix build warning (#15538)
paulb777 Nov 25, 2025
75284d2
fix: fail scheduled builds if pinned run is set (#15543)
ncooke3 Nov 25, 2025
5d83cca
fix: abtesting cron (#15542)
ncooke3 Nov 25, 2025
cfe1706
fix: installations cron (#15541)
ncooke3 Nov 25, 2025
6dcfaf3
refactor: add .github/workflows/common_quickstart_framework.yml (#15540)
ncooke3 Nov 25, 2025
313ed5e
[Infra] Build with Xcode 26.1 (#15544)
paulb777 Nov 25, 2025
795e388
revertable: performance
ncooke3 Nov 26, 2025
6123787
revert?
ncooke3 Nov 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 29 additions & 28 deletions .github/workflows/abtesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,33 +24,34 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
spm:
uses: ./.github/workflows/common.yml
with:
target: ABTestingUnit

catalyst:
uses: ./.github/workflows/common_catalyst.yml
with:
product: FirebaseABTesting
target: FirebaseABTesting-Unit-unit

pod_lib_lint:
uses: ./.github/workflows/common_cocoapods.yml
with:
product: FirebaseABTesting

quickstart:
uses: ./.github/workflows/common_quickstart.yml
with:
product: ABTesting
setup_command: scripts/setup_quickstart_spm.sh abtesting
plist_src_path: scripts/gha-encrypted/qs-abtesting.plist.gpg
plist_dst_path: quickstart-ios/abtesting/GoogleService-Info.plist
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
#jobs:
# spm:
# uses: ./.github/workflows/common.yml
# with:
# target: ABTestingUnit
#
# catalyst:
# uses: ./.github/workflows/common_catalyst.yml
# with:
# product: FirebaseABTesting
# target: FirebaseABTesting-Unit-unit
#
# pod_lib_lint:
# uses: ./.github/workflows/common_cocoapods.yml
# with:
# product: FirebaseABTesting
#
# quickstart:
# uses: ./.github/workflows/common_quickstart.yml
# with:
# product: ABTesting
# setup_command: scripts/setup_quickstart_spm.sh abtesting
# plist_src_path: scripts/gha-encrypted/qs-abtesting.plist.gpg
# plist_dst_path: quickstart-ios/abtesting/GoogleService-Info.plist
# secrets:
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

jobs:
quickstart-ftl-cron-only:
# Don't run on private repo.
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
Expand All @@ -65,7 +66,7 @@ jobs:
with:
python-version: '3.11'
- name: Setup quickstart
run: scripts/setup_quickstart.sh abtesting
run: scripts/setup_quickstart_spm.sh abtesting
- name: Install Secret GoogleService-Info.plist
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-abtesting.plist.gpg \
quickstart-ios/abtesting/GoogleService-Info.plist "$plist_secret"
Expand All @@ -80,7 +81,7 @@ jobs:
testapp_dir: quickstart-ios/build-for-testing
test_type: "xctest"

abtesting-cron-only:
abtesting-cron-only:
needs: pod_lib_lint
uses: ./.github/workflows/common_cocoapods_cron.yml
with:
Expand Down
59 changes: 30 additions & 29 deletions .github/workflows/crashlytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,35 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
spm:
uses: ./.github/workflows/common.yml
with:
target: FirebaseCrashlyticsUnit

catalyst:
uses: ./.github/workflows/common_catalyst.yml
with:
product: FirebaseCrashlytics
target: FirebaseCrashlytics-Unit-unit

pod_lib_lint:
uses: ./.github/workflows/common_cocoapods.yml
with:
product: FirebaseCrashlytics
buildonly_platforms: tvOS, macOS, watchOS

quickstart:
uses: ./.github/workflows/common_quickstart.yml
with:
product: Crashlytics
setup_command: scripts/setup_quickstart_spm.sh crashlytics
plist_src_path: scripts/gha-encrypted/qs-crashlytics.plist.gpg
plist_dst_path: quickstart-ios/crashlytics/GoogleService-Info.plist
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
#jobs:
# spm:
# uses: ./.github/workflows/common.yml
# with:
# target: FirebaseCrashlyticsUnit
#
# catalyst:
# uses: ./.github/workflows/common_catalyst.yml
# with:
# product: FirebaseCrashlytics
# target: FirebaseCrashlytics-Unit-unit
#
# pod_lib_lint:
# uses: ./.github/workflows/common_cocoapods.yml
# with:
# product: FirebaseCrashlytics
# buildonly_platforms: tvOS, macOS, watchOS
#
# quickstart:
# uses: ./.github/workflows/common_quickstart.yml
# with:
# product: Crashlytics
# setup_command: scripts/setup_quickstart_spm.sh crashlytics
# plist_src_path: scripts/gha-encrypted/qs-crashlytics.plist.gpg
# plist_dst_path: quickstart-ios/crashlytics/GoogleService-Info.plist
# secrets:
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

jobs:
quickstart-ftl-cron-only:
# Don't run on private repo.
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
Expand All @@ -69,12 +70,12 @@ jobs:
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
- name: Setup quickstart
run: scripts/setup_quickstart.sh crashlytics
run: scripts/setup_quickstart_spm.sh crashlytics
- name: Install Secret GoogleService-Info.plist
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-crashlytics.plist.gpg \
quickstart-ios/crashlytics/GoogleService-Info.plist "$plist_secret"
- name: Build swift quickstart
run: |
run: |
([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh Crashlytics swift)
- id: ftl_test
uses: FirebaseExtended/github-actions/[email protected]
Expand Down
73 changes: 37 additions & 36 deletions .github/workflows/installations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,42 +23,43 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
spm:
uses: ./.github/workflows/common.yml
with:
target: FirebaseInstallations
buildonly_platforms: all

catalyst:
uses: ./.github/workflows/common_catalyst.yml
with:
product: FirebaseInstallations
target: FirebaseInstallations-Unit-unit

pod_lib_lint:
uses: ./.github/workflows/common_cocoapods.yml
with:
product: FirebaseInstallations
setup_command: |
scripts/configure_test_keychain.sh
mkdir -p FirebaseInstallations/Source/Tests/Resources
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg \
FirebaseInstallations/Source/Tests/Resources/GoogleService-Info.plist "$plist_secret"
echo "FIS_INTEGRATION_TESTS_REQUIRED=1" >> $GITHUB_ENV
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

quickstart:
uses: ./.github/workflows/common_quickstart.yml
with:
product: Installations
setup_command: scripts/setup_quickstart_spm.sh installations
plist_src_path: scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg
plist_dst_path: quickstart-ios/installations/GoogleService-Info.plist
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
#jobs:
# spm:
# uses: ./.github/workflows/common.yml
# with:
# target: FirebaseInstallations
# buildonly_platforms: all
#
# catalyst:
# uses: ./.github/workflows/common_catalyst.yml
# with:
# product: FirebaseInstallations
# target: FirebaseInstallations-Unit-unit
#
# pod_lib_lint:
# uses: ./.github/workflows/common_cocoapods.yml
# with:
# product: FirebaseInstallations
# setup_command: |
# scripts/configure_test_keychain.sh
# mkdir -p FirebaseInstallations/Source/Tests/Resources
# scripts/decrypt_gha_secret.sh scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg \
# FirebaseInstallations/Source/Tests/Resources/GoogleService-Info.plist "$plist_secret"
# echo "FIS_INTEGRATION_TESTS_REQUIRED=1" >> $GITHUB_ENV
# secrets:
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
#
# quickstart:
# uses: ./.github/workflows/common_quickstart.yml
# with:
# product: Installations
# setup_command: scripts/setup_quickstart_spm.sh installations
# plist_src_path: scripts/gha-encrypted/Installations/GoogleService-Info.plist.gpg
# plist_dst_path: quickstart-ios/installations/GoogleService-Info.plist
# secrets:
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

jobs:
quickstart-ftl-cron-only:
# Don't run on private repo.
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'
Expand All @@ -73,7 +74,7 @@ jobs:
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
- name: Setup quickstart
run: scripts/setup_quickstart.sh installations
run: scripts/setup_quickstart_spm.sh installations
- name: Copy mock plist
run: cp quickstart-ios/mock-GoogleService-Info.plist quickstart-ios/installations/GoogleService-Info.plist
- name: Build objc quickstart
Expand Down
113 changes: 57 additions & 56 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,62 +32,63 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
spm:
uses: ./.github/workflows/common.yml
with:
target: PerformanceUnit
platforms: iOS, tvOS

catalyst:
uses: ./.github/workflows/common_catalyst.yml
with:
product: FirebasePerformance
target:
buildonly: true

# Build and run the unit tests for Firebase performance SDK.
performance:
# Don't run on private repo unless it is a PR.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
runs-on: macos-15
strategy:
matrix:
target: [iOS, tvOS]
test: [unit, proddev]
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
with:
cache_key: ${{ matrix.target }}${{ matrix.test }}
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: Install xcpretty
run: gem install xcpretty
- name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
run: scripts/third_party/travis/retry.sh scripts/build.sh Performance ${{ matrix.target }} ${{ matrix.test }}

pod_lib_lint:
uses: ./.github/workflows/common_cocoapods.yml
with:
product: FirebasePerformance
platforms: iOS, tvOS
#TODO: tests are not supported with Xcode 15 because the test spec depends on the iOS 8 GDCWebServer
buildonly_platforms: iOS, tvOS

quickstart:
uses: ./.github/workflows/common_quickstart.yml
with:
product: Performance
setup_command: scripts/setup_quickstart_spm.sh performance
plist_src_path: scripts/gha-encrypted/qs-performance.plist.gpg
plist_dst_path: quickstart-ios/performance/GoogleService-Info.plist
secrets:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
#jobs:
# spm:
# uses: ./.github/workflows/common.yml
# with:
# target: PerformanceUnit
# platforms: iOS, tvOS
#
# catalyst:
# uses: ./.github/workflows/common_catalyst.yml
# with:
# product: FirebasePerformance
# target:
# buildonly: true
#
# # Build and run the unit tests for Firebase performance SDK.
# performance:
# # Don't run on private repo unless it is a PR.
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
# runs-on: macos-15
# strategy:
# matrix:
# target: [iOS, tvOS]
# test: [unit, proddev]
# steps:
# - uses: actions/checkout@v4
# - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
# with:
# cache_key: ${{ matrix.target }}${{ matrix.test }}
# - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
# - name: Xcode
# run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
# - name: Setup Bundler
# run: scripts/setup_bundler.sh
# - name: Install xcpretty
# run: gem install xcpretty
# - name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
# run: scripts/third_party/travis/retry.sh scripts/build.sh Performance ${{ matrix.target }} ${{ matrix.test }}
#
# pod_lib_lint:
# uses: ./.github/workflows/common_cocoapods.yml
# with:
# product: FirebasePerformance
# platforms: iOS, tvOS
# #TODO: tests are not supported with Xcode 15 because the test spec depends on the iOS 8 GDCWebServer
# buildonly_platforms: iOS, tvOS
#
# quickstart:
# uses: ./.github/workflows/common_quickstart.yml
# with:
# product: Performance
# setup_command: scripts/setup_quickstart_spm.sh performance
# plist_src_path: scripts/gha-encrypted/qs-performance.plist.gpg
# plist_dst_path: quickstart-ios/performance/GoogleService-info.plist
# secrets:
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

jobs:
quickstart-ftl-cron-only:
if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule'

Expand All @@ -103,7 +104,7 @@ jobs:
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
- name: Setup quickstart
run: scripts/setup_quickstart.sh performance
run: scripts/setup_quickstart_spm.sh performance
- name: Install Secret GoogleService-Info.plist
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-performance.plist.gpg \
quickstart-ios/performance/GoogleService-Info.plist "$plist_secret"
Expand Down
Loading
Loading