Skip to content

Commit

Permalink
Revert "Merge branch 'update-password' of https://github.com/firebase…
Browse files Browse the repository at this point in the history
…/firebase-ios-sdk into add-linkedin"

This reverts commit c5ff4dd, reversing
changes made to 8111a79.
  • Loading branch information
pragatimodi committed Apr 15, 2024
1 parent c5ff4dd commit b12a766
Show file tree
Hide file tree
Showing 440 changed files with 6,635 additions and 15,570 deletions.
33 changes: 10 additions & 23 deletions .github/workflows/abtesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -38,13 +38,10 @@ jobs:
run: scripts/setup_bundler.sh
- name: Xcode
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/pod_lib_lint.rb FirebaseABTesting.podspec --platforms=${{ matrix.target }}
- name: Build and test
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseABTesting.podspec \
--platforms=${{ matrix.target }}
spm:
# Don't run on private repo unless it is a PR.
Expand All @@ -57,7 +54,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -68,13 +65,8 @@ jobs:
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Initialize xcodebuild
run: scripts/setup_spm_tests.sh
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/build.sh ABTestingUnit ${{ matrix.target }} spm
- name: Unit Tests
run: scripts/third_party/travis/retry.sh ./scripts/build.sh ABTestingUnit ${{ matrix.target }} spm

catalyst:
# Don't run on private repo unless it is a PR.
Expand All @@ -89,13 +81,8 @@ jobs:
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: scripts/setup_bundler.sh
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/test_catalyst.sh FirebaseABTesting test FirebaseABTesting-Unit-unit
- name: Setup project and Build for Catalyst
run: scripts/test_catalyst.sh FirebaseABTesting test FirebaseABTesting-Unit-unit

quickstart:
# Don't run on private repo unless it is a PR.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api_diff_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
--commit $GITHUB_SHA \
--run_id ${{github.run_id}}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
if: ${{ !cancelled() }}
with:
name: api_info_and_report
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/appdistribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -52,7 +52,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
60 changes: 19 additions & 41 deletions .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
xcode: Xcode_14.2
tests: --skip-tests
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
tests:
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -45,22 +45,20 @@ jobs:
run: scripts/configure_test_keychain.sh
- name: Xcode
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
#TODO: Restore warnings check after resolution of #11693
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} ${{ matrix.tests }} --allow-warnings
- name: Build and test
# TODO: Restore warnings check after resolution of #11693
# run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }}
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} \
${{ matrix.tests }} --allow-warnings
integration-tests:
# 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'

env:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
runs-on: macos-13
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
Expand All @@ -87,15 +85,9 @@ jobs:
FirebaseAuth/Tests/SampleSwift/Sample.entitlements "$plist_secret"
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Credentials.swift.gpg \
FirebaseAuth/Tests/SampleSwift/SwiftApiTests/Credentials.swift "$plist_secret"
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: ([ -z $plist_secret ] || scripts/build.sh Auth iOS)
- name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh Auth iOS)

spm:
# Don't run on private repo unless it is a PR.
Expand All @@ -109,7 +101,7 @@ jobs:
xcode: Xcode_14.2
test: spm
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
test: spmbuildonly
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -121,13 +113,8 @@ jobs:
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Initialize xcodebuild
run: scripts/setup_spm_tests.sh
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/third_party/travis/retry.sh ./scripts/build.sh AuthUnit ${{ matrix.target }} ${{ matrix.test }}
- name: Unit Tests
run: scripts/third_party/travis/retry.sh ./scripts/build.sh AuthUnit ${{ matrix.target }} ${{ matrix.test }}

catalyst:
# Don't run on private repo unless it is a PR.
Expand All @@ -141,13 +128,9 @@ jobs:
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: scripts/setup_bundler.sh
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/test_catalyst.sh FirebaseAuth build FirebaseAuth-Unit-unit
- name: Setup project and Build for Catalyst
# Only build the unit tests on Catalyst. Their keychain reliance causes several failures.
run: scripts/test_catalyst.sh FirebaseAuth build FirebaseAuth-Unit-unit

quickstart:
# Don't run on private repo unless it is a PR.
Expand Down Expand Up @@ -214,10 +197,5 @@ jobs:
run: scripts/setup_bundler.sh
- name: Configure test keychain
run: scripts/configure_test_keychain.sh
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
- name: PodLibLint Auth Cron
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
4 changes: 2 additions & 2 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -50,7 +50,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/core_internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -46,7 +46,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
34 changes: 11 additions & 23 deletions .github/workflows/crashlytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
xcode: Xcode_14.2
tests: --skip-tests
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
tests:
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -41,13 +41,10 @@ jobs:
run: scripts/setup_bundler.sh
- name: Xcode
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/pod_lib_lint.rb FirebaseCrashlytics.podspec --platforms=${{ matrix.target }} ${{ matrix.tests }}
- name: Build and test
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseCrashlytics.podspec --platforms=${{ matrix.target }} \
${{ matrix.tests }}
spm:
# Don't run on private repo unless it is a PR.
Expand All @@ -60,7 +57,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -71,13 +68,9 @@ jobs:
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Initialize xcodebuild
run: scripts/setup_spm_tests.sh
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseCrashlyticsUnit ${{ matrix.target }} spm
- name: Unit Tests
run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseCrashlyticsUnit ${{ matrix.target }} spm


catalyst:
# Don't run on private repo unless it is a PR.
Expand All @@ -92,13 +85,8 @@ jobs:
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: scripts/setup_bundler.sh
- uses: nick-fields/retry@v3
with:
timeout_minutes: 120
max_attempts: 3
retry_on: error
retry_wait_seconds: 120
command: scripts/test_catalyst.sh FirebaseCrashlytics test FirebaseCrashlytics-Unit-unit
- name: Setup project and Build for Catalyst
run: scripts/test_catalyst.sh FirebaseCrashlytics test FirebaseCrashlytics-Unit-unit

quickstart:
# Don't run on private repo unless it is a PR.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
xcode: Xcode_14.2
tests: --skip-tests
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
tests: --test-specs=unit
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dynamiclinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -49,7 +49,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/firebase_app_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseAppCheckUnit iOS spm ${{ matrix.diagnostic }}
- name: Upload raw logs if failed
if: ${{ failure() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v2
with:
name: failure-xcodebuild-raw-logs
path: xcodebuild.log
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
xcode: Xcode_15.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
Loading

0 comments on commit b12a766

Please sign in to comment.