Skip to content

Commit 197c28c

Browse files
authored
[Infra] Embed frameworks during quickstart testing
1 parent c9d013b commit 197c28c

File tree

2 files changed

+36
-11
lines changed

2 files changed

+36
-11
lines changed

.github/workflows/zip.yml

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,16 @@ jobs:
8888
- uses: actions/upload-artifact@v4
8989
with:
9090
name: Firebase-actions-dir
91+
github-token: '${{ secrets.GITHUB_TOKEN }}'
92+
run-id: 8787079219
9193
# Zip the entire output directory since the builder adds subdirectories we don't know the
9294
# name of.
9395
path: zip_output_dir
9496

9597
quickstart_framework_abtesting:
9698
# Don't run on private repo.
9799
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
98-
needs: package-head
100+
# needs: package-head
99101
env:
100102
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
101103
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -115,6 +117,8 @@ jobs:
115117
uses: actions/download-artifact@v4
116118
with:
117119
name: Firebase-actions-dir
120+
github-token: '${{ secrets.GITHUB_TOKEN }}'
121+
run-id: 8787079219
118122
- uses: ruby/setup-ruby@v1
119123
- name: Setup Bundler
120124
run: ./scripts/setup_bundler.sh
@@ -156,7 +160,7 @@ jobs:
156160
quickstart_framework_auth:
157161
# Don't run on private repo.
158162
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
159-
needs: package-head
163+
# needs: package-head
160164
env:
161165
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
162166
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -176,6 +180,8 @@ jobs:
176180
uses: actions/download-artifact@v4
177181
with:
178182
name: Firebase-actions-dir
183+
github-token: '${{ secrets.GITHUB_TOKEN }}'
184+
run-id: 8787079219
179185
- uses: ruby/setup-ruby@v1
180186
- name: Setup Bundler
181187
run: ./scripts/setup_bundler.sh
@@ -209,7 +215,7 @@ jobs:
209215
quickstart_framework_config:
210216
# Don't run on private repo.
211217
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
212-
needs: package-head
218+
# needs: package-head
213219
env:
214220
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
215221
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -229,6 +235,8 @@ jobs:
229235
uses: actions/download-artifact@v4
230236
with:
231237
name: Firebase-actions-dir
238+
github-token: '${{ secrets.GITHUB_TOKEN }}'
239+
run-id: 8787079219
232240
- uses: ruby/setup-ruby@v1
233241
- name: Setup Bundler
234242
run: ./scripts/setup_bundler.sh
@@ -260,7 +268,7 @@ jobs:
260268
quickstart_framework_crashlytics:
261269
# Don't run on private repo.
262270
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
263-
needs: package-head
271+
# needs: package-head
264272
env:
265273
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
266274
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -280,6 +288,8 @@ jobs:
280288
uses: actions/download-artifact@v4
281289
with:
282290
name: Firebase-actions-dir
291+
github-token: '${{ secrets.GITHUB_TOKEN }}'
292+
run-id: 8787079219
283293
- uses: ruby/setup-ruby@v1
284294
- name: Setup Bundler
285295
run: ./scripts/setup_bundler.sh
@@ -334,7 +344,7 @@ jobs:
334344
quickstart_framework_database:
335345
# Don't run on private repo.
336346
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
337-
needs: package-head
347+
# needs: package-head
338348
env:
339349
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
340350
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -353,6 +363,8 @@ jobs:
353363
uses: actions/download-artifact@v4
354364
with:
355365
name: Firebase-actions-dir
366+
github-token: '${{ secrets.GITHUB_TOKEN }}'
367+
run-id: 8787079219
356368
- uses: ruby/setup-ruby@v1
357369
- name: Setup Bundler
358370
run: ./scripts/setup_bundler.sh
@@ -388,7 +400,7 @@ jobs:
388400
quickstart_framework_dynamiclinks:
389401
# Don't run on private repo.
390402
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
391-
needs: package-head
403+
# needs: package-head
392404
env:
393405
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
394406
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -408,6 +420,8 @@ jobs:
408420
uses: actions/download-artifact@v4
409421
with:
410422
name: Firebase-actions-dir
423+
github-token: '${{ secrets.GITHUB_TOKEN }}'
424+
run-id: 8787079219
411425
- uses: ruby/setup-ruby@v1
412426
- name: Setup Bundler
413427
run: ./scripts/setup_bundler.sh
@@ -447,7 +461,7 @@ jobs:
447461
# quickstart_framework_firestore:
448462
# # Don't run on private repo.
449463
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
450-
# needs: package-head
464+
# # needs: package-head
451465
# env:
452466
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
453467
# signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -464,6 +478,8 @@ jobs:
464478
# uses: actions/download-artifact@v4
465479
# with:
466480
# name: Firebase-actions-dir
481+
# github-token: '${{ secrets.GITHUB_TOKEN }}'
482+
# run-id: 8787079219
467483
# - uses: ruby/setup-ruby@v1
468484
# - name: Setup Bundler
469485
# run: ./scripts/setup_bundler.sh
@@ -497,7 +513,7 @@ jobs:
497513
check_framework_firestore_symbols:
498514
# Don't run on private repo.
499515
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
500-
needs: package-head
516+
# needs: package-head
501517
env:
502518
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
503519
runs-on: macos-13
@@ -509,6 +525,8 @@ jobs:
509525
uses: actions/download-artifact@v4
510526
with:
511527
name: Firebase-actions-dir
528+
github-token: '${{ secrets.GITHUB_TOKEN }}'
529+
run-id: 8787079219
512530
- uses: ruby/setup-ruby@v1
513531
- name: Setup Bundler
514532
run: ./scripts/setup_bundler.sh
@@ -528,7 +546,7 @@ jobs:
528546
quickstart_framework_inappmessaging:
529547
# Don't run on private repo.
530548
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
531-
needs: package-head
549+
# needs: package-head
532550
env:
533551
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
534552
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -548,6 +566,8 @@ jobs:
548566
uses: actions/download-artifact@v4
549567
with:
550568
name: Firebase-actions-dir
569+
github-token: '${{ secrets.GITHUB_TOKEN }}'
570+
run-id: 8787079219
551571
- uses: ruby/setup-ruby@v1
552572
- name: Setup Bundler
553573
run: ./scripts/setup_bundler.sh
@@ -584,7 +604,7 @@ jobs:
584604
quickstart_framework_messaging:
585605
# Don't run on private repo.
586606
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
587-
needs: package-head
607+
# needs: package-head
588608
env:
589609
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
590610
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -604,6 +624,8 @@ jobs:
604624
uses: actions/download-artifact@v4
605625
with:
606626
name: Firebase-actions-dir
627+
github-token: '${{ secrets.GITHUB_TOKEN }}'
628+
run-id: 8787079219
607629
- uses: ruby/setup-ruby@v1
608630
- name: Setup Bundler
609631
run: ./scripts/setup_bundler.sh
@@ -639,7 +661,7 @@ jobs:
639661
quickstart_framework_storage:
640662
# Don't run on private repo.
641663
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
642-
needs: package-head
664+
# needs: package-head
643665
env:
644666
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
645667
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -659,6 +681,8 @@ jobs:
659681
uses: actions/download-artifact@v4
660682
with:
661683
name: Firebase-actions-dir
684+
github-token: '${{ secrets.GITHUB_TOKEN }}'
685+
run-id: 8787079219
662686
- uses: ruby/setup-ruby@v1
663687
- name: Setup Bundler
664688
run: ./scripts/setup_bundler.sh

scripts/setup_quickstart.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ if check_secrets || [[ ${SAMPLE} == "installations" ]]; then
4949
export FIREBASE_POD_REPO_FOR_DEV_POD=`pwd`
5050

5151
git clone https://github.com/firebase/quickstart-ios.git
52+
git checkout nc/phase
5253

5354
$scripts_dir/localize_podfile.swift "$WORKSPACE_DIR"/Podfile "$RELEASE_TESTING"
5455
if [ "$RELEASE_TESTING" == "nightly_release_testing" ]; then

0 commit comments

Comments
 (0)